mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
fix(editor): Use :focus-visible
instead for :focus
for buttons (#10921)
This commit is contained in:
parent
a2237d128f
commit
bf28d0965c
|
@ -53,7 +53,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus:not(:active, .active) {
|
&:focus-visible:not(:active, .active) {
|
||||||
color: $button-focus-font-color unquote($important);
|
color: $button-focus-font-color unquote($important);
|
||||||
border-color: $button-focus-border-color unquote($important);
|
border-color: $button-focus-border-color unquote($important);
|
||||||
background-color: $button-focus-background-color unquote($important);
|
background-color: $button-focus-background-color unquote($important);
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
&,
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus-visible {
|
||||||
color: $button-disabled-font-color;
|
color: $button-disabled-font-color;
|
||||||
border-color: $button-disabled-border-color;
|
border-color: $button-disabled-border-color;
|
||||||
background-color: $button-disabled-background-color;
|
background-color: $button-disabled-background-color;
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
&,
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus-visible {
|
||||||
color: $button-loading-font-color;
|
color: $button-loading-font-color;
|
||||||
border-color: $button-loading-border-color;
|
border-color: $button-loading-border-color;
|
||||||
background-color: $button-loading-background-color;
|
background-color: $button-loading-background-color;
|
||||||
|
|
Loading…
Reference in a new issue