Commit 40fd2977 authored by Dennis Tang's avatar Dennis Tang Committed by Phil Hughes

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
parent 691d88b7
...@@ -129,7 +129,7 @@ export default { ...@@ -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 }}
......
...@@ -412,10 +412,6 @@ table.pipeline-project-metrics tr td { ...@@ -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;
......
...@@ -37,7 +37,7 @@ ...@@ -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
......
---
title: Ensure visibility icons in group/project listings are grey
merge_request: 30858
author:
type: fixed
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