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 160
160
}
161
161
162
162
.spectrum-Table-row {
163
- & : hover ,
163
+ & . is-focused ,
164
164
& : focus-visible ,
165
- & .is-focused {
165
+ & : focus {
166
+ --spectrum-table-cell-background-color : aqua;
167
+
168
+ & : hover {
169
+ --spectrum-table-cell-background-color : green;
170
+ }
171
+ }
172
+
173
+ & : hover {
166
174
--highcontrast-table-row-text-color : var (--highcontrast-table-row-text-color-hover );
167
175
--highcontrast-table-icon-color : var (--highcontrast-table-row-text-color-hover );
168
176
--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 )));
178
186
--highcontrast-table-row-text-color : var (--highcontrast-table-selected-row-text-color );
179
187
--highcontrast-table-icon-color : var (--highcontrast-table-selected-row-text-color );
180
188
--spectrum-table-cell-background-color : var (--highcontrast-table-selected-row-background-color , var (--spectrum-table-selected-cell-background-color ));
189
+ --spectrum-table-cell-background-color : orange;
181
190
182
191
& : hover ,
183
192
& : focus-visible ,
184
193
& .is-focused {
185
194
--highcontrast-table-row-text-color : var (--highcontrast-table-selected-row-text-color-focus );
186
195
--highcontrast-table-icon-color : var (--highcontrast-table-selected-row-text-color-focus );
187
196
--spectrum-table-cell-background-color : var (--highcontrast-table-selected-row-background-color-focus , var (--spectrum-table-selected-cell-background-color-focus ));
197
+ --spectrum-table-cell-background-color : hotpink;
188
198
}
189
199
}
190
200
221
231
}
222
232
}
223
233
234
+ .spectrum-Table-cell {
235
+ & : focus-visible {
236
+ --spectrum-table-cell-background-color : lime;
237
+ }
238
+ }
239
+
224
240
.spectrum-Table-scroller {
225
241
--spectrum-table-header-background-color : var (--mod-table-header-background-color-scrollable , var (--spectrum-background-layer-1-color , var (--spectrum-gray-75 )));
226
242
}
You can’t perform that action at this time.
0 commit comments