summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-26 14:57:53 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-03 17:10:20 -0500
commiteccc1f5911ce686ca6d5ce32c7f25aa1f905609a (patch)
treec0901f80b89642753f634b30cefe84eac82efb1b
parent6974d970b40af6b01e14941314a09d250d87c8d3 (diff)
downloadgitlab-ce-eccc1f5911ce686ca6d5ce32c7f25aa1f905609a.tar.gz
Update classname for indeterminate state
-rw-r--r--app/assets/javascripts/labels_select.js.coffee2
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/labels_select.js.coffee b/app/assets/javascripts/labels_select.js.coffee
index da2c85967df..6a3c8de3009 100644
--- a/app/assets/javascripts/labels_select.js.coffee
+++ b/app/assets/javascripts/labels_select.js.coffee
@@ -205,7 +205,7 @@ class @LabelsSelect
if $dropdown.hasClass('js-filter-bulk-update')
indeterminate = instance.indeterminateIds
if indeterminate.indexOf(label.id) isnt -1
- selectedClass.push 'indeterminate'
+ selectedClass.push 'is-indeterminate'
if $form.find("input[type='hidden']\
[name='#{$dropdown.data('fieldName')}']\
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 6ef0405c7e7..d18d00c1e5e 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -232,7 +232,7 @@
a {
padding-left: 25px;
- &.indeterminate, &.is-active{
+ &.is-indeterminate, &.is-active{
&::before {
position: absolute;
left: 5px;
@@ -246,7 +246,7 @@
}
}
- &.indeterminate::before {
+ &.is-indeterminate::before {
content: "\f068";
}