83 lines
1.5 KiB
SCSS
83 lines
1.5 KiB
SCSS
.select-kit {
|
|
&.combo-box {
|
|
&.category-drop {
|
|
.badge-wrapper {
|
|
font-size: $font-0;
|
|
font-weight: normal;
|
|
|
|
&.box {
|
|
margin: 0;
|
|
|
|
span.badge-category {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.bar.has-selection .category-drop-header {
|
|
padding: 0 5px 0 10px;
|
|
}
|
|
|
|
&.box.has-selection .category-drop-header {
|
|
.badge-wrapper.box {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.category-drop-header {
|
|
&.is-none .selected-name {
|
|
color: inherit;
|
|
}
|
|
|
|
.badge-wrapper {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.select-kit-body {
|
|
min-width: 300px;
|
|
}
|
|
|
|
.select-kit-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
|
|
&[data-value="all-categories"],
|
|
&[data-value="no-categories"] {
|
|
color: $tertiary;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.category-desc {
|
|
font-weight: normal;
|
|
color: $primary-medium;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.category-status {
|
|
align-items: center;
|
|
}
|
|
|
|
.topic-count {
|
|
margin-left: 5px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.badge-wrapper {
|
|
margin: 0;
|
|
font-weight: bold;
|
|
|
|
&:nth-child(2) {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.is-expanded .select-kit-wrapper,
|
|
.select-kit-wrapper {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|