summaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-07-02 12:36:45 +0300
committerGitHub <noreply@github.com>2020-07-02 10:36:45 +0100
commit47b1fc51496dd108bbe8f1ef34fc2a51c7901d98 (patch)
tree4f7b28b4179e0644c9fa59b5284c72a631260609 /web_src/less
parent20c2bdf86b96b279ccde2d222dff5c9fd2327703 (diff)
downloadgitea-47b1fc51496dd108bbe8f1ef34fc2a51c7901d98.tar.gz
gitea-47b1fc51496dd108bbe8f1ef34fc2a51c7901d98.zip
Fix merge section in dark theme (#12086) (#12109)
Backport #12086 * Fix merge section in dark theme * Fix lint
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/themes/theme-arc-green.less55
1 files 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 bfefb5298a..2dc64d71e7 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;
}