mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 03:24:20 +00:00
♿ Add an outline to keyboard-focused buttons
This commit is contained in:
parent
81efc147f8
commit
325c2698c5
9 changed files with 9 additions and 9 deletions
2
src/rules/skeleton.less
vendored
2
src/rules/skeleton.less
vendored
|
@ -159,7 +159,7 @@
|
|||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline: 3px solid @hex-link-hover !important;
|
||||
outline: 4px solid @b7 !important;
|
||||
}
|
||||
|
||||
&:active {
|
||||
|
|
|
@ -252,7 +252,7 @@
|
|||
background-color: rgba(calc(var(--bluelib-color-r) - 20), calc(var(--bluelib-color-g) - 20), calc(var(--bluelib-color-b) - 20), 1);
|
||||
}
|
||||
.bluelib .button:focus-visible {
|
||||
outline: 3px solid #006b6b !important;
|
||||
outline: 4px solid rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.7) !important;
|
||||
}
|
||||
.bluelib .button:active {
|
||||
background-color: rgba(calc(var(--bluelib-color-r) - 50), calc(var(--bluelib-color-g) - 50), calc(var(--bluelib-color-b) - 50), 1);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -907,7 +907,7 @@ body .button:focus-visible,
|
|||
body button:focus-visible,
|
||||
.base-skeleton input[type="submit"]:focus-visible,
|
||||
body input[type="submit"]:focus-visible {
|
||||
outline: 3px solid #006b6b !important;
|
||||
outline: 4px solid rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.7) !important;
|
||||
}
|
||||
.base-skeleton .button:active,
|
||||
body .button:active,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -252,7 +252,7 @@
|
|||
background-color: rgba(calc(var(--bluelib-color-r) + 20), calc(var(--bluelib-color-g) + 20), calc(var(--bluelib-color-b) + 20), 1);
|
||||
}
|
||||
.bluelib .button:focus-visible {
|
||||
outline: 3px solid #00ffff !important;
|
||||
outline: 4px solid rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.7) !important;
|
||||
}
|
||||
.bluelib .button:active {
|
||||
background-color: rgba(calc(var(--bluelib-color-r) + 50), calc(var(--bluelib-color-g) + 50), calc(var(--bluelib-color-b) + 50), 1);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -907,7 +907,7 @@ body .button:focus-visible,
|
|||
body button:focus-visible,
|
||||
.base-skeleton input[type="submit"]:focus-visible,
|
||||
body input[type="submit"]:focus-visible {
|
||||
outline: 3px solid #00ffff !important;
|
||||
outline: 4px solid rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.7) !important;
|
||||
}
|
||||
.base-skeleton .button:active,
|
||||
body .button:active,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue