1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 01:21:49 +02:00

Switch to btn-check

This commit is contained in:
Martijn Cuppens
2020-06-04 15:59:24 +02:00
committed by Mark Otto
parent 1a0a0858ef
commit 8b7b234fd1
7 changed files with 29 additions and 29 deletions

View File

@@ -24,14 +24,14 @@
text-decoration: if($link-hover-decoration == underline, none, null);
}
.btn-toggle:focus + &,
.btn-check:focus + &,
&:focus {
outline: 0;
box-shadow: $btn-focus-box-shadow;
}
.btn-toggle:checked + &,
.btn-toggle:active + &,
.btn-check:checked + &,
.btn-check:active + &,
&:active,
&.active {
@include box-shadow($btn-active-box-shadow);