discourse/app/assets/stylesheets/common/select-kit/category-drop.scss

74 lines
1.3 KiB
SCSS
Raw Normal View History

.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 {
border: none;
}
&.box.has-selection .category-drop-header {
padding: 3px 5px 3px 10px;
}
.category-drop-header {
padding: 5px 5px 5px 10px;
&.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;
.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;
}
}
2018-01-24 12:16:29 -05:00
&.is-expanded .select-kit-wrapper, .select-kit-wrapper {
display: none;
}
}
}
}