File tree Expand file tree Collapse file tree 3 files changed +19
-19
lines changed
components/QueriesActivityBar
containers/Tenant/Diagnostics/TenantOverview/TabCard Expand file tree Collapse file tree 3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 3030 transition : background-color 0.15s ease ;
3131
3232 & :hover {
33- background-color : var (--g-color-base-simple -hover );
33+ background-color : var (--g-color-base-float -hover );
3434 }
3535
3636 #{$b } _expanded & {
Original file line number Diff line number Diff line change 11.tenant-tab-card {
22 border-radius : var (--g-border-radius-s );
33
4- & _clickable {
4+ & __help-icon {
5+ color : var (--g-color-text-hint );
6+ }
7+
8+ & __card-container {
9+ padding : var (--g-spacing-4 );
10+
11+ border : 0 ;
12+ border-radius : var (--g-border-radius-s );
13+ }
14+
15+ & __card-container_clickable {
516 cursor : pointer ;
617
718 // Smooth hover transition
819 transition : background-color 0.15s ease ;
920
1021 & :hover {
11- background-color : var (--g-color-base-simple -hover );
22+ background-color : var (--g-color-base-float -hover );
1223 }
1324 }
1425
15- & _active {
26+ & __card-container_active {
1627 cursor : default !important ;
17- // Active tabs should not have hover background change
18- & .tenant-tab-card_clickable :hover {
28+
29+ & :hover {
1930 background-color : transparent ;
2031 }
2132 }
22-
23- & __help-icon {
24- color : var (--g-color-text-hint );
25- }
26-
27- & __card-container {
28- padding : var (--g-spacing-4 );
29-
30- border : 0 ;
31- border-radius : var (--g-border-radius-s );
32- }
3333}
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ export function TabCard({
4747 }
4848
4949 return (
50- < div className = { b ( { clickable , active} ) } >
50+ < div className = { b ( { active} ) } >
5151 < Card
52- className = { b ( 'card-container' , { active} ) }
52+ className = { b ( 'card-container' , { active, clickable } ) }
5353 type = "container"
5454 view = { active ? 'outlined' : 'raised' }
5555 >
You can’t perform that action at this time.
0 commit comments