Improve colors for submenus

This commit is contained in:
Johannes Zellner
2025-12-18 11:41:38 +01:00
parent a75baba1f6
commit 19cf204dc4
+6 -8
View File
@@ -178,7 +178,7 @@ function onBackdrop(event) {
.sidebar-item-menu {
position: absolute;
z-index: 3002; /* backdrop is at 3001 -> see pankow */
background-color: #e9ecef;
background-color: var(--navbar-background);
border-top-right-radius: var(--pankow-border-radius);
border-bottom-right-radius: var(--pankow-border-radius);
}
@@ -197,13 +197,14 @@ function onBackdrop(event) {
}
.sidebar-item-header {
background-color: #e9ecef;
display: block;
font-weight: bold;
color: var(--pankow-text-color);
padding: 10px 15px;
white-space: nowrap;
border-bottom: 1px solid #d8dee4;
border-radius: 0;
border-top-right-radius: var(--pankow-border-radius);
}
.sidebar-item {
@@ -232,14 +233,11 @@ function onBackdrop(event) {
}
@media (prefers-color-scheme: dark) {
.sidebar-item:hover {
background-color: var(--card-background);
}
.sidebar-item-menu,
.sidebar-item-header,
.sidebar-item:hover,
.sidebar-item-menu-open,
.sidebar-item-menu-anchor::before {
background-color: var(--card-background);
background-color: #282d38;
}
}