Skip to content

Commit c6144a0

Browse files
authored
Merge pull request #19614 from Simek/ui-tabs-horiz-faded-hover-accent
ui: use faded accent color for tabs-horiz border when hovered
2 parents b095ece + cb4cfa5 commit c6144a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/lib/css/component/_tabs-horiz.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
$c-tabs-active: $c-accent !default;
2+
$c-tabs-hover: $m-accent--fade-50 !default;
23

34
.tabs-horiz {
45
@extend %flex-center-nowrap, %page-text;
@@ -30,14 +31,13 @@ $c-tabs-active: $c-accent !default;
3031
letter-spacing: inherit;
3132
}
3233

33-
&.active,
3434
&:hover {
35-
color: $c-font-clear;
36-
border-color: $c-tabs-active;
35+
border-color: $c-tabs-hover;
3736
}
3837

3938
&.active {
4039
color: $c-tabs-active;
40+
border-color: $c-tabs-active;
4141
}
4242

4343
&.narrow {

0 commit comments

Comments
 (0)