Ensure visibility icons in group/project listings are grey

- Project listing icons now use the `text-secondary` class
- Group listing icons now use the `text-secondary` class
  - Unnecessary CSS was removed from groups.scss as a result
This commit is contained in:
Dennis Tang 2019-07-18 08:55:04 +00:00 committed by Phil Hughes
parent 691d88b71d
commit 40fd2977c5
4 changed files with 7 additions and 6 deletions

View file

@ -129,7 +129,7 @@ export default {
<item-stats-value <item-stats-value
:icon-name="visibilityIcon" :icon-name="visibilityIcon"
:title="visibilityTooltip" :title="visibilityTooltip"
css-class="item-visibility d-inline-flex align-items-center prepend-top-8 append-right-4" css-class="item-visibility d-inline-flex align-items-center prepend-top-8 append-right-4 text-secondary"
/> />
<span v-if="group.permission" class="user-access-role prepend-top-8"> <span v-if="group.permission" class="user-access-role prepend-top-8">
{{ group.permission }} {{ group.permission }}

View file

@ -412,10 +412,6 @@ table.pipeline-project-metrics tr td {
font-size: $gl-font-size-large; font-size: $gl-font-size-large;
} }
.item-visibility {
color: $gl-text-color-secondary;
}
@include media-breakpoint-down(md) { @include media-breakpoint-down(md) {
.title { .title {
font-size: $gl-font-size; font-size: $gl-font-size;

View file

@ -37,7 +37,7 @@
%span.project-name< %span.project-name<
= project.name = project.name
%span.metadata-info.visibility-icon.append-right-10.prepend-top-8.has-tooltip{ data: { container: 'body', placement: 'top' }, title: visibility_icon_description(project) } %span.metadata-info.visibility-icon.append-right-10.prepend-top-8.text-secondary.has-tooltip{ data: { container: 'body', placement: 'top' }, title: visibility_icon_description(project) }
= visibility_level_icon(project.visibility_level, fw: true) = visibility_level_icon(project.visibility_level, fw: true)
- if explore_projects_tab? && project.repository.license - if explore_projects_tab? && project.repository.license

View file

@ -0,0 +1,5 @@
---
title: Ensure visibility icons in group/project listings are grey
merge_request: 30858
author:
type: fixed