diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 21:48:57 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 21:48:57 -0800 |
| commit | 657faf3acd7755d6b84a87e0e363729d95930258 (patch) | |
| tree | 0691a677c3b6e8827d52a9a536f9ee9a6cbdcf80 /frontend-vanilla/src/style.css | |
| parent | 371e474217b5ade280e2d9b3893b1893be507eb1 (diff) | |
| download | neko-657faf3acd7755d6b84a87e0e363729d95930258.tar.gz neko-657faf3acd7755d6b84a87e0e363729d95930258.tar.bz2 neko-657faf3acd7755d6b84a87e0e363729d95930258.zip | |
Vanilla JS (v3): Fix mobile horizontal scroll, simplify logo to 🐱 emoji, implement feed deselect, and complete Settings (Add Feed, Export/Import OPML)
Diffstat (limited to 'frontend-vanilla/src/style.css')
| -rw-r--r-- | frontend-vanilla/src/style.css | 64 |
1 files changed, 58 insertions, 6 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index 6e048aa..a97f443 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -19,23 +19,31 @@ color-scheme: light dark; } +* { + box-sizing: border-box; +} + body { margin: 0; font-family: var(--font-body); background-color: var(--bg-color); color: var(--text-color); height: 100vh; + width: 100%; overflow: hidden; } #app { height: 100%; + width: 100%; } .layout { display: flex; height: 100%; width: 100%; + overflow-x: hidden; + position: relative; } /* Sidebar - matching v2 glass variant */ @@ -58,12 +66,16 @@ body { border-right-color: rgba(255, 255, 255, 0.05); } -.sidebar-header h2 { - font-family: var(--font-heading); - font-size: 1.5rem; - margin: 0 0 2rem 0; - opacity: 0.8; +.sidebar-header { + margin-bottom: 2rem; + display: flex; + justify-content: center; +} + +.sidebar-logo { + font-size: 3rem; cursor: pointer; + user-select: none; } .sidebar-search { @@ -470,4 +482,44 @@ button.active { .theme-dark button.active { background-color: #224; border-color: var(--accent-color); -}
\ No newline at end of file +} +.add-feed-form { + display: flex; + gap: 0.5rem; +} + +.add-feed-form input { + flex: 1; + padding: 0.6rem 1rem; + border-radius: 8px; + border: 1px solid var(--border-color); + background: var(--bg-color); + color: var(--text-color); +} + +.settings-group label { + display: block; + font-size: 0.85rem; + font-weight: 600; + margin-bottom: 0.5rem; + opacity: 0.7; +} + +#font-selector { + width: 100%; + padding: 0.6rem; + border-radius: 8px; + border: 1px solid var(--border-color); + background: var(--bg-color); + color: var(--text-color); +} + +.data-actions button, .data-actions .button { + display: inline-block; + text-align: center; + width: 100%; +} + +label.button { + cursor: pointer; +} |
