@@ -148,7 +148,9 @@ bdi {
148
148
text-shadow : var (--_ui5_button_text_shadow );
149
149
}
150
150
151
- : host ([design = "Positive" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]): hover ) {
151
+ /*The ui5_hovered class is set by FileUploader to indicate hover state of the control*/
152
+ : host ([design = "Positive" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]): hover ),
153
+ : host ([design = "Positive" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]).ui5_hovered ) {
152
154
background-color : var (--sapButton_Accept_Hover_Background );
153
155
border-color : var (--_ui5_button_positive_border_hover_color );
154
156
}
@@ -176,7 +178,9 @@ bdi {
176
178
text-shadow : var (--_ui5_button_text_shadow );
177
179
}
178
180
179
- : host ([design = "Negative" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]): hover ) {
181
+ /*The ui5_hovered class is set by FileUploader to indicate hover state of the control*/
182
+ : host ([design = "Negative" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]): hover ),
183
+ : host ([design = "Negative" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]).ui5_hovered ) {
180
184
background-color : var (--sapButton_Reject_Hover_Background );
181
185
border-color : var (--sapButton_Reject_Hover_BorderColor );
182
186
}
@@ -205,10 +209,13 @@ bdi {
205
209
font-weight : var (--_ui5_button_emphasized_font_weight );
206
210
}
207
211
208
- : host ([design = "Emphasized" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]): hover ) {
212
+ /*The ui5_hovered class is set by FileUploader to indicate hover state of the control*/
213
+ : host ([design = "Emphasized" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]): hover ),
214
+ : host ([design = "Emphasized" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]).ui5_hovered ) {
209
215
background-color : var (--sapButton_Emphasized_Hover_Background );
210
216
border-color : var (--sapButton_Emphasized_Hover_BorderColor );
211
217
}
218
+
212
219
: host ([ui5-button ][design = "Empasized" ][active ]: not ([non-interactive ])) {
213
220
background-color : var (--sapButton_Emphasized_Active_Background );
214
221
border-color : var (--sapButton_Emphasized_Active_BorderColor );
@@ -232,6 +239,12 @@ bdi {
232
239
background-color : var (--sapButton_Lite_Hover_Background );
233
240
}
234
241
242
+ /*The ui5_hovered class is set by FileUploader to indicate hover state of the control*/
243
+ : host ([design = "Transparent" ]: not ([active ]): not ([non-interactive ]): not ([_is-touch ]).ui5_hovered ){
244
+ background-color : var (--sapButton_Lite_Hover_Background );
245
+ border-color : var (--_ui5_button_transparent_hover_border_color );
246
+ }
247
+
235
248
: host ([ui5-button ][design = "Transparent" ][active ]: not ([non-interactive ])) {
236
249
background-color : var (--sapButton_Active_Background );
237
250
color : var (--sapButton_Active_TextColor );
0 commit comments