mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 07:03:47 +08:00
e09fd7cde2
This commit does not change any behaviour of the links and is simply changing the positions of the links being displayed.
44 lines
904 B
SCSS
44 lines
904 B
SCSS
.sidebar-more-section-links-details {
|
|
margin-left: 1.5em;
|
|
|
|
.sidebar-more-section-links-details-summary {
|
|
padding: 0.35em 0.5em;
|
|
color: var(--primary-high);
|
|
font-size: var(--font-down-1);
|
|
transition: background-color 0.25s;
|
|
display: flex;
|
|
align-items: center;
|
|
list-style: none;
|
|
|
|
.d-icon {
|
|
margin-left: auto;
|
|
color: var(--primary-medium);
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
background: var(--d-sidebar-highlight-color);
|
|
}
|
|
|
|
&::before {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.sidebar-more-section-links-details-content {
|
|
position: absolute;
|
|
background-color: var(--secondary);
|
|
width: 100%;
|
|
box-shadow: shadow("dropdown");
|
|
z-index: z("base") + 1;
|
|
|
|
.sidebar-section-link-wrapper {
|
|
margin-left: none;
|
|
}
|
|
}
|
|
|
|
.sidebar-more-section-links-details-content-secondary {
|
|
border-top: 1.5px solid var(--primary-low);
|
|
}
|
|
}
|