Skip to content

Commit fc15e59

Browse files
CirnoTsilverwindzeripath
authored
Make tabular menu styling consistent for arc-green (#11570) (#11798)
* Make tabular menu styling consistent for arc-green * rework completely * transparent borders * use darker color for active item; override only colors for borders * Update web_src/less/themes/theme-arc-green.less Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: zeripath <[email protected]> (cherry picked from commit 4395c60)
1 parent 78f0b5b commit fc15e59

File tree

1 file changed

+24
-28
lines changed

1 file changed

+24
-28
lines changed

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

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -385,22 +385,6 @@ a.ui.basic.green.label:hover {
385385
background-color: #2a2e3a;
386386
}
387387

388-
.ui.tabular.menu .active.item {
389-
background: #383c4a;
390-
color: #dbdbdb;
391-
border-left: 1px solid transparent;
392-
border-right: 1px solid transparent;
393-
border-top: 0;
394-
}
395-
396-
.ui.tabular.menu .item {
397-
color: #9e9e9e;
398-
}
399-
400-
.ui.tabular.menu .item:hover {
401-
color: #dbdbdb;
402-
}
403-
404388
.ui.header,
405389
.ui.breadcrumb .divider {
406390
color: #9e9e9e;
@@ -531,15 +515,31 @@ a.ui.basic.green.label:hover {
531515
border-bottom: 1px solid #304251;
532516
}
533517

534-
.repository.wiki.new .ui.container form .ui.tabular.menu {
535-
border-bottom: 1px solid rgba(187, 187, 187, .6);
518+
.ui.tabular.menu {
519+
border-bottom-color: rgba(187, 187, 187, .24);
520+
521+
.item.active {
522+
border-top-color: transparent;
523+
border-left-color: transparent;
524+
border-right-color: transparent;
525+
background: #404552;
526+
color: #dbdbdb;
527+
}
528+
529+
.item {
530+
color: #9e9e9e;
531+
}
532+
533+
.item:hover {
534+
color: #dbdbdb;
535+
}
536536

537-
.active.item {
538-
border-top: 1px solid rgba(187, 187, 187, .6);
539-
border-left: 1px solid rgba(187, 187, 187, .6);
540-
border-right: 1px solid rgba(187, 187, 187, .6);
541-
&:hover {
542-
background: #4b5162;
537+
&.navbar {
538+
.item.active {
539+
background: #383c4a;
540+
border-left-color: transparent;
541+
border-right-color: transparent;
542+
border-top: none;
543543
}
544544
}
545545
}
@@ -819,10 +819,6 @@ a.ui.basic.green.label:hover {
819819
color: #dbdbdb !important;
820820
}
821821

822-
.ui.tabular.menu {
823-
border-bottom: 1px solid #313c47;
824-
}
825-
826822
.ui.card,
827823
.ui.cards > .card {
828824
background: #353945;

0 commit comments

Comments
 (0)