diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-02 12:32:22 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-02 12:32:22 +0300 |
| commit | e898357da954acb561a0a88b4443da52f774ce36 (patch) | |
| tree | 15bf2dad7297010f0b3623dd7740527f0c51f882 /web/css/components.css | |
| parent | 23d017ff90abfe7aeea7fb43619d7469e3ec0c2a (diff) | |
feat: secure shares with keyboard-first My Shares modal (hotkeys S/L)
Diffstat (limited to 'web/css/components.css')
| -rw-r--r-- | web/css/components.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/web/css/components.css b/web/css/components.css index d1ee759..f81fecf 100644 --- a/web/css/components.css +++ b/web/css/components.css @@ -140,3 +140,26 @@ label { .toast.info { border-left: 4px solid var(--accent); } .toast.success { border-left: 4px solid var(--success); } .toast.error { border-left: 4px solid var(--danger); } + +/* Share rows */ +.share-row { cursor: pointer; outline: none; } +.share-row.selected { background: var(--accent-soft); border-left: 3px solid var(--accent); padding-left: calc(0.25rem - 3px); } +.share-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; } + +.shares-hint { + font-size: 0.75rem; + color: var(--text-secondary); + padding: 0.5rem 0.25rem; + text-align: center; + border-top: 1px solid var(--border); +} +.shares-hint kbd { + display: inline-block; + padding: 0.08rem 0.3rem; + font-family: inherit; + font-size: 0.7rem; + background: var(--bg-elevated); + border: 1px solid var(--border); + border-radius: var(--radius-sm); + color: var(--text-primary); +} |
