diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-29 21:17:08 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-29 21:17:08 +0000 |
commit | f7254a4060b30e3134c6cf932eaba0fc8e249e9a (patch) | |
tree | c0ad0b6d0e712e3ade897420846a35ec80b28a47 /app | |
parent | fbe8dfb3008a0502fbc6234a169851a70707b7b6 (diff) | |
parent | 5d3b6ed8619f2301dcad0ceba00d151863f4081e (diff) | |
download | gitlab-ce-f7254a4060b30e3134c6cf932eaba0fc8e249e9a.tar.gz |
Merge branch '40629-icon-styles' into 'master'
fix icon colors in commit list
Closes #40629
See merge request gitlab-org/gitlab-ce!15640
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/icons.scss | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/app/assets/stylesheets/framework/icons.scss b/app/assets/stylesheets/framework/icons.scss index 9e45ed52163..e2084e8f85f 100644 --- a/app/assets/stylesheets/framework/icons.scss +++ b/app/assets/stylesheets/framework/icons.scss @@ -1,62 +1,48 @@ .ci-status-icon-success, .ci-status-icon-passed { - &, - &:hover, - &:focus { - color: $green-500; + svg { + fill: $green-500; } } .ci-status-icon-failed { - &, - &:hover, - &:focus { - color: $gl-danger; + svg { + fill: $gl-danger; } } .ci-status-icon-pending, .ci-status-icon-failed_with_warnings, .ci-status-icon-success_with_warnings { - &, - &:hover, - &:focus { - color: $orange-500; + svg { + fill: $orange-500; } } .ci-status-icon-running { - &, - &:hover, - &:focus { - color: $blue-400; + svg { + fill: $blue-400; } } .ci-status-icon-canceled, .ci-status-icon-disabled, .ci-status-icon-not-found { - &, - &:hover, - &:focus { - color: $gl-text-color; + svg { + fill: $gl-text-color; } } .ci-status-icon-created, .ci-status-icon-skipped { - &, - &:hover, - &:focus { - color: $gray-darkest; + svg { + fill: $gray-darkest; } } .ci-status-icon-manual { - &, - &:hover, - &:focus { - color: $gl-text-color; + svg { + fill: $gl-text-color; } } |