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:
authorPhil Hughes <me@iamphill.com>2017-09-05 10:40:34 +0300
committerPhil Hughes <me@iamphill.com>2017-09-05 10:40:34 +0300
commit2ca7f90afed5289ea4e6cd0016ed7d0af994f353 (patch)
treeff2f1444b84f227e97b7e5d4ec79b2006f78a03d /app/assets/stylesheets/framework/dropdowns.scss
parent2db0e4c6480e9c1145003d6353275879fa3da0f6 (diff)
parentb354754f234055ac8bbb4b02cc9524d6da3843c3 (diff)
Merge branch 'winh-text-danger-selector' into 'master'
Avoid @extend for .text-danger in dropdowns Closes #37396 See merge request !14030
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 fad991f2c49..b1638fe8b61 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -768,7 +768,7 @@
// make sure the text color is not overriden
&.text-danger {
- @extend .text-danger;
+ color: $brand-danger;
}
&.is-focused,
@@ -777,6 +777,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 {