button: fix focus and text decoration #577

This commit is contained in:
Sören Weber 2023-07-26 21:32:17 +02:00
parent 3fbf35add8
commit 9c72a05c17
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
4 changed files with 7 additions and 6 deletions

View file

@ -565,8 +565,8 @@
} }
.btn > *:hover, .btn > *:hover,
.btn > *:focus, .btn > *:active,
.btn > *:active { .btn > *:focus {
background-color: rgba( 255, 255, 255, .833 ); /* var(--BOX-BG-color) */ background-color: rgba( 255, 255, 255, .833 ); /* var(--BOX-BG-color) */
color: rgba( 16, 16, 16, 1 ); /* var(--BOX-NEUTRAL-TEXT-color) */ color: rgba( 16, 16, 16, 1 ); /* var(--BOX-NEUTRAL-TEXT-color) */
} }

View file

@ -253,8 +253,8 @@ body .btn.cstyle.transparent > * {
} }
body .btn.cstyle.transparent > *:hover, 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); background-color: var(--INTERNAL-MAIN-TITLES-TEXT-color);
color: var(--INTERNAL-MAIN-TEXT-color); color: var(--INTERNAL-MAIN-TEXT-color);
} }

View file

@ -1415,6 +1415,7 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
} }
.btn > *:hover, .btn > *:hover,
.btn > *:active,
.btn > *:focus { .btn > *:focus {
text-decoration: none; text-decoration: none;
} }

View file

@ -326,8 +326,8 @@ pre .copy-to-clipboard-button:hover {
} }
.btn > *:hover, .btn > *:hover,
.btn > *:focus, .btn > *:active,
.btn > *:active { .btn > *:focus {
background-color: var(--VARIABLE-BOX-BG-color); background-color: var(--VARIABLE-BOX-BG-color);
color: var(--VARIABLE-BOX-TEXT-color); color: var(--VARIABLE-BOX-TEXT-color);
} }