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;
|
|
|
|
align-items: stretch;
|
2022-08-18 15:03:28 +08:00
|
|
|
box-sizing: border-box;
|
2022-08-24 09:33:15 +08:00
|
|
|
padding: 0;
|
|
|
|
|
2022-07-19 14:37:07 +08:00
|
|
|
.select-kit {
|
|
|
|
.btn {
|
|
|
|
background: transparent;
|
2022-07-27 11:16:34 +08:00
|
|
|
&:focus,
|
2022-07-19 14:37:07 +08:00
|
|
|
&:hover {
|
2022-07-27 11:16:34 +08:00
|
|
|
background: var(--d-sidebar-highlight-color);
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary-medium);
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-08-18 15:03:28 +08:00
|
|
|
|
2022-07-19 14:37:07 +08:00
|
|
|
summary {
|
2022-08-24 09:33:15 +08:00
|
|
|
height: 100%;
|
|
|
|
padding: 0 var(--d-sidebar-row-horizontal-padding) 0
|
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 2);
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: transparent;
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
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-08-25 02:13:26 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
|
|
|
background: var(--primary-200);
|
|
|
|
}
|
|
|
|
}
|
2022-08-23 15:42:25 +08:00
|
|
|
&:focus {
|
2022-08-25 02:13:26 +08:00
|
|
|
background: var(--primary-200);
|
2022-08-23 15:42:25 +08:00
|
|
|
}
|
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
|
|
|
.sidebar-section-header-button {
|
2022-08-25 02:13:26 +08:00
|
|
|
background: transparent;
|
2022-07-19 14:37:07 +08:00
|
|
|
border: none;
|
2022-08-25 02:13:26 +08:00
|
|
|
padding: calc(var(--d-sidebar-row-horizontal-padding) / 4)
|
|
|
|
var(--d-sidebar-row-horizontal-padding)
|
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 4)
|
2022-08-24 09:33:15 +08:00
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 2);
|
2022-07-19 14:37:07 +08:00
|
|
|
.d-icon {
|
2022-07-22 13:06:47 +08:00
|
|
|
font-size: var(--font-down-1);
|
2022-07-19 14:37:07 +08:00
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
2022-08-24 09:33:15 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2022-08-25 02:13:26 +08:00
|
|
|
background: var(--primary-200);
|
2022-08-24 09:33:15 +08:00
|
|
|
.d-icon {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
2022-08-24 09:33:15 +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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|