diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 07:13:18 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 07:13:18 -0800 |
| commit | a5cd9538b0db731a0d0e10e58804ef8ad32211b7 (patch) | |
| tree | 0b46b0f43965de9df03b023abc40d869224e38d8 /frontend/src/components/Settings.css | |
| parent | e31b68197ec16d2805ec14c2bf532a03f4739e92 (diff) | |
| download | neko-a5cd9538b0db731a0d0e10e58804ef8ad32211b7.tar.gz neko-a5cd9538b0db731a0d0e10e58804ef8ad32211b7.tar.bz2 neko-a5cd9538b0db731a0d0e10e58804ef8ad32211b7.zip | |
Implement Frontend Settings with tests
Diffstat (limited to 'frontend/src/components/Settings.css')
| -rw-r--r-- | frontend/src/components/Settings.css | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/frontend/src/components/Settings.css b/frontend/src/components/Settings.css new file mode 100644 index 0000000..4065e88 --- /dev/null +++ b/frontend/src/components/Settings.css @@ -0,0 +1,83 @@ +.settings-page { + padding: 2rem; + max-width: 800px; + margin: 0 auto; +} + +.add-feed-section { + background: #f9f9f9; + padding: 1.5rem; + border-radius: 8px; + margin-bottom: 2rem; + border: 1px solid #eee; +} + +.add-feed-form { + display: flex; + gap: 1rem; +} + +.feed-input { + flex: 1; + padding: 0.5rem; + border: 1px solid #ccc; + border-radius: 4px; + font-size: 1rem; +} + +.error-message { + color: #d32f2f; + margin-top: 1rem; +} + +.settings-feed-list { + list-style: none; + padding: 0; + border: 1px solid #eee; + border-radius: 8px; +} + +.settings-feed-item { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem; + border-bottom: 1px solid #eee; +} + +.settings-feed-item:last-child { + border-bottom: none; +} + +.feed-info { + display: flex; + flex-direction: column; +} + +.feed-title { + font-weight: bold; + font-size: 1.1rem; +} + +.feed-url { + color: #666; + font-size: 0.9rem; +} + +.delete-btn { + background: #ff5252; + color: white; + border: none; + padding: 0.5rem 1rem; + border-radius: 4px; + cursor: pointer; +} + +.delete-btn:hover { + background: #ff1744; +} + +.delete-btn:disabled { + background: #ffcdd2; + cursor: not-allowed; +}
\ No newline at end of file |
