From a8e437e9a028a98d1fb609ee99061ace593e1909 Mon Sep 17 00:00:00 2001 From: Dimitrie Hoekstra Date: Wed, 15 Jul 2020 14:13:47 +0000 Subject: [PATCH] Replace for pipeline action buttons --- .../components/graph/action_component.vue | 10 +++--- app/assets/stylesheets/pages/pipelines.scss | 32 ++++--------------- 2 files changed, 11 insertions(+), 31 deletions(-) diff --git a/app/assets/javascripts/pipelines/components/graph/action_component.vue b/app/assets/javascripts/pipelines/components/graph/action_component.vue index c5e95036f4f9d2..912cf12d23abee 100644 --- a/app/assets/javascripts/pipelines/components/graph/action_component.vue +++ b/app/assets/javascripts/pipelines/components/graph/action_component.vue @@ -1,5 +1,5 @@ diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index 6cd8ea7aa3aa95..b94262f98127ce 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -669,24 +669,14 @@ &.ci-action-icon-wrapper { height: 30px; width: 30px; - background: $white; - border: 1px solid $border-color; border-radius: 100%; display: block; - - &:hover { - background-color: $gray-darker; - border: 1px solid $dropdown-toggle-active-border-color; - - svg { - fill: $gl-text-color; - } - } + padding: 0; + line-height: initial; svg { fill: $gl-text-color-secondary; - position: relative; - top: -1px; + vertical-align: initial; } .spinner { @@ -695,7 +685,8 @@ &.play { svg { - left: 2px; + left: 1px; + top: 1px; } } } @@ -846,27 +837,16 @@ button.mini-pipeline-graph-dropdown-toggle { height: $ci-action-dropdown-button-size; width: $ci-action-dropdown-button-size; - background: $white; - border: 1px solid $border-color; border-radius: 50%; display: block; - &:hover { - background-color: $gray-darker; - border: 1px solid $dropdown-toggle-active-border-color; - - svg { - fill: $gl-text-color; - } - } - .spinner, svg { width: $ci-action-dropdown-svg-size; height: $ci-action-dropdown-svg-size; fill: $gl-text-color-secondary; position: relative; - top: auto; + top: 1px; vertical-align: initial; } } -- GitLab