2022-07-19 14:37:07 +08:00
|
|
|
.sidebar-section-wrapper {
|
2022-09-29 12:28:01 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
|
|
|
.sidebar-section-header-wrapper {
|
|
|
|
.btn.dropdown-select-box-header,
|
|
|
|
.sidebar-section-header-button {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-18 15:03:28 +08:00
|
|
|
.sidebar-section-header-wrapper {
|
2022-07-19 14:37:07 +08:00
|
|
|
display: flex;
|
2022-09-29 12:28:01 +08:00
|
|
|
|
2022-08-25 09:14:55 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
2023-06-06 21:24:56 +08:00
|
|
|
background: var(--d-sidebar-highlight-background);
|
2023-05-24 23:00:20 +08:00
|
|
|
.d-icon-globe {
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-highlight-color);
|
2023-05-24 23:00:20 +08:00
|
|
|
}
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
2022-08-25 09:14:55 +08:00
|
|
|
}
|
2022-09-29 12:28:01 +08:00
|
|
|
|
2022-08-25 09:14:55 +08:00
|
|
|
&:focus-within {
|
2023-06-06 21:24:56 +08:00
|
|
|
background: var(--d-sidebar-highlight-background);
|
2022-08-25 09:14:55 +08:00
|
|
|
}
|
|
|
|
|
2023-05-24 23:00:20 +08:00
|
|
|
.sidebar-section-header-button {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
|
2022-08-25 09:14:55 +08:00
|
|
|
.btn.dropdown-select-box-header,
|
|
|
|
.sidebar-section-header-button {
|
2022-09-29 12:28:01 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
transition: all 0.25s;
|
|
|
|
opacity: 0;
|
2022-10-06 20:35:06 +08:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-09-29 12:28:01 +08:00
|
|
|
}
|
|
|
|
|
2022-08-25 09:14:55 +08:00
|
|
|
background: transparent;
|
|
|
|
border: none;
|
2022-09-29 12:28:01 +08:00
|
|
|
margin-right: calc(var(--d-sidebar-row-horizontal-padding) / 3 * -1);
|
2022-08-25 09:14:55 +08:00
|
|
|
padding: calc(var(--d-sidebar-row-horizontal-padding) / 5)
|
|
|
|
calc(var(--d-sidebar-row-horizontal-padding) / 3);
|
2022-09-29 12:28:01 +08:00
|
|
|
|
2022-07-19 14:37:07 +08:00
|
|
|
.d-icon {
|
|
|
|
font-size: var(--font-down-1);
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-header-icon-color);
|
2022-08-25 09:14:55 +08:00
|
|
|
margin: 0;
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
2022-09-29 12:28:01 +08:00
|
|
|
|
2022-08-25 09:14:55 +08:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2023-06-06 21:24:56 +08:00
|
|
|
background: var(--d-sidebar-highlight-hover-background);
|
2022-08-25 09:14:55 +08:00
|
|
|
.d-icon {
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-highlight-hover-icon);
|
2022-08-25 09:14:55 +08:00
|
|
|
}
|
|
|
|
}
|
2022-09-29 12:28:01 +08:00
|
|
|
|
2022-08-25 09:14:55 +08:00
|
|
|
.discourse-no-touch & {
|
2022-08-24 09:33:15 +08:00
|
|
|
&:hover {
|
2023-06-06 21:24:56 +08:00
|
|
|
background: var(--d-sidebar-highlight-hover-background);
|
2022-08-24 09:33:15 +08:00
|
|
|
.d-icon {
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-highlight-hover-icon);
|
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;
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-header-color);
|
2022-08-18 15:03:28 +08:00
|
|
|
align-items: center;
|
2022-08-24 09:33:15 +08:00
|
|
|
min-width: 0;
|
2022-09-29 12:28:01 +08:00
|
|
|
padding: 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-10-06 20:35:06 +08:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-18 15:03:28 +08:00
|
|
|
.sidebar-section-header-text {
|
2023-05-24 23:00:20 +08:00
|
|
|
display: flex;
|
2022-09-24 08:18:58 +08:00
|
|
|
line-height: normal;
|
2022-08-18 15:03:28 +08:00
|
|
|
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-09-29 12:28:01 +08:00
|
|
|
display: flex;
|
2022-08-24 09:33:15 +08:00
|
|
|
flex: 0 0 auto;
|
2022-09-29 12:28:01 +08:00
|
|
|
width: var(--d-sidebar-section-link-prefix-width);
|
|
|
|
height: var(--d-sidebar-section-link-prefix-width);
|
|
|
|
margin-right: var(--d-sidebar-section-link-prefix-margin-right);
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
font-size: var(--font-down-1);
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-header-icon-color);
|
2022-09-29 12:28:01 +08:00
|
|
|
}
|
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;
|
2022-09-23 01:05:32 +08:00
|
|
|
padding-top: 0;
|
2022-09-29 14:06:28 +08:00
|
|
|
height: initial;
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-message {
|
2022-09-23 01:05:32 +08:00
|
|
|
color: var(--primary);
|
2022-09-29 14:44:23 +08:00
|
|
|
padding-left: calc(
|
|
|
|
var(--d-sidebar-section-link-prefix-width) +
|
|
|
|
var(--d-sidebar-section-link-prefix-margin-right)
|
|
|
|
);
|
2022-07-19 14:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-content {
|
2023-05-25 23:21:30 +08:00
|
|
|
padding-bottom: 0.875em;
|
2022-11-22 05:32:43 +08:00
|
|
|
margin: 0;
|
2022-07-19 14:37:07 +08:00
|
|
|
hr {
|
|
|
|
margin: 0em 1.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|