2014-05-29 00:12:31 +08:00
|
|
|
.category-combobox, .select2-drop {
|
2015-02-08 12:16:46 +08:00
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.badge-category {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.topic-count {
|
|
|
|
font-size: 11px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-10-07 13:28:11 +08:00
|
|
|
.highlighted .topic-count, .select2-highlighted .category-desc {
|
2014-10-07 23:41:04 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.category-desc {
|
2015-02-08 12:16:46 +08:00
|
|
|
color: $primary;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.857em;
|
2014-10-07 13:28:11 +08:00
|
|
|
line-height: 16px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-03-08 21:25:03 +08:00
|
|
|
}
|
2015-02-08 12:16:46 +08:00
|
|
|
|
|
|
|
.select2-drop {
|
|
|
|
background: $secondary;
|
2016-03-30 14:44:15 +08:00
|
|
|
i.fa {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
|
|
|
}
|
2015-02-08 12:16:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.select2-search input {
|
|
|
|
background: url(/assets/select2.png) no-repeat 100% -22px, $secondary 0 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-container {
|
|
|
|
border-radius: 3px;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2015-02-09 01:01:51 +08:00
|
|
|
&.select2-dropdown-open {
|
|
|
|
border: 0;
|
2015-09-18 15:15:43 +08:00
|
|
|
margin-bottom: 2px;
|
2015-02-09 01:01:51 +08:00
|
|
|
}
|
|
|
|
&.select2-container-active {
|
|
|
|
border-color: $tertiary;
|
|
|
|
}
|
2015-02-08 12:16:46 +08:00
|
|
|
}
|
|
|
|
|
2015-08-19 05:44:52 +08:00
|
|
|
.select2-container-multi .select2-choices {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
|
|
|
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
|
|
|
|
background: $secondary url(/assets/select2-spinner.gif) no-repeat 100% !important;
|
|
|
|
}
|
2015-02-09 01:01:51 +08:00
|
|
|
|
2015-02-08 12:16:46 +08: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;
|
|
|
|
}
|
2015-08-19 06:05:05 +08:00
|
|
|
.select2-drop {
|
|
|
|
color: dark-light-diff($primary, $secondary, -50%, 50%);
|
|
|
|
}
|
2015-02-08 12:16:46 +08:00
|
|
|
.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;
|
|
|
|
}
|