|
30 | 30 | --reactist-tab-border-width: 1px; |
31 | 31 | --reactist-tab-padding-x: var(--reactist-spacing-medium); |
32 | 32 | --reactist-tab-padding-y: var(--reactist-spacing-small); |
| 33 | + --reactist-tab-font-size: var(--reactist-font-size-body); |
| 34 | + --reactist-tab-font-weight: var(--reactist-font-weight-medium); |
33 | 35 | --reactist-tab-line-height: 21px; |
34 | 36 | } |
35 | 37 |
|
|
39 | 41 | border: none; |
40 | 42 | background: none; |
41 | 43 | cursor: pointer; |
42 | | - font-size: var(--reactist-font-size-body); |
43 | | - font-weight: var(--reactist-font-weight-medium); |
| 44 | + font-size: var(--reactist-tab-font-size); |
| 45 | + font-weight: var(--reactist-tab-font-weight); |
44 | 46 | line-height: var(--reactist-tab-line-height); |
45 | 47 | z-index: 1; |
46 | 48 | text-decoration: none; |
|
88 | 90 | color: var(--reactist-tab-neutral-selected-tint); |
89 | 91 | } |
90 | 92 |
|
91 | | -.tab[aria-selected='false']:hover, |
92 | | -.tab-neutral[aria-selected='false']:hover { |
93 | | - background-color: var(--reactist-tab-neutral-hover-fill); |
94 | | - color: var(--reactist-tab-neutral-hover-tint); |
95 | | -} |
96 | | - |
97 | 93 | .tab[aria-disabled='true'], |
98 | 94 | .tab-neutral[aria-disabled='true'] { |
99 | 95 | background-color: var(--reactist-tab-neutral-disabled-fill); |
100 | 96 | color: var(--reactist-tab-neutral-disabled-tint); |
101 | 97 | cursor: not-allowed; |
102 | 98 | } |
103 | 99 |
|
| 100 | +.tab[aria-selected='false']:not([aria-disabled='true']):hover, |
| 101 | +.tab-neutral[aria-selected='false']:not([aria-disabled='true']):hover { |
| 102 | + background-color: var(--reactist-tab-neutral-hover-fill); |
| 103 | + color: var(--reactist-tab-neutral-hover-tint); |
| 104 | +} |
| 105 | + |
104 | 106 | .tab-themed { |
105 | 107 | background-color: var(--reactist-tab-themed-unselected-fill); |
106 | 108 | color: var(--reactist-tab-themed-unselected-tint); |
|
110 | 112 | color: var(--reactist-tab-themed-selected-tint); |
111 | 113 | } |
112 | 114 |
|
113 | | -.tab-themed[aria-selected='false']:hover { |
114 | | - background-color: var(--reactist-tab-themed-hover-fill); |
115 | | - color: var(--reactist-tab-themed-hover-tint); |
116 | | -} |
117 | | - |
118 | 115 | .tab-themed[aria-disabled='true'] { |
119 | 116 | background-color: var(--reactist-tab-themed-disabled-fill); |
120 | 117 | color: var(--reactist-tab-themed-disabled-tint); |
121 | 118 | } |
122 | 119 |
|
| 120 | +.tab-themed[aria-selected='false']:not([aria-disabled='true']):hover { |
| 121 | + background-color: var(--reactist-tab-themed-hover-fill); |
| 122 | + color: var(--reactist-tab-themed-hover-tint); |
| 123 | +} |
| 124 | + |
123 | 125 | .track, |
124 | 126 | .track-neutral { |
125 | 127 | background: var(--reactist-tab-neutral-track); |
|
0 commit comments