Skip to content

Commit 9194913

Browse files
authored
Merge pull request #333 from topcoder-platform/PROD-1944_tabs-hover
PROD-1944 - Add Hover Effect on Tabs navbar
2 parents 04c44b4 + 47fa4f6 commit 9194913

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src-ts/lib/tabs-navbar/TabsNavbar.module.scss

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,27 @@
1515
gap: 4px;
1616

1717
padding: $pad-md $pad-lg calc($pad-md - 2px);
18+
color: $black-80;
1819
cursor: pointer;
19-
20+
2021
&:global(.active) {
22+
color: $black-100;
2123
.tab-label {
22-
color: $black-100;
24+
@include font-weight-bold;
25+
}
26+
}
27+
28+
&:hover {
29+
color: $black-100;
30+
background-color: $blue-25;
31+
&:global(.active) ~ .active-icon > svg path:last-child {
32+
fill: $blue-25;
2333
}
2434
}
2535
}
2636

2737
.tab-label {
2838
@extend .medium-tab;
29-
color: $black-80;
3039
}
3140

3241
.tab-badge {

0 commit comments

Comments
 (0)