Skip to content

Commit ad4dde1

Browse files
silverwindzeripath
andauthored
More arc-green fixes (#13247) (#13253)
- Fix various white borders - Tweak basic button style to have more contrast - Add more contrast to hover styles - Invert Matrix webhook icon May backport to 1.13. Co-authored-by: zeripath <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent d51c574 commit ad4dde1

File tree

1 file changed

+57
-38
lines changed

1 file changed

+57
-38
lines changed

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

Lines changed: 57 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,10 @@
384384
}
385385
}
386386

387+
.repository .ui.segment.sub-menu .list .item a:hover {
388+
color: #fff;
389+
}
390+
387391
.ui.horizontal.segments > .segment {
388392
background-color: #383c4a;
389393
}
@@ -535,15 +539,26 @@ a:hover {
535539
.ui.secondary.menu .link.item:hover,
536540
.ui.secondary.menu .active.item:hover,
537541
.ui.secondary.menu a.item:hover,
538-
.ui.dropdown .menu .active.item {
539-
color: #ffffff;
542+
.ui.dropdown .menu .active.item,
543+
.ui.link.menu .item:hover,
544+
.ui.menu .dropdown.item:hover,
545+
.ui.menu .link.item:hover,
546+
.ui.menu a.item:hover,
547+
.ui.menu .active.item {
548+
color: #dbdbdb;
549+
background: #454b5a;
540550
}
541551

542552
.ui.menu .ui.dropdown .menu > .item {
543-
background: #2c303a !important;
544553
color: #9e9e9e !important;
545554
}
546555

556+
.ui.menu .ui.dropdown .menu > .item:hover,
557+
.ui.menu .ui.dropdown .menu > .selected.item {
558+
color: #dbdbdb !important;
559+
background: #454b5a !important;
560+
}
561+
547562
.ui.secondary.menu .dropdown.item > .menu,
548563
.ui.text.menu .dropdown.item > .menu {
549564
border: 1px solid #434444;
@@ -559,12 +574,8 @@ footer {
559574
background: #2c303a;
560575
}
561576

562-
.ui.menu .ui.dropdown .menu > .item:hover,
563-
.ui.menu .ui.dropdown .menu > .selected.item {
564-
color: #ffffff !important;
565-
}
566-
567-
.ui.dropdown .menu > .header {
577+
.ui.dropdown .menu > .header,
578+
.ui.dropdown .menu > .header:not(.ui) {
568579
color: #dbdbdb;
569580
}
570581

@@ -585,19 +596,6 @@ footer {
585596
background: #4b5162;
586597
}
587598

588-
.ui.link.menu .item:hover,
589-
.ui.menu .dropdown.item:hover,
590-
.ui.menu .link.item:hover,
591-
.ui.menu a.item:hover {
592-
color: #dbdbdb;
593-
background: #454b5a;
594-
}
595-
596-
.ui.menu .active.item {
597-
background: #4b5162;
598-
color: #dbdbdb;
599-
}
600-
601599
.ui.input input {
602600
background: #404552;
603601
border: 1px solid #4b505f;
@@ -651,26 +649,12 @@ a.ui.basic.green.label:hover {
651649
color: #129c92;
652650
}
653651

654-
.ui.basic.button,
655-
.ui.basic.buttons .button {
656-
color: #797979;
657-
}
658-
659652
.ui.basic.red.active.button,
660653
.ui.basic.red.buttons .active.button {
661654
box-shadow: 0 0 0 1px #c75252 inset !important;
662655
color: #c75252 !important;
663656
}
664657

665-
.ui.basic.button:focus,
666-
.ui.basic.button:hover,
667-
.ui.basic.buttons .button:focus,
668-
.ui.basic.buttons .button:hover {
669-
color: #dbdbdb;
670-
box-shadow: 0 0 0 1px rgba(200, 200, 200, .35) inset;
671-
background: rgba(0, 0, 0, .5);
672-
}
673-
674658
.ui.menu .item {
675659
background: #404552;
676660
color: #9e9e9e;
@@ -861,6 +845,22 @@ a.ui.basic.green.label:hover {
861845
color: #dbdbdb;
862846
}
863847

848+
.ui.basic.button,
849+
.ui.basic.buttons .button {
850+
color: #9e9e9e;
851+
background: rgba(0, 0, 0, .08);
852+
box-shadow: none;
853+
}
854+
855+
.ui.basic.button:focus,
856+
.ui.basic.button:hover,
857+
.ui.basic.buttons .button:focus,
858+
.ui.basic.buttons .button:hover {
859+
color: #dbdbdb;
860+
background: rgba(255, 255, 255, .08);
861+
box-shadow: none;
862+
}
863+
864864
.ui.labeled.button:not([class*="left labeled"]) > .label,
865865
.ui[class*="left labeled"].button > .button {
866866
background: #404552;
@@ -1040,6 +1040,7 @@ a.ui.basic.green.label:hover {
10401040

10411041
.ui.dropdown .menu > .item:hover {
10421042
color: #dbdbdb;
1043+
background: #353945;
10431044
}
10441045

10451046
.ui.dropdown .menu > .item {
@@ -1130,6 +1131,15 @@ a.ui.basic.green.label:hover {
11301131
background: radial-gradient(#383c4a 40%, transparent 40%) no-repeat;
11311132
}
11321133

1134+
.repository.file.editor .commit-form-wrapper .commit-form {
1135+
border-color: #505667;
1136+
}
1137+
1138+
.repository.file.editor .commit-form-wrapper .commit-form::before,
1139+
.repository.file.editor .commit-form-wrapper .commit-form::after {
1140+
border-right-color: #505667;
1141+
}
1142+
11331143
.repository .comment.form .content .form:after {
11341144
border-right-color: #313c47;
11351145
}
@@ -1236,7 +1246,7 @@ td.blob-hunk {
12361246
.ui.card,
12371247
.ui.cards > .card {
12381248
background: #353945;
1239-
box-shadow: 0 1px 3px 0 #4c505c, 0 0 0 1px #4c505c;
1249+
box-shadow: 0 0 0 1px #4c505c;
12401250
}
12411251

12421252
.ui.card > .content > .header,
@@ -1707,13 +1717,18 @@ a.ui.labels .label:hover {
17071717
border-color: #634343 !important;
17081718
}
17091719

1720+
.organization.settings .labelspage .item,
17101721
.organization.teams .repositories .item:not(:last-child),
17111722
.organization.teams .members .item:not(:last-child),
17121723
.organization.teams .detail .item:not(:last-child),
17131724
.organization.members .list .item {
17141725
border-bottom-color: #404552;
17151726
}
17161727

1728+
.organization.settings .labelspage .item a:hover {
1729+
color: #fff;
1730+
}
1731+
17171732
.ui.blue.button:active,
17181733
.ui.blue.buttons .button:active {
17191734
background-color: #a27558;
@@ -1770,7 +1785,7 @@ a.ui.labels .label:hover {
17701785
}
17711786

17721787
.editor-toolbar i.separator {
1773-
border-right-color: #7f98ad;
1788+
border-right-color: #87ab63;
17741789
}
17751790

17761791
.repository .diff-detail-box {
@@ -2058,6 +2073,10 @@ footer .container .links > * {
20582073
color: #2a2e3a;
20592074
}
20602075

2076+
img[src$="/img/matrix.svg"] {
2077+
filter: invert(80%);
2078+
}
2079+
20612080
#git-graph-container.monochrome #rel-container .flow-group {
20622081
stroke: dimgrey;
20632082
fill: dimgrey;

0 commit comments

Comments
 (0)