chore: styles
This commit is contained in:
parent
f805d2a71f
commit
d3b31cc796
5 changed files with 26 additions and 3 deletions
|
@ -560,6 +560,27 @@ li {
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
.hidden-visually {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
|
||||
&:focus {
|
||||
clip: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
position: static;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.screen-readers-only:not(:focus):not(:active) {
|
||||
clip: rect(0 0 0 0);
|
||||
clip-path: inset(50%);
|
||||
|
|
Reference in a new issue