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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

93 lines
1.7 KiB
SCSS
Raw Normal View History

.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;
}
}
.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;
}
}
}