mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
button: fix focus and text decoration #577
This commit is contained in:
parent
3fbf35add8
commit
9c72a05c17
4 changed files with 7 additions and 6 deletions
|
@ -565,8 +565,8 @@
|
|||
}
|
||||
|
||||
.btn > *:hover,
|
||||
.btn > *:focus,
|
||||
.btn > *:active {
|
||||
.btn > *:active,
|
||||
.btn > *:focus {
|
||||
background-color: rgba( 255, 255, 255, .833 ); /* var(--BOX-BG-color) */
|
||||
color: rgba( 16, 16, 16, 1 ); /* var(--BOX-NEUTRAL-TEXT-color) */
|
||||
}
|
||||
|
|
|
@ -253,8 +253,8 @@ body .btn.cstyle.transparent > * {
|
|||
}
|
||||
|
||||
body .btn.cstyle.transparent > *:hover,
|
||||
body .btn.cstyle.transparent > *:focus,
|
||||
body .btn.cstyle.transparent > *:active {
|
||||
body .btn.cstyle.transparent > *:active,
|
||||
body .btn.cstyle.transparent > *:focus {
|
||||
background-color: var(--INTERNAL-MAIN-TITLES-TEXT-color);
|
||||
color: var(--INTERNAL-MAIN-TEXT-color);
|
||||
}
|
||||
|
|
|
@ -1415,6 +1415,7 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
|
|||
}
|
||||
|
||||
.btn > *:hover,
|
||||
.btn > *:active,
|
||||
.btn > *:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -326,8 +326,8 @@ pre .copy-to-clipboard-button:hover {
|
|||
}
|
||||
|
||||
.btn > *:hover,
|
||||
.btn > *:focus,
|
||||
.btn > *:active {
|
||||
.btn > *:active,
|
||||
.btn > *:focus {
|
||||
background-color: var(--VARIABLE-BOX-BG-color);
|
||||
color: var(--VARIABLE-BOX-TEXT-color);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue