fix: focus styles
This commit is contained in:
parent
0462a19913
commit
7a81812ea4
3 changed files with 13 additions and 13 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "21.3.3",
|
"version": "21.3.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "21.3.3",
|
"version": "21.3.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.4.0",
|
"@cdransf/api-text": "^1.4.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "21.3.3",
|
"version": "21.3.4",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -21,16 +21,16 @@
|
||||||
right: var(--sizing-lg);
|
right: var(--sizing-lg);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
& svg {
|
|
||||||
stroke: var(--accent-color);
|
|
||||||
transform: rotate(0deg);
|
|
||||||
transition: transform var(--transition-duration-default) var(--transition-ease-in-out);
|
|
||||||
|
|
||||||
&:focus,
|
&:focus,
|
||||||
&:focus-within {
|
&:focus-within {
|
||||||
outline: var(--outline)
|
outline: var(--outline)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& svg {
|
||||||
|
stroke: var(--accent-color);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
transition: transform var(--transition-duration-default) var(--transition-ease-in-out);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active {
|
&:active {
|
||||||
|
@ -59,17 +59,17 @@
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
|
&:focus-within {
|
||||||
|
outline: var(--outline)
|
||||||
|
}
|
||||||
|
|
||||||
& svg {
|
& svg {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
stroke: var(--accent-color);
|
stroke: var(--accent-color);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
transition: transform var(--transition-duration-default) var(--transition-ease-in-out);
|
transition: transform var(--transition-duration-default) var(--transition-ease-in-out);
|
||||||
|
|
||||||
&:focus,
|
|
||||||
&:focus-within {
|
|
||||||
outline: var(--outline)
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active {
|
&:active {
|
||||||
|
|
Reference in a new issue