Skip to content

Commit 47b1fc5

Browse files
authored
Fix merge section in dark theme (#12086) (#12109)
Backport #12086 * Fix merge section in dark theme * Fix lint
1 parent 20c2bdf commit 47b1fc5

File tree

1 file changed

+29
-26
lines changed

1 file changed

+29
-26
lines changed

web_src/less/themes/theme-arc-green.less

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,6 @@ a:hover {
200200
color: #ffffff;
201201
}
202202

203-
.repository.view.issue .comment-list .comment .content > .bottom.segment a {
204-
border: solid 1px #353945;
205-
background-color: #353945;
206-
}
207-
208203
.ui.attached.header {
209204
background: #404552;
210205
border: 1px solid #404552;
@@ -641,21 +636,6 @@ a.ui.basic.green.label:hover {
641636
border: 1px solid #404552;
642637
}
643638

644-
.repository.view.issue .comment-list .comment .content > .bottom.segment {
645-
background: #353945;
646-
}
647-
648-
.repository.view.issue .comment-list .comment .content .header {
649-
color: #dbdbdb;
650-
background-color: #404552;
651-
border-bottom: 1px solid #353944;
652-
}
653-
654-
.repository.view.issue .comment-list .comment .content .merge-section {
655-
background-color: #404552;
656-
border-top: 1px solid #353944;
657-
}
658-
659639
.repository.view.issue .comment-list .event > .svg.issue-symbol {
660640
background: #3b4954;
661641
}
@@ -677,18 +657,41 @@ a.ui.basic.green.label:hover {
677657
color: #fff !important;
678658
}
679659

680-
.repository.view.issue .comment-list .comment .content .header:after {
681-
border-right-color: #404552;
660+
.repository.view.issue .comment-list .comment .content {
661+
> .bottom.segment {
662+
background: #353945;
663+
a {
664+
border: solid 1px #353945;
665+
background-color: #353945;
666+
}
667+
}
668+
669+
.header {
670+
color: #dbdbdb;
671+
background-color: #404552;
672+
border-bottom: 1px solid #353944;
673+
}
674+
675+
.merge-section {
676+
background-color: #404552;
677+
border-top: 1px solid #353944;
678+
}
679+
680+
.header:after,
681+
> .merge-section.no-header:after {
682+
border-right-color: #404552;
683+
}
684+
685+
.header:before,
686+
> .merge-section.no-header:before {
687+
border-right-color: #404552;
688+
}
682689
}
683690

684691
.repository.new.issue .comment.form .content:after {
685692
border-right-color: #353945;
686693
}
687694

688-
.repository.view.issue .comment-list .comment .content .header:before {
689-
border-right-color: #404552;
690-
}
691-
692695
.repository.new.issue .comment.form .content:before {
693696
border-right-color: #353945;
694697
}

0 commit comments

Comments
 (0)