Make new .text-danger style global

This commit is contained in:
Winnie Hellmann 2017-10-09 14:10:32 +02:00
parent e5747f87a0
commit 915d2b9ba2

View file

@ -153,6 +153,11 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
// make sure the text color is not overriden
&.text-danger {
color: $brand-danger;
}
&:hover, &:hover,
&:focus, &:focus,
&.is-focused { &.is-focused {
@ -783,11 +788,6 @@
} }
} }
// make sure the text color is not overriden
&.text-danger {
color: $brand-danger;
}
&.is-focused, &.is-focused,
&:hover, &:hover,
&:active, &:active,
@ -796,11 +796,6 @@
background-color: $dropdown-item-hover-bg; background-color: $dropdown-item-hover-bg;
color: $gl-text-color; color: $gl-text-color;
// make sure the text color is not overriden
&.text-danger {
color: $brand-danger;
}
} }
} }