diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 09:42:14 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 09:42:14 -0800 |
| commit | 6fa13a06411048f3217397f4285b3e64e7b9ee58 (patch) | |
| tree | af5ec83884bb45a10d51cf5be3ae895ebf1bcff8 /frontend/src/components/Settings.css | |
| parent | 23947045c011e84149bc1b9d48805e57bb0bb3ba (diff) | |
| download | neko-6fa13a06411048f3217397f4285b3e64e7b9ee58.tar.gz neko-6fa13a06411048f3217397f4285b3e64e7b9ee58.tar.bz2 neko-6fa13a06411048f3217397f4285b3e64e7b9ee58.zip | |
feature: implement full OPML and Text import/export (fixing NK-r6nhj0)
Diffstat (limited to 'frontend/src/components/Settings.css')
| -rw-r--r-- | frontend/src/components/Settings.css | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/frontend/src/components/Settings.css b/frontend/src/components/Settings.css index 171dcad..ec6fc83 100644 --- a/frontend/src/components/Settings.css +++ b/frontend/src/components/Settings.css @@ -84,4 +84,78 @@ .delete-btn:disabled { background: #ffcdd2; cursor: not-allowed; +} + +.import-export-section { + display: flex; + gap: 2rem; + margin-bottom: 2rem; +} + +@media (max-width: 600px) { + .import-export-section { + flex-direction: column; + } +} + +.import-section, +.export-section { + flex: 1; + background: var(--sidebar-bg); + padding: 1.5rem; + border-radius: 8px; + border: 1px solid var(--border-color); +} + +.import-form { + display: flex; + flex-direction: column; + gap: 1rem; +} + +.file-input { + font-size: 0.9rem; + max-width: 100%; +} + +.export-buttons { + display: flex; + gap: 1rem; + flex-wrap: wrap; +} + +.export-btn { + display: inline-block; + padding: 0.5rem 1rem; + background: var(--bg-color); + color: var(--link-color); + text-decoration: none; + border: 1px solid var(--border-color); + border-radius: 4px; + font-weight: bold; + text-align: center; + min-width: 70px; +} + +.export-btn:hover { + background: var(--sidebar-bg); +} + +button { + cursor: pointer; + padding: 0.5rem 1rem; + border-radius: 4px; + border: 1px solid var(--border-color); + background: var(--bg-color); + color: var(--text-color); + font-weight: bold; +} + +button:hover:not(:disabled) { + background: var(--sidebar-bg); +} + +button:disabled { + opacity: 0.5; + cursor: not-allowed; }
\ No newline at end of file |
