File tree 1 file changed +18
-2
lines changed
1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 158
158
}
159
159
160
160
.spectrum-Table-row {
161
- & : hover ,
161
+ & . is-focused ,
162
162
& : focus-visible ,
163
- & .is-focused {
163
+ & : focus {
164
+ --spectrum-table-cell-background-color : aqua;
165
+
166
+ & : hover {
167
+ --spectrum-table-cell-background-color : green;
168
+ }
169
+ }
170
+
171
+ & : hover {
164
172
--highcontrast-table-row-text-color : var (--highcontrast-table-row-text-color-hover );
165
173
--highcontrast-table-icon-color : var (--highcontrast-table-row-text-color-hover );
166
174
--spectrum-table-cell-background-color : var (--highcontrast-table-row-background-color-hover , var (--mod-table-row-background-color-hover , var (--spectrum-table-row-background-color-hover )));
176
184
--highcontrast-table-row-text-color : var (--highcontrast-table-selected-row-text-color );
177
185
--highcontrast-table-icon-color : var (--highcontrast-table-selected-row-text-color );
178
186
--spectrum-table-cell-background-color : var (--highcontrast-table-selected-row-background-color , var (--spectrum-table-selected-cell-background-color ));
187
+ --spectrum-table-cell-background-color : orange;
179
188
180
189
& : hover ,
181
190
& : focus-visible ,
182
191
& .is-focused {
183
192
--highcontrast-table-row-text-color : var (--highcontrast-table-selected-row-text-color-focus );
184
193
--highcontrast-table-icon-color : var (--highcontrast-table-selected-row-text-color-focus );
185
194
--spectrum-table-cell-background-color : var (--highcontrast-table-selected-row-background-color-focus , var (--spectrum-table-selected-cell-background-color-focus ));
195
+ --spectrum-table-cell-background-color : hotpink;
186
196
}
187
197
}
188
198
219
229
}
220
230
}
221
231
232
+ .spectrum-Table-cell {
233
+ & : focus-visible {
234
+ --spectrum-table-cell-background-color : lime;
235
+ }
236
+ }
237
+
222
238
.spectrum-Table-scroller {
223
239
--spectrum-table-header-background-color : var (--mod-table-header-background-color-scrollable , var (--spectrum-background-layer-1-color , var (--spectrum-gray-75 )));
224
240
}
You can’t perform that action at this time.
0 commit comments