UX: Tweaks on the admin sidebar (#25717)

This commit is contained in:
Ella E 2024-02-16 14:28:25 -07:00 committed by GitHub
parent ffac012bbc
commit e4b6142d6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 2 deletions

View File

@ -686,6 +686,20 @@ $mobile-breakpoint: 700px;
@media (max-width: 500px) {
width: 50%;
}
.nav-stacked {
background-color: inherit;
a.active {
color: initial;
background-color: initial;
font-weight: 700;
border-right: 4px solid var(--quaternary);
&::after {
display: none; // Hides the arrow
}
}
}
}
.admin-detail {

View File

@ -25,3 +25,7 @@
}
}
}
.admin-area .sidebar-wrapper {
background-color: var(--d-sidebar-admin-background);
}

View File

@ -11,6 +11,7 @@
--d-sidebar-row-height: 2.1em;
--d-sidebar-background: var(--secondary);
--d-sidebar-admin-background: var(--primary-very-low);
--d-sidebar-prefix-background: var(
--primary-low
); // example: chat participant count

View File

@ -74,7 +74,7 @@
background: var(--primary-low);
li {
border-bottom: 1px solid var(--primary-low-mid-or-secondary-high);
border-bottom: 1px solid var(--primary-low);
&:last-of-type {
border-bottom: 0;
@ -88,7 +88,6 @@
a {
margin: 0;
padding: 0.75em;
font-size: var(--font-up-1);
line-height: var(--line-height-small);
cursor: pointer;
color: var(--primary);