Switches & Minor UI Improvements

This commit is contained in:
2026-04-23 11:57:56 +02:00
parent ee09a620d6
commit 87e0bcd929
7 changed files with 180 additions and 69 deletions
+25 -37
View File
@@ -8,18 +8,7 @@ ul.westgate-categories-list {
position: relative;
display: grid;
gap: 0.75rem;
padding-left: 0.9rem;
}
ul.categories-list::before {
content: "";
position: absolute;
top: 1.1rem;
bottom: 1.1rem;
left: 0.45rem;
width: 1px;
background: linear-gradient(to bottom, rgba(194, 163, 90, 0.18), rgba(194, 163, 90, 0.04));
pointer-events: none;
padding-left: 0;
}
li[component="categories/category"] {
@@ -31,33 +20,25 @@ li[component="categories/category"] {
transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
li[component="categories/category"]::before {
content: "";
position: absolute;
top: 1.75rem;
left: -0.9rem;
width: 0.9rem;
height: 1px;
background: linear-gradient(to right, rgba(194, 163, 90, 0.2), rgba(194, 163, 90, 0.08));
pointer-events: none;
}
li[component="categories/category"].unread {
border-color: rgba(194, 163, 90, 0.24) !important;
}
li[component="categories/category"] .icon {
border: 1px solid rgba(246, 223, 163, 0.24);
border: 1px solid rgba(246, 223, 163, 0.34);
border-radius: 6px !important;
box-shadow:
inset 0 1px 0 var(--wg-etched-highlight),
inset 0 -2px 5px rgba(0, 0, 0, 0.38),
0 0 0 1px rgba(72, 48, 24, 0.42),
0 8px 18px rgba(0, 0, 0, 0.28);
filter: saturate(0.82) contrast(1.08);
inset 0 1px 0 rgba(255, 242, 204, 0.28),
inset 0 0 0 1px rgba(18, 15, 22, 0.62),
inset 0 -3px 7px rgba(0, 0, 0, 0.52),
0 0 0 1px rgba(56, 48, 42, 0.9),
0 0 0 2px rgba(124, 105, 62, 0.24),
0 9px 18px rgba(0, 0, 0, 0.32);
filter: saturate(0.82) contrast(1.12);
text-shadow:
0 1px 0 rgba(0, 0, 0, 0.72),
0 -1px 0 rgba(255, 238, 190, 0.16);
0 -1px 0 rgba(255, 238, 190, 0.18),
0 0 8px rgba(0, 0, 0, 0.22);
}
li[component="categories/category"] h2.title {
@@ -116,14 +97,16 @@ ul.category-children {
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(145deg, rgba(96, 65, 32, 0.54), rgba(36, 18, 29, 0.78));
border: 1px solid rgba(246, 223, 163, 0.22);
background: linear-gradient(145deg, rgba(105, 82, 45, 0.48), rgba(30, 28, 34, 0.62) 46%, rgba(36, 18, 29, 0.78));
border: 1px solid rgba(246, 223, 163, 0.3);
border-radius: 4px !important;
box-shadow:
inset 0 1px 0 rgba(255, 240, 190, 0.26),
inset 0 -1px 3px rgba(0, 0, 0, 0.42),
0 0 0 1px rgba(27, 17, 18, 0.54);
filter: saturate(0.78) contrast(1.08);
inset 0 1px 0 rgba(255, 240, 190, 0.28),
inset 0 0 0 1px rgba(17, 13, 18, 0.58),
inset 0 -1px 3px rgba(0, 0, 0, 0.46),
0 0 0 1px rgba(31, 25, 24, 0.72),
0 0 0 2px rgba(124, 105, 62, 0.18);
filter: saturate(0.8) contrast(1.12);
font-size: 0.7rem !important;
line-height: 18px !important;
}
@@ -180,5 +163,10 @@ li[component="categories/category"] .lastpost {
}
li[component="categories/category"] .teaser .avatar {
box-shadow: 0 0 0 1px rgba(194, 163, 90, 0.2);
box-shadow:
inset 0 1px 0 rgba(255, 242, 204, 0.18),
inset 0 0 0 1px rgba(18, 15, 22, 0.58),
inset 0 -2px 5px rgba(0, 0, 0, 0.42),
0 0 0 1px rgba(53, 46, 49, 0.88),
0 0 0 2px rgba(124, 105, 62, 0.2) !important;
}