Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-09-04 16:16:01 +0300
committerwinh <winnie@gitlab.com>2017-09-04 16:16:01 +0300
commitb354754f234055ac8bbb4b02cc9524d6da3843c3 (patch)
tree2131360a67f9fe5ac8230aa8ccdb21fc4f0c65bd /app/assets/stylesheets/framework/dropdowns.scss
parent6fffddab70825f5a0b63be39de0d332a79d42479 (diff)
Avoid @extend for .text-danger in dropdowns
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index a49f9f99872..e29e1806b38 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -756,7 +756,7 @@
// make sure the text color is not overriden
&.text-danger {
- @extend .text-danger;
+ color: $brand-danger;
}
&.is-focused,
@@ -765,6 +765,11 @@
&:focus {
background-color: $dropdown-item-hover-bg;
color: $gl-text-color;
+
+ // make sure the text color is not overriden
+ &.text-danger {
+ color: $brand-danger;
+ }
}
&.is-active {