discourse/app/assets/stylesheets/common/base/sidebar-more-section-links.scss

40 lines
793 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;
}
}
}