2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00

Reintroduce :active, but *not* for button checks/radios

This commit is contained in:
Patrick H. Lauke
2022-08-25 18:36:26 +01:00
parent a98f616a51
commit 6ea6edd65a
+3
View File
@@ -62,6 +62,9 @@
}
.btn-check:checked + &,
:not(.btn-check) + &:active,
&:first-child:active,
&.active,
&.show {
color: var(--#{$prefix}btn-active-color);
background-color: var(--#{$prefix}btn-active-bg);