From dd67d3a5acb54941f95679ede6a0305f6f9a8b9a Mon Sep 17 00:00:00 2001 From: samdbeckham Date: Tue, 29 Jan 2019 18:07:23 +0000 Subject: New styling for dismissed reports - Translations for DISMISSED --- .../javascripts/reports/components/report_item.vue | 2 +- app/assets/stylesheets/pages/reports.scss | 19 +++++++++++++++---- locale/gitlab.pot | 3 +++ 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/reports/components/report_item.vue b/app/assets/javascripts/reports/components/report_item.vue index 839e86bdf17..a53a7d3628c 100644 --- a/app/assets/javascripts/reports/components/report_item.vue +++ b/app/assets/javascripts/reports/components/report_item.vue @@ -35,7 +35,7 @@ export default { diff --git a/app/assets/stylesheets/pages/reports.scss b/app/assets/stylesheets/pages/reports.scss index f7619ccbd20..c21334a6594 100644 --- a/app/assets/stylesheets/pages/reports.scss +++ b/app/assets/stylesheets/pages/reports.scss @@ -112,11 +112,22 @@ display: flex; align-items: flex-start; align-content: flex-start; -} -.is-dismissed .report-block-list-issue-description, -.is-dismissed .vulnerability-name-button { - text-decoration: line-through; + ~ .is-dismissed { + border-top: 1px solid $gray-dark; + margin-top: $gl-padding-top; + padding-top: $gl-padding-top; + } + + .is-dismissed { + opacity: .5; + + + .is-dismissed { + border: 0; + margin: 0; + padding: 0; + } + } } .report-block-list-issue-description-text::after { diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 92784f2c49d..8b3de7a65df 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -2540,6 +2540,9 @@ msgstr "" msgid "CycleAnalyticsStage|Test" msgstr "" +msgid "DISMISSED" +msgstr "" + msgid "DNS" msgstr "" -- cgit v1.2.1