Comment out :focus-visible CSS rules to prevent console warnings

This commit is contained in:
Dan Stillman 2021-02-11 01:19:13 -05:00
parent 224eb6bc84
commit ed406ec118

View file

@ -171,14 +171,14 @@ $toolbar-btn-icon-active-offset: 0;
box-shadow: $toolbar-btn-box-shadow-2x; box-shadow: $toolbar-btn-box-shadow-2x;
} }
&:focus-visible { /*&:focus-visible {
box-shadow: $toolbar-btn-focus-box-shadow; box-shadow: $toolbar-btn-focus-box-shadow;
z-index: 1; z-index: 1;
@include retina { @include retina {
box-shadow: $toolbar-btn-focus-box-shadow-2x; box-shadow: $toolbar-btn-focus-box-shadow-2x;
} }
} }*/
&:-moz-focusring { &:-moz-focusring {
box-shadow: $toolbar-btn-focus-box-shadow; box-shadow: $toolbar-btn-focus-box-shadow;
@ -248,7 +248,7 @@ $toolbar-btn-icon-active-offset: 0;
box-shadow: none; box-shadow: none;
position: relative; position: relative;
&:focus-visible { /*&:focus-visible {
z-index: 2; // Chrome z-index: 2; // Chrome
&::after { &::after {
@ -265,7 +265,7 @@ $toolbar-btn-icon-active-offset: 0;
box-shadow: inset 0 0 0 1px rgba($accent-color, 0.5), 0 0 0 2.5px rgba($accent-color, 0.5); box-shadow: inset 0 0 0 1px rgba($accent-color, 0.5), 0 0 0 2.5px rgba($accent-color, 0.5);
} }
} }
} }*/
&:-moz-focusring { &:-moz-focusring {
&::after { &::after {
@ -289,12 +289,12 @@ $toolbar-btn-icon-active-offset: 0;
margin-right: 0; margin-right: 0;
background: none; background: none;
&:focus-visible { /*&:focus-visible {
&::after { &::after {
border-top-left-radius: 5px; border-top-left-radius: 5px;
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
} }
} }*/
&:-moz-focusring { &:-moz-focusring {
&::after { &::after {
@ -337,12 +337,12 @@ $toolbar-btn-icon-active-offset: 0;
} }
} }
&:focus-visible { /*&:focus-visible {
&::after { &::after {
border-top-right-radius: 5px; border-top-right-radius: 5px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
} }
} }*/
&:-moz-focusring { &:-moz-focusring {
&::after { &::after {