diff options
author | Dennis Tang <750946-dennis@users.noreply.gitlab.com> | 2019-07-18 11:55:04 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-07-18 11:55:04 +0300 |
commit | 40fd2977c51f2f4f51d63ba790fb5fa2acfd866d (patch) | |
tree | 80fe9a90238c539f2efd23803ba2ecb242b80634 /app | |
parent | 691d88b71d51786983b823207d876cee7c93f5d4 (diff) |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/groups/components/group_item.vue | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/groups.scss | 4 | ||||
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue index 9909f437fc8..830385941d8 100644 --- a/app/assets/javascripts/groups/components/group_item.vue +++ b/app/assets/javascripts/groups/components/group_item.vue @@ -129,7 +129,7 @@ export default { <item-stats-value :icon-name="visibilityIcon" :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"> {{ group.permission }} diff --git a/app/assets/stylesheets/pages/groups.scss b/app/assets/stylesheets/pages/groups.scss index cff2e274390..1502cf18440 100644 --- a/app/assets/stylesheets/pages/groups.scss +++ b/app/assets/stylesheets/pages/groups.scss @@ -412,10 +412,6 @@ table.pipeline-project-metrics tr td { font-size: $gl-font-size-large; } - .item-visibility { - color: $gl-text-color-secondary; - } - @include media-breakpoint-down(md) { .title { font-size: $gl-font-size; diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index 6cdd5026d52..04f72420fe1 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -37,7 +37,7 @@ %span.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) - if explore_projects_tab? && project.repository.license |