Dropdown item fix

This commit is contained in:
2026-06-09 12:40:36 +02:00
parent 23adc6c244
commit 5db89fffc8
+82 -18
View File
@@ -8,7 +8,9 @@
--bs-btn-active-bg: #493914; --bs-btn-active-bg: #493914;
--bs-btn-active-border-color: #c2a35a; --bs-btn-active-border-color: #c2a35a;
background-image: linear-gradient(to bottom, #5a4a1a 0%, #473914 100%); background-image: linear-gradient(to bottom, #5a4a1a 0%, #473914 100%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.24); box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.06),
0 2px 8px rgba(0, 0, 0, 0.24);
} }
.btn-primary:hover, .btn-primary:hover,
@@ -28,7 +30,11 @@
--bs-btn-hover-border-color: rgba(216, 194, 138, 0.44); --bs-btn-hover-border-color: rgba(216, 194, 138, 0.44);
--bs-btn-active-bg: rgba(194, 163, 90, 0.12); --bs-btn-active-bg: rgba(194, 163, 90, 0.12);
--bs-btn-active-border-color: rgba(216, 194, 138, 0.5); --bs-btn-active-border-color: rgba(216, 194, 138, 0.5);
background-image: linear-gradient(to bottom, rgba(255, 244, 221, 0.018), rgba(0, 0, 0, 0.06)); background-image: linear-gradient(
to bottom,
rgba(255, 244, 221, 0.018),
rgba(0, 0, 0, 0.06)
);
box-shadow: inset 0 1px 0 rgba(255, 244, 221, 0.035); box-shadow: inset 0 1px 0 rgba(255, 244, 221, 0.035);
} }
@@ -50,7 +56,11 @@
--bs-btn-hover-bg: rgba(194, 163, 90, 0.09); --bs-btn-hover-bg: rgba(194, 163, 90, 0.09);
--bs-btn-hover-border-color: rgba(216, 194, 138, 0.52); --bs-btn-hover-border-color: rgba(216, 194, 138, 0.52);
--bs-btn-active-bg: rgba(194, 163, 90, 0.13); --bs-btn-active-bg: rgba(194, 163, 90, 0.13);
background-image: linear-gradient(to bottom, rgba(255, 244, 221, 0.024), rgba(0, 0, 0, 0.08)); background-image: linear-gradient(
to bottom,
rgba(255, 244, 221, 0.024),
rgba(0, 0, 0, 0.08)
);
box-shadow: box-shadow:
inset 0 1px 0 rgba(255, 244, 221, 0.04), inset 0 1px 0 rgba(255, 244, 221, 0.04),
0 2px 8px rgba(0, 0, 0, 0.22); 0 2px 8px rgba(0, 0, 0, 0.22);
@@ -178,7 +188,13 @@ input[type="number"].form-control::-webkit-outer-spin-button {
input[type="password"].form-control, input[type="password"].form-control,
.form-control[type="password"] { .form-control[type="password"] {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-family:
system-ui,
-apple-system,
"Segoe UI",
Roboto,
Arial,
sans-serif;
font-size: 1.05rem; font-size: 1.05rem;
letter-spacing: 0.08em; letter-spacing: 0.08em;
} }
@@ -225,7 +241,9 @@ table[component="notification/table"] a[data-type] {
border-radius: 999px; border-radius: 999px;
color: var(--wg-text-muted); color: var(--wg-text-muted);
text-decoration: none; text-decoration: none;
transition: background-color 140ms ease, color 140ms ease; transition:
background-color 140ms ease,
color 140ms ease;
} }
table[component="notification/table"] a[data-type]:hover, table[component="notification/table"] a[data-type]:hover,
@@ -247,9 +265,15 @@ table[component="notification/table"] a[data-type]:focus {
min-height: 3rem; min-height: 3rem;
padding: 0.45rem 0.55rem !important; padding: 0.45rem 0.55rem !important;
background: background:
linear-gradient(to bottom, transparent calc(100% - 1px), rgba(194, 163, 90, 0.055) calc(100% - 1px)), linear-gradient(
to bottom,
transparent calc(100% - 1px),
rgba(194, 163, 90, 0.055) calc(100% - 1px)
),
rgba(12, 10, 15, 0.92) !important; rgba(12, 10, 15, 0.92) !important;
background-size: 100% 1.65rem, auto; background-size:
100% 1.65rem,
auto;
border-color: rgba(194, 163, 90, 0.28) !important; border-color: rgba(194, 163, 90, 0.28) !important;
box-shadow: box-shadow:
inset 0 1px 0 rgba(255, 244, 221, 0.035), inset 0 1px 0 rgba(255, 244, 221, 0.035),
@@ -263,8 +287,11 @@ table[component="notification/table"] a[data-type]:focus {
min-height: 1.35rem; min-height: 1.35rem;
margin: 0 !important; margin: 0 !important;
padding: 0.2rem 0.48rem !important; padding: 0.2rem 0.48rem !important;
background: background: linear-gradient(
linear-gradient(to bottom, rgba(216, 194, 138, 0.13), rgba(70, 45, 52, 0.28)) !important; to bottom,
rgba(216, 194, 138, 0.13),
rgba(70, 45, 52, 0.28)
) !important;
border: 1px solid rgba(194, 163, 90, 0.3) !important; border: 1px solid rgba(194, 163, 90, 0.3) !important;
border-radius: 3px !important; border-radius: 3px !important;
color: #e5d6b5 !important; color: #e5d6b5 !important;
@@ -290,7 +317,11 @@ table[component="notification/table"] a[data-type]:focus {
.tool-modal .bootstrap-tagsinput .ui-autocomplete { .tool-modal .bootstrap-tagsinput .ui-autocomplete {
min-width: 14rem; min-width: 14rem;
padding: 0.35rem; padding: 0.35rem;
background: linear-gradient(to bottom, rgba(23, 19, 28, 0.99), rgba(12, 10, 15, 0.99)) !important; background: linear-gradient(
to bottom,
rgba(23, 19, 28, 0.99),
rgba(12, 10, 15, 0.99)
) !important;
border: 1px solid rgba(194, 163, 90, 0.22) !important; border: 1px solid rgba(194, 163, 90, 0.22) !important;
border-radius: 4px; border-radius: 4px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.42); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.42);
@@ -317,9 +348,15 @@ table[component="notification/table"] a[data-type]:focus {
[component="composer"] .card-header, [component="composer"] .card-header,
[component="composer"] .card-body { [component="composer"] .card-body {
background: background:
linear-gradient(to bottom, transparent calc(100% - 1px), rgba(194, 163, 90, 0.055) calc(100% - 1px)), linear-gradient(
to bottom,
transparent calc(100% - 1px),
rgba(194, 163, 90, 0.055) calc(100% - 1px)
),
linear-gradient(100deg, rgba(32, 19, 30, 0.98), rgba(13, 12, 17, 0.98)) !important; linear-gradient(100deg, rgba(32, 19, 30, 0.98), rgba(13, 12, 17, 0.98)) !important;
background-size: 100% 1.82rem, auto; background-size:
100% 1.82rem,
auto;
border-color: rgba(194, 163, 90, 0.18) !important; border-color: rgba(194, 163, 90, 0.18) !important;
color: var(--wg-text-soft) !important; color: var(--wg-text-soft) !important;
} }
@@ -390,7 +427,11 @@ table[component="notification/table"] a[data-type]:focus {
.offcanvas, .offcanvas,
.offcanvas-header, .offcanvas-header,
.offcanvas-body { .offcanvas-body {
background: linear-gradient(180deg, rgba(23, 19, 28, 0.98), rgba(13, 12, 17, 0.99)) !important; background: linear-gradient(
180deg,
rgba(23, 19, 28, 0.98),
rgba(13, 12, 17, 0.99)
) !important;
border-color: rgba(194, 163, 90, 0.16) !important; border-color: rgba(194, 163, 90, 0.16) !important;
color: var(--wg-text-soft) !important; color: var(--wg-text-soft) !important;
} }
@@ -416,7 +457,11 @@ table[component="notification/table"] a[data-type]:focus {
} }
.dropdown-menu { .dropdown-menu {
background: linear-gradient(to bottom, rgba(24, 20, 29, 0.98), rgba(17, 15, 21, 0.99)) !important; background: linear-gradient(
to bottom,
rgba(24, 20, 29, 0.98),
rgba(17, 15, 21, 0.99)
) !important;
border: 1px solid rgba(194, 163, 90, 0.16) !important; border: 1px solid rgba(194, 163, 90, 0.16) !important;
border-radius: 8px; border-radius: 8px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
@@ -427,6 +472,14 @@ table[component="notification/table"] a[data-type]:focus {
color: var(--wg-text-soft) !important; color: var(--wg-text-soft) !important;
} }
.dropdown-item.active {
color: #efe7da;
background: rgba(194, 163, 90, 0.11);
}
.dropdown-item.active i {
color: #d8c28a;
}
.dropdown-item:hover, .dropdown-item:hover,
.dropdown-item:focus, .dropdown-item:focus,
.dropdown-menu .nav-link:hover, .dropdown-menu .nav-link:hover,
@@ -458,7 +511,9 @@ table[component="notification/table"] a[data-type]:focus {
border: 1px solid rgba(194, 163, 90, 0.65) !important; border: 1px solid rgba(194, 163, 90, 0.65) !important;
border-radius: 6px !important; border-radius: 6px !important;
color: var(--wg-text) !important; color: var(--wg-text) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 12px rgba(0, 0, 0, 0.35) !important; box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.04),
0 4px 12px rgba(0, 0, 0, 0.35) !important;
} }
.tooltip .tooltip-arrow { .tooltip .tooltip-arrow {
@@ -468,7 +523,11 @@ table[component="notification/table"] a[data-type]:focus {
[component="sidebar/left"], [component="sidebar/left"],
[component="sidebar/right"], [component="sidebar/right"],
.bottombar-nav { .bottombar-nav {
background: linear-gradient(180deg, rgba(20, 18, 25, 0.96), rgba(13, 12, 17, 0.98)) !important; background: linear-gradient(
180deg,
rgba(20, 18, 25, 0.96),
rgba(13, 12, 17, 0.98)
) !important;
border-color: rgba(194, 163, 90, 0.12) !important; border-color: rgba(194, 163, 90, 0.12) !important;
color: var(--wg-text-soft) !important; color: var(--wg-text-soft) !important;
} }
@@ -530,7 +589,11 @@ table[component="notification/table"] a[data-type]:focus {
--bs-btn-active-color: var(--wg-text); --bs-btn-active-color: var(--wg-text);
--bs-btn-active-bg: rgba(194, 163, 90, 0.12); --bs-btn-active-bg: rgba(194, 163, 90, 0.12);
--bs-btn-active-border-color: rgba(216, 194, 138, 0.5); --bs-btn-active-border-color: rgba(216, 194, 138, 0.5);
background-image: linear-gradient(to bottom, rgba(255, 244, 221, 0.018), rgba(0, 0, 0, 0.06)); background-image: linear-gradient(
to bottom,
rgba(255, 244, 221, 0.018),
rgba(0, 0, 0, 0.06)
);
box-shadow: inset 0 1px 0 rgba(255, 244, 221, 0.035); box-shadow: inset 0 1px 0 rgba(255, 244, 221, 0.035);
} }
@@ -546,7 +609,8 @@ table[component="notification/table"] a[data-type]:focus {
.chat-modal .btn-close, .chat-modal .btn-close,
#chat-close-btn.btn-close { #chat-close-btn.btn-close {
filter: invert(86%) sepia(16%) saturate(360%) hue-rotate(356deg) brightness(95%) contrast(90%); filter: invert(86%) sepia(16%) saturate(360%) hue-rotate(356deg)
brightness(95%) contrast(90%);
opacity: 0.82; opacity: 0.82;
} }