From 915d2b9ba2be51f1e6874a7e29ed6855632da1fe Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Mon, 9 Oct 2017 14:10:32 +0200 Subject: [PATCH] Make new .text-danger style global --- app/assets/stylesheets/framework/dropdowns.scss | 15 +++++---------- 1 file 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; - } } }