mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
UX: Tweaks on the admin sidebar (#25717)
This commit is contained in:
parent
ffac012bbc
commit
e4b6142d6a
@ -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 {
|
||||
|
@ -25,3 +25,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.admin-area .sidebar-wrapper {
|
||||
background-color: var(--d-sidebar-admin-background);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user