discourse/app/assets/stylesheets/common/base/combobox.scss

87 lines
2.0 KiB
SCSS
Raw Normal View History

.select2-results .select2-highlighted {
background: dark-light-diff($highlight, $secondary, 50%, -80%);
color: $primary;
}
2014-05-28 12:12:31 -04:00
.category-combobox, .select2-drop {
2013-09-05 15:37:07 -04:00
.badge-category {
display: inline-block;
}
.topic-count {
font-size: 11px;
color: $primary;
2013-09-05 15:37:07 -04:00
display: inline-block;
}
.highlighted .topic-count, .select2-highlighted .category-desc {
color: $primary;
2013-09-05 15:37:07 -04:00
}
.category-desc {
color: $primary;
font-size: 0.857em;
line-height: 16px;
2013-09-05 15:37:07 -04:00
}
}
.select2-drop {
background: $secondary;
2016-03-30 02:44:15 -04:00
i.fa {
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
}
}
.select2-search input {
2016-06-15 17:07:29 -04:00
background: image-url("select2.png") no-repeat 100% -22px, $secondary 0 0
}
.select2-container {
border-radius: 3px;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
2015-02-08 12:01:51 -05:00
&.select2-dropdown-open {
border: 0;
margin-bottom: 2px;
2015-02-08 12:01:51 -05:00
}
&.select2-container-active {
border-color: $tertiary;
}
&.select2-container-disabled .select2-chosen {
color: blend-primary-secondary(50%);
}
}
2015-08-18 17:44:52 -04:00
.select2-container-multi .select2-choices {
background-color: $secondary;
}
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
2016-06-15 17:07:29 -04:00
background: $secondary image-url("select2-spinner.gif") no-repeat 100% !important;
2015-08-18 17:44:52 -04:00
}
2015-02-08 12:01:51 -05:00
.select2-container a.select2-choice {
background: $secondary;
border-radius: 3px;
border-color: $secondary;
color: $primary;
}
.select2-dropdown-open a.select2-choice {
box-shadow: none;
border-radius: 3px 3px 0 0;
border-color: $tertiary;
}
.select2-drop {
color: dark-light-diff($primary, $secondary, -50%, 50%);
}
.select2-drop-active {
border: 1px solid $tertiary;
border-top: 0;
}
.select2-container-active {
box-shadow: $tertiary 0px 0px 6px 0px;
}
.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-selection-limit {
background: $secondary;
color: $primary;
}