Make use of :focus-visible when needed.
This commit is contained in:
parent
44a15013b5
commit
308e9d961b
2 changed files with 3 additions and 3 deletions
|
|
@ -8,12 +8,12 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus,
|
&:focus-visible,
|
||||||
&:hover {
|
&:hover {
|
||||||
.icon-link {
|
.icon-link {
|
||||||
opacity: .3;
|
opacity: .3;
|
||||||
|
|
||||||
&:focus,
|
&:focus-visible,
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover svg,
|
&:hover svg,
|
||||||
&:focus svg {
|
&:focus-visible svg {
|
||||||
fill: var(--color-text-bg);
|
fill: var(--color-text-bg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue