button: change color on active for transparent buttons #726

This commit is contained in:
Sören Weber 2023-11-19 01:56:27 +01:00
parent e2079297ba
commit 6cdff186c0
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -369,7 +369,10 @@ pre:not(.mermaid) .copy-to-clipboard-button:hover {
.btn.cstyle.transparent:hover,
.btn.cstyle.transparent:focus,
.btn.cstyle.transparent:active {
.btn.cstyle.transparent:active,
.btn.cstyle.transparent:has(a:hover),
.btn.cstyle.transparent:has(a:focus),
.btn.cstyle.transparent:has(a:active) {
background-color: var(--INTERNAL-BOX-NEUTRAL-color);
}