mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 17:53:43 +08:00
97 lines
1.7 KiB
SCSS
97 lines
1.7 KiB
SCSS
.sidebar-section-wrapper {
|
|
margin-bottom: 1em;
|
|
|
|
.sidebar-section-header-wrapper {
|
|
display: flex;
|
|
align-items: stretch;
|
|
box-sizing: border-box;
|
|
|
|
.select-kit {
|
|
.btn {
|
|
background: transparent;
|
|
&:focus,
|
|
&:hover {
|
|
background: var(--d-sidebar-highlight-color);
|
|
}
|
|
}
|
|
.d-icon {
|
|
font-size: var(--font-down-1);
|
|
color: var(--primary-medium);
|
|
margin-right: 0;
|
|
}
|
|
|
|
summary {
|
|
padding: 0.25em 0.5em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar-section-header {
|
|
@include ellipsis;
|
|
flex: 1 1 auto;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
font-size: var(--font-1);
|
|
color: var(--primary);
|
|
align-items: center;
|
|
|
|
&.sidebar-section-header-collapsable {
|
|
justify-content: flex-start;
|
|
padding: 0;
|
|
|
|
&:focus {
|
|
background: transparent;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar-section-header-text {
|
|
font-weight: bold;
|
|
margin-right: 0.25em;
|
|
}
|
|
|
|
.sidebar-section-header-caret {
|
|
font-size: var(--font-down-2);
|
|
}
|
|
|
|
.sidebar-section-header-button {
|
|
background: none;
|
|
border: none;
|
|
padding: 0.25em 0.5em;
|
|
|
|
.d-icon {
|
|
font-size: var(--font-down-1);
|
|
color: var(--primary-medium);
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
background: var(--d-sidebar-highlight-color);
|
|
}
|
|
}
|
|
.select-kit-collection {
|
|
.texts {
|
|
font-size: var(--font-0);
|
|
text-transform: none;
|
|
line-height: var(--line-height-medium);
|
|
.name {
|
|
font-size: var(--font-0);
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar-section-message-wrapper {
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar-section-message {
|
|
color: var(--primary-high);
|
|
}
|
|
|
|
.sidebar-section-content {
|
|
hr {
|
|
margin: 0em 1.5em;
|
|
}
|
|
}
|
|
}
|