aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/style.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-17 13:42:49 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-17 13:42:49 -0800
commitc3b7c28c79f0db94cd09d3ba218340e8e26e1758 (patch)
tree8c354d8b76f615f1e05fcfb9878e390223ba3669 /frontend-vanilla/src/style.css
parent915aebc931f023fe53e770be05b65d851d39e782 (diff)
downloadneko-c3b7c28c79f0db94cd09d3ba218340e8e26e1758.tar.gz
neko-c3b7c28c79f0db94cd09d3ba218340e8e26e1758.tar.bz2
neko-c3b7c28c79f0db94cd09d3ba218340e8e26e1758.zip
Refine Settings UI: Full-width feed list, simplified data section, removed dividers
Diffstat (limited to 'frontend-vanilla/src/style.css')
-rw-r--r--frontend-vanilla/src/style.css120
1 files changed, 17 insertions, 103 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css
index a13651e..7a11978 100644
--- a/frontend-vanilla/src/style.css
+++ b/frontend-vanilla/src/style.css
@@ -549,7 +549,7 @@ select:focus {
.settings-grid {
display: flex;
flex-direction: column;
- gap: 3rem;
+ gap: 2rem;
margin-bottom: 2rem;
}
@@ -565,7 +565,7 @@ select:focus {
font-weight: 700;
margin-top: 0;
margin-bottom: 1rem;
- border-bottom: none;
+ border: none;
padding-bottom: 0;
color: var(--text-color);
}
@@ -602,6 +602,9 @@ button,
text-decoration: none;
display: inline-block;
text-align: center;
+ height: 2.2rem;
+ line-height: 1.1;
+ box-sizing: border-box;
}
button:hover,
@@ -633,16 +636,18 @@ button.active,
.add-feed-form {
display: flex;
gap: 0.5rem;
- max-width: 600px;
+ width: 100%;
}
.add-feed-form input {
flex: 1;
+ height: 2.2rem;
}
.button-group {
display: flex;
gap: 0.5rem;
+ align-items: center;
}
/* Manage Feeds - List View */
@@ -652,6 +657,7 @@ button.active,
padding: 0;
list-style: none;
border-top: 1px solid var(--border-color);
+ width: 100%;
}
.manage-feed-item {
@@ -661,12 +667,13 @@ button.active,
border-bottom: 1px solid var(--border-color);
background: transparent;
gap: 1rem;
+ width: 100%;
+ border-radius: 0;
}
.feed-info {
flex: 1;
min-width: 0;
- /* Text truncation */
}
.feed-title {
@@ -697,6 +704,7 @@ button.active,
.feed-tag-input {
width: 120px;
padding: 0.4rem;
+ height: 2.2rem;
}
.delete-feed-btn {
@@ -708,6 +716,11 @@ button.active,
background-color: rgba(211, 47, 47, 0.1) !important;
}
+.manage-feeds-section {
+ width: 100%;
+ margin-top: 2rem;
+}
+
@media (max-width: 768px) {
.manage-feed-item {
flex-direction: column;
@@ -722,103 +735,4 @@ button.active,
.feed-tag-input {
flex: 1;
}
-}
-
-
-/* Settings Grid Layout */
-.settings-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
- gap: 2rem;
- margin-bottom: 2rem;
-}
-
-.settings-section {
- background: var(--bg-color);
- padding: 0;
- border: none;
- margin-bottom: 0;
-}
-
-.settings-section h3 {
- font-size: 1.1rem;
- margin-top: 0;
- margin-bottom: 1rem;
- border-bottom: 1px solid var(--border-color);
- padding-bottom: 0.5rem;
- opacity: 0.7;
-}
-
-.manage-feeds-section {
- grid-column: 1 / -1;
- margin-top: 1rem;
-}
-
-.button-group {
- display: flex;
- gap: 0.5rem;
- flex-wrap: wrap;
-}
-
-.button-group a.button,
-.button-group button {
- flex: 1;
- display: inline-block;
- padding: 0.5rem;
- text-align: center;
- background: var(--bg-color);
- border: 1px solid var(--border-color);
- border-radius: 6px;
- text-decoration: none;
- color: var(--text-color);
- font-size: 0.9rem;
- cursor: pointer;
- line-height: 1.5;
-}
-
-.button-group a.button:hover,
-.button-group button:hover {
- background: rgba(0, 0, 0, 0.05);
- border-color: var(--accent-color);
-}
-
-.theme-dark .button-group a.button:hover,
-.theme-dark .button-group button:hover {
- background: rgba(255, 255, 255, 0.1);
-}
-
-.manage-feed-list {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
- gap: 1rem;
- padding: 0;
- list-style: none;
-}
-
-.manage-feed-item {
- border: 1px solid var(--border-color);
- border-radius: 8px;
- padding: 1rem;
- background: rgba(0, 0, 0, 0.02);
- display: flex;
- flex-direction: column;
- gap: 0.5rem;
-}
-
-.theme-dark .manage-feed-item {
- background: rgba(255, 255, 255, 0.02);
-}
-
-.feed-title {
- font-weight: bold;
- margin-bottom: 0.25rem;
- font-size: 0.95rem;
-}
-
-.feed-url {
- font-size: 0.8em;
- opacity: 0.7;
- margin-bottom: 0.5rem;
- word-break: break-all;
- overflow-wrap: anywhere;
} \ No newline at end of file