Commit e5493cfd authored by Justin Ho's avatar Justin Ho

Fix alignment / color of some icons

Add changelog
Sync pairing with @jeldergl
parent 6061a294
...@@ -41,15 +41,6 @@ ...@@ -41,15 +41,6 @@
width: 20%; width: 20%;
} }
.fa,
svg {
color: $cycle-analytics-light-gray;
&:hover {
color: $gl-text-color;
}
}
.stage-header { .stage-header {
width: 20.5%; width: 20.5%;
} }
......
...@@ -25,6 +25,10 @@ $space-between-cards: 8px; ...@@ -25,6 +25,10 @@ $space-between-cards: 8px;
margin-left: 8px; margin-left: 8px;
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
.devops-header-icon {
vertical-align: px-to-rem(-$gl-spacing-scale-1);
}
a { a {
font-size: 18px; font-size: 18px;
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
= _('DevOps') = _('DevOps')
%br %br
= _('Score') = _('Score')
= link_to sprite_icon('question-o'), help_page_path('user/admin_area/analytics/dev_ops_report') = link_to sprite_icon('question-o', css_class: 'devops-header-icon'), help_page_path('user/admin_area/analytics/dev_ops_report')
.devops-cards.board-card-container .devops-cards.board-card-container
- @metric.cards.each do |card| - @metric.cards.each do |card|
......
...@@ -41,22 +41,22 @@ ...@@ -41,22 +41,22 @@
%span.stage-name.font-weight-bold %span.stage-name.font-weight-bold
{{ s__('ProjectLifecycle|Stage') }} {{ s__('ProjectLifecycle|Stage') }}
%span.has-tooltip{ "data-placement" => "top", title: _("The phase of the development lifecycle."), "aria-hidden" => "true" } %span.has-tooltip{ "data-placement" => "top", title: _("The phase of the development lifecycle."), "aria-hidden" => "true" }
= sprite_icon('question-o') = sprite_icon('question-o', css_class: 'gl-text-gray-500')
%li.median-header %li.median-header
%span.stage-name.font-weight-bold %span.stage-name.font-weight-bold
{{ __('Median') }} {{ __('Median') }}
%span.has-tooltip{ "data-placement" => "top", title: _("The value lying at the midpoint of a series of observed values. E.g., between 3, 5, 9, the median is 5. Between 3, 5, 7, 8, the median is (5+7)/2 = 6."), "aria-hidden" => "true" } %span.has-tooltip{ "data-placement" => "top", title: _("The value lying at the midpoint of a series of observed values. E.g., between 3, 5, 9, the median is 5. Between 3, 5, 7, 8, the median is (5+7)/2 = 6."), "aria-hidden" => "true" }
= sprite_icon('question-o') = sprite_icon('question-o', css_class: 'gl-text-gray-500')
%li.event-header.pl-3 %li.event-header.pl-3
%span.stage-name.font-weight-bold %span.stage-name.font-weight-bold
{{ currentStage ? __(currentStage.legend) : __('Related Issues') }} {{ currentStage ? __(currentStage.legend) : __('Related Issues') }}
%span.has-tooltip{ "data-placement" => "top", title: _("The collection of events added to the data gathered for that stage."), "aria-hidden" => "true" } %span.has-tooltip{ "data-placement" => "top", title: _("The collection of events added to the data gathered for that stage."), "aria-hidden" => "true" }
= sprite_icon('question-o') = sprite_icon('question-o', css_class: 'gl-text-gray-500')
%li.total-time-header.pr-5.text-right %li.total-time-header.pr-5.text-right
%span.stage-name.font-weight-bold %span.stage-name.font-weight-bold
{{ __('Time') }} {{ __('Time') }}
%span.has-tooltip{ "data-placement" => "top", title: _("The time taken by each data entry gathered by that stage."), "aria-hidden" => "true" } %span.has-tooltip{ "data-placement" => "top", title: _("The time taken by each data entry gathered by that stage."), "aria-hidden" => "true" }
= sprite_icon('question-o') = sprite_icon('question-o', css_class: 'gl-text-gray-500')
.stage-panel-body .stage-panel-body
%nav.stage-nav %nav.stage-nav
%ul %ul
......
---
title: Replace fa-question-circle icons with GitLab SVG question-o icon
merge_request: 41970
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment