From 1d6f37861ed04201f90b0248fc23e51b529addac Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Thu, 23 Nov 2017 21:13:57 +1100 Subject: override a:focus styles. fix Commit page pipeline icon --- app/assets/stylesheets/framework/icons.scss | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'app/assets/stylesheets/framework/icons.scss') diff --git a/app/assets/stylesheets/framework/icons.scss b/app/assets/stylesheets/framework/icons.scss index 2fc8a3508d5..9e45ed52163 100644 --- a/app/assets/stylesheets/framework/icons.scss +++ b/app/assets/stylesheets/framework/icons.scss @@ -1,14 +1,16 @@ .ci-status-icon-success, .ci-status-icon-passed { &, - &:hover { + &:hover, + &:focus { color: $green-500; } } .ci-status-icon-failed { &, - &:hover { + &:hover, + &:focus { color: $gl-danger; } } @@ -17,14 +19,16 @@ .ci-status-icon-failed_with_warnings, .ci-status-icon-success_with_warnings { &, - &:hover { + &:hover, + &:focus { color: $orange-500; } } .ci-status-icon-running { &, - &:hover { + &:hover, + &:focus { color: $blue-400; } } @@ -33,7 +37,8 @@ .ci-status-icon-disabled, .ci-status-icon-not-found { &, - &:hover { + &:hover, + &:focus { color: $gl-text-color; } } @@ -41,14 +46,16 @@ .ci-status-icon-created, .ci-status-icon-skipped { &, - &:hover { + &:hover, + &:focus { color: $gray-darkest; } } .ci-status-icon-manual { &, - &:hover { + &:hover, + &:focus { color: $gl-text-color; } } -- cgit v1.2.1