diff options
| author | winter | 2025-01-27 19:45:39 +0000 |
|---|---|---|
| committer | winter | 2025-01-27 19:45:39 +0000 |
| commit | 5a6300f473b8be0e90a16e2b5992299b0ea1ddff (patch) | |
| tree | 844d3422a1c9575a4cecd56f32c1c7eba0358efd /static/popup-menu.css | |
| parent | 9d59fd65b70b5b7588e4786f52f9cff1c3807426 (diff) | |
context menus and note deletion
Diffstat (limited to 'static/popup-menu.css')
| -rw-r--r-- | static/popup-menu.css | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/static/popup-menu.css b/static/popup-menu.css new file mode 100644 index 0000000..e0ec6c9 --- /dev/null +++ b/static/popup-menu.css @@ -0,0 +1,38 @@ +.menuButton { + display: flex; + &:not(:has(li)) { + display: none; + } +} + +ul.popupMenu { + position: absolute; + border: var(--border); + border-radius: var(--border-radius); + background: var(--clr-panel-background); + z-index: 10; + box-shadow: var(--overlay-shadow); + list-style: none; + margin: 0; + padding: 0; + + li > * { + padding: var(--spacing-single); + display: grid; + grid-template-columns: var(--icon-size) auto; + gap: var(--spacing-single); + align-items: center; + + border: none; + background: none; + font-family: inherit; + font-size: var(--font-normal-size) !important; + color: var(--clr-foreground) !important; + width: max-content !important; + text-decoration: none; + cursor: pointer; + } + li:not(:last-child) { + border-bottom: var(--border); + } +} |
