mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
FIX: use right caret for collapse state of tag and category drops
This commit is contained in:
parent
215d955e30
commit
cb49dc6448
@ -18,6 +18,8 @@ export default ComboBoxComponent.extend({
|
||||
noCategoriesLabel: I18n.t("categories.no_subcategory"),
|
||||
mutateAttributes() {},
|
||||
fullWidthOnMobile: true,
|
||||
caretDownIcon: "caret-right fa-fw",
|
||||
caretUpIcon: "caret-down fa-fw",
|
||||
|
||||
init() {
|
||||
this._super();
|
||||
|
@ -19,6 +19,8 @@ export default ComboBoxComponent.extend({
|
||||
categoryStyle: Ember.computed.alias("siteSettings.category_style"),
|
||||
mutateAttributes() {},
|
||||
fullWidthOnMobile: true,
|
||||
caretDownIcon: "caret-right fa-fw",
|
||||
caretUpIcon: "caret-down fa-fw",
|
||||
|
||||
@computed("tagId")
|
||||
noTagsSelected() {
|
||||
|
@ -16,24 +16,27 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.bar.has-selection .category-drop-header,
|
||||
&.none.has-selection .category-drop-header {
|
||||
padding: 5px 10px;
|
||||
padding: 4.5px 5px 4.5px 10px;
|
||||
}
|
||||
|
||||
&.bar.has-selection .category-drop-header {
|
||||
padding: 3.5px 5px 3.5px 10px;
|
||||
}
|
||||
|
||||
&.box.has-selection .category-drop-header {
|
||||
padding: 2.5px 10px;
|
||||
padding: 2.5px 5px 2.5px 10px;
|
||||
}
|
||||
|
||||
&.bullet.has-selection .category-drop-header {
|
||||
padding: 5px 10px;
|
||||
padding: 4.5px 5px 4.5px 10px;
|
||||
}
|
||||
|
||||
.category-drop-header {
|
||||
background: $primary-low;
|
||||
color: $primary;
|
||||
border: 1px solid transparent;
|
||||
padding: 5px 10px;
|
||||
padding: 4.5px 5px 4.5px 10px;
|
||||
font-size: $font-0;
|
||||
transition: none;
|
||||
|
||||
@ -47,6 +50,7 @@
|
||||
|
||||
.caret-icon {
|
||||
opacity: 1;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -7,13 +7,14 @@
|
||||
background: $primary-low;
|
||||
color: $primary;
|
||||
border: 1px solid transparent;
|
||||
padding: 5px 10px;
|
||||
padding: 4.5px 5px 4.5px 10px;
|
||||
font-size: $font-0;
|
||||
transition: none;
|
||||
|
||||
.d-icon {
|
||||
opacity: 1;
|
||||
font-size: $font-0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user