Skip to content

Commit 8f48913

Browse files
authored
Fix merge section in dark theme (#12086)
* Fix merge section in dark theme * Fix lint
1 parent af7ffaa commit 8f48913

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
@@ -521,11 +521,6 @@ a:hover {
521521
color: #ffffff;
522522
}
523523

524-
.repository.view.issue .comment-list .comment .content > .bottom.segment a {
525-
border: solid 1px #353945;
526-
background-color: #353945;
527-
}
528-
529524
.ui.attached.header {
530525
background: #404552;
531526
border: 1px solid #404552;
@@ -953,21 +948,6 @@ a.ui.basic.green.label:hover {
953948
border: 1px solid #404552;
954949
}
955950

956-
.repository.view.issue .comment-list .comment .content > .bottom.segment {
957-
background: #353945;
958-
}
959-
960-
.repository.view.issue .comment-list .comment .content .header {
961-
color: #dbdbdb;
962-
background-color: #404552;
963-
border-bottom: 1px solid #353944;
964-
}
965-
966-
.repository.view.issue .comment-list .comment .content .merge-section {
967-
background-color: #404552;
968-
border-top: 1px solid #353944;
969-
}
970-
971951
.repository.view.issue .comment-list .event > .svg.issue-symbol {
972952
background: #3b4954;
973953
}
@@ -989,18 +969,41 @@ a.ui.basic.green.label:hover {
989969
color: #fff !important;
990970
}
991971

992-
.repository.view.issue .comment-list .comment .content .header:after {
993-
border-right-color: #404552;
972+
.repository.view.issue .comment-list .comment .content {
973+
> .bottom.segment {
974+
background: #353945;
975+
a {
976+
border: solid 1px #353945;
977+
background-color: #353945;
978+
}
979+
}
980+
981+
.header {
982+
color: #dbdbdb;
983+
background-color: #404552;
984+
border-bottom: 1px solid #353944;
985+
}
986+
987+
.merge-section {
988+
background-color: #404552;
989+
border-top: 1px solid #353944;
990+
}
991+
992+
.header:after,
993+
> .merge-section.no-header:after {
994+
border-right-color: #404552;
995+
}
996+
997+
.header:before,
998+
> .merge-section.no-header:before {
999+
border-right-color: #404552;
1000+
}
9941001
}
9951002

9961003
.repository.new.issue .comment.form .content:after {
9971004
border-right-color: #353945;
9981005
}
9991006

1000-
.repository.view.issue .comment-list .comment .content .header:before {
1001-
border-right-color: #404552;
1002-
}
1003-
10041007
.repository.new.issue .comment.form .content:before {
10051008
border-right-color: #353945;
10061009
}

0 commit comments

Comments
 (0)