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;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
text-decoration-style: double;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
::selection {
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
.label--button {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
inline-size: fit-content;
|
||||
margin-inline: auto;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
inline-size: fit-content;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.button {
|
||||
border: 2px solid $dark;
|
||||
background-color: $light;
|
||||
padding: 0.4em 1em;
|
||||
cursor: pointer;
|
||||
border: 2px solid $dark;
|
||||
background-color: $light;
|
||||
padding: 0.4em 1em;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 2px 2px gray;
|
||||
}
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: 2px 2px gray;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
box-sizing: border-box;
|
||||
border: 2px solid transparent;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-color: $dark;
|
||||
|
||||
& .item-tile__title-wrapper {
|
||||
|
|
|
@ -66,7 +66,8 @@
|
|||
padding: 0.4em;
|
||||
background-color: inherit;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: #ffffd0;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
color: $light;
|
||||
border-color: $light;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $dark;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue