Edit link and button style
This commit is contained in:
parent
596a26537b
commit
fdaf3240d3
2 changed files with 14 additions and 5 deletions
|
@ -2,7 +2,16 @@
|
||||||
// ANIMATIONS
|
// ANIMATIONS
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
@keyframes expand-outline {
|
@keyframes expand-outline-2px {
|
||||||
|
0% {
|
||||||
|
outline-offset: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes expand-outline-4px {
|
||||||
0% {
|
0% {
|
||||||
outline-offset: 0;
|
outline-offset: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,9 +139,9 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
outline: 1px dashed var(--accent-color);
|
outline: 1px dashed var(--accent-color-light);
|
||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
animation: expand-outline 200ms ease-in-out;
|
animation: expand-outline-2px 200ms ease-in-out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,9 +172,9 @@ button {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
outline: 1px dashed var(--accent-color);
|
outline: 1px dashed var(--accent-color-light);
|
||||||
outline-offset: 4px;
|
outline-offset: 4px;
|
||||||
animation: expand-outline 200ms ease-in-out;
|
animation: expand-outline-4px 200ms ease-in-out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue