From 47b1fc51496dd108bbe8f1ef34fc2a51c7901d98 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Thu, 2 Jul 2020 12:36:45 +0300 Subject: [PATCH] Fix merge section in dark theme (#12086) (#12109) Backport #12086 * Fix merge section in dark theme * Fix lint --- web_src/less/themes/theme-arc-green.less | 55 +++++++++++++----------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index bfefb5298..2dc64d71e 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -200,11 +200,6 @@ a:hover { color: #ffffff; } -.repository.view.issue .comment-list .comment .content > .bottom.segment a { - border: solid 1px #353945; - background-color: #353945; -} - .ui.attached.header { background: #404552; border: 1px solid #404552; @@ -641,21 +636,6 @@ a.ui.basic.green.label:hover { border: 1px solid #404552; } -.repository.view.issue .comment-list .comment .content > .bottom.segment { - background: #353945; -} - -.repository.view.issue .comment-list .comment .content .header { - color: #dbdbdb; - background-color: #404552; - border-bottom: 1px solid #353944; -} - -.repository.view.issue .comment-list .comment .content .merge-section { - background-color: #404552; - border-top: 1px solid #353944; -} - .repository.view.issue .comment-list .event > .svg.issue-symbol { background: #3b4954; } @@ -677,18 +657,41 @@ a.ui.basic.green.label:hover { color: #fff !important; } -.repository.view.issue .comment-list .comment .content .header:after { - border-right-color: #404552; +.repository.view.issue .comment-list .comment .content { + > .bottom.segment { + background: #353945; + a { + border: solid 1px #353945; + background-color: #353945; + } + } + + .header { + color: #dbdbdb; + background-color: #404552; + border-bottom: 1px solid #353944; + } + + .merge-section { + background-color: #404552; + border-top: 1px solid #353944; + } + + .header:after, + > .merge-section.no-header:after { + border-right-color: #404552; + } + + .header:before, + > .merge-section.no-header:before { + border-right-color: #404552; + } } .repository.new.issue .comment.form .content:after { border-right-color: #353945; } -.repository.view.issue .comment-list .comment .content .header:before { - border-right-color: #404552; -} - .repository.new.issue .comment.form .content:before { border-right-color: #353945; }