mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Tweaks on the admin sidebar (#25717)
This commit is contained in:
@@ -686,6 +686,20 @@ $mobile-breakpoint: 700px;
|
|||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
width: 50%;
|
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 {
|
.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-row-height: 2.1em;
|
||||||
|
|
||||||
--d-sidebar-background: var(--secondary);
|
--d-sidebar-background: var(--secondary);
|
||||||
|
--d-sidebar-admin-background: var(--primary-very-low);
|
||||||
--d-sidebar-prefix-background: var(
|
--d-sidebar-prefix-background: var(
|
||||||
--primary-low
|
--primary-low
|
||||||
); // example: chat participant count
|
); // example: chat participant count
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
background: var(--primary-low);
|
background: var(--primary-low);
|
||||||
|
|
||||||
li {
|
li {
|
||||||
border-bottom: 1px solid var(--primary-low-mid-or-secondary-high);
|
border-bottom: 1px solid var(--primary-low);
|
||||||
|
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
@@ -88,7 +88,6 @@
|
|||||||
a {
|
a {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.75em;
|
padding: 0.75em;
|
||||||
font-size: var(--font-up-1);
|
|
||||||
line-height: var(--line-height-small);
|
line-height: var(--line-height-small);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
|
|||||||
Reference in New Issue
Block a user