diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-09 14:10:32 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-12-08 11:56:04 +0100 |
commit | 915d2b9ba2be51f1e6874a7e29ed6855632da1fe (patch) | |
tree | 93142f01ea6d770c6427dae595d23cef76871f09 | |
parent | e5747f87a0e16ec95ab92308b9309719f33f0382 (diff) | |
download | gitlab-ce-915d2b9ba2be51f1e6874a7e29ed6855632da1fe.tar.gz |
Make new .text-danger style global
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index d249a69493d..74161567ab5 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -153,6 +153,11 @@ white-space: nowrap; overflow: hidden; + // make sure the text color is not overriden + &.text-danger { + color: $brand-danger; + } + &:hover, &:focus, &.is-focused { @@ -783,11 +788,6 @@ } } - // make sure the text color is not overriden - &.text-danger { - color: $brand-danger; - } - &.is-focused, &:hover, &:active, @@ -796,11 +796,6 @@ background-color: $dropdown-item-hover-bg; color: $gl-text-color; - - // make sure the text color is not overriden - &.text-danger { - color: $brand-danger; - } } } |