style: add hover styles to focus
This commit is contained in:
parent
f1c9fa5622
commit
1a61aeade0
5 changed files with 27 additions and 18 deletions
|
@ -97,6 +97,11 @@ a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
text-decoration-style: double;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
padding: 0.4em 1em;
|
padding: 0.4em 1em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover,
|
||||||
|
&:focus {
|
||||||
box-shadow: 2px 2px gray;
|
box-shadow: 2px 2px gray;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
|
|
||||||
&:hover {
|
&:hover,
|
||||||
|
&:focus {
|
||||||
border-color: $dark;
|
border-color: $dark;
|
||||||
|
|
||||||
& .item-tile__title-wrapper {
|
& .item-tile__title-wrapper {
|
||||||
|
|
|
@ -66,7 +66,8 @@
|
||||||
padding: 0.4em;
|
padding: 0.4em;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
|
|
||||||
&:hover {
|
&:hover,
|
||||||
|
&:focus {
|
||||||
background-color: #ffffd0;
|
background-color: #ffffd0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
color: $light;
|
color: $light;
|
||||||
border-color: $light;
|
border-color: $light;
|
||||||
|
|
||||||
&:hover {
|
&:hover,
|
||||||
|
&:focus {
|
||||||
background-color: $dark;
|
background-color: $dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue