2022-07-19 14:37:07 +08:00
|
|
|
.sidebar-section-wrapper {
|
2022-08-18 15:03:28 +08:00
|
|
|
.sidebar-section-header-wrapper {
|
2022-07-19 14:37:07 +08:00
|
|
|
display: flex;
|
2022-08-18 15:03:28 +08:00
|
|
|
box-sizing: border-box;
|
2022-08-24 09:33:15 +08:00
|
|
|
padding: 0;
|
2022-08-25 09:14:55 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
|
|
|
background: var(--d-sidebar-highlight-color);
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
2022-08-25 09:14:55 +08:00
|
|
|
}
|
|
|
|
&:focus-within {
|
|
|
|
background: var(--d-sidebar-highlight-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.dropdown-select-box-header,
|
|
|
|
.sidebar-section-header-button {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
padding: calc(var(--d-sidebar-row-horizontal-padding) / 5)
|
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 3);
|
|
|
|
margin-right: calc(var(--d-sidebar-row-horizontal-padding) / 1.5);
|
2022-07-19 14:37:07 +08:00
|
|
|
.d-icon {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary-medium);
|
2022-08-25 09:14:55 +08:00
|
|
|
margin: 0;
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
2022-08-25 09:14:55 +08:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
background: var(--primary-medium);
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-very-low);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.discourse-no-touch & {
|
2022-08-24 09:33:15 +08:00
|
|
|
&:hover {
|
2022-08-25 09:14:55 +08:00
|
|
|
background: var(--primary-medium);
|
2022-08-24 09:33:15 +08:00
|
|
|
.d-icon {
|
2022-08-25 09:14:55 +08:00
|
|
|
color: var(--primary-very-low);
|
2022-08-24 09:33:15 +08:00
|
|
|
}
|
|
|
|
}
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-18 15:03:28 +08:00
|
|
|
.sidebar-section-header {
|
2022-07-19 14:37:07 +08:00
|
|
|
flex: 1 1 auto;
|
2022-08-18 20:14:44 +08:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
2022-08-18 15:03:28 +08:00
|
|
|
font-size: var(--font-1);
|
2022-07-19 14:37:07 +08:00
|
|
|
color: var(--primary);
|
2022-08-18 15:03:28 +08:00
|
|
|
align-items: center;
|
2022-08-24 09:33:15 +08:00
|
|
|
padding: calc(var(--d-sidebar-row-horizontal-padding) / 2)
|
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 2)
|
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 2)
|
|
|
|
var(--d-sidebar-row-horizontal-padding);
|
|
|
|
min-width: 0;
|
2022-07-19 14:37:07 +08:00
|
|
|
|
2022-08-18 15:03:28 +08:00
|
|
|
&.sidebar-section-header-collapsable {
|
2022-08-18 20:14:44 +08:00
|
|
|
justify-content: flex-start;
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-18 15:03:28 +08:00
|
|
|
.sidebar-section-header-text {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 0.25em;
|
2022-08-24 09:33:15 +08:00
|
|
|
@include ellipsis;
|
2022-08-18 15:03:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-header-caret {
|
2022-08-24 09:33:15 +08:00
|
|
|
display: block;
|
|
|
|
width: 1.5em;
|
|
|
|
margin-left: -1.5em;
|
2022-08-18 15:03:28 +08:00
|
|
|
font-size: var(--font-down-2);
|
2022-08-24 09:33:15 +08:00
|
|
|
flex: 0 0 auto;
|
2022-08-18 15:03:28 +08:00
|
|
|
}
|
|
|
|
|
2022-07-19 14:37:07 +08:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|