1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +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

@@ -25,7 +25,7 @@
border-color: $hover-border;
}
.btn-toggle:focus + &,
.btn-check:focus + &,
&:focus {
color: $hover-color;
@include gradient-bg($hover-background);
@@ -38,8 +38,8 @@
}
}
.btn-toggle:checked + &,
.btn-toggle:active + &,
.btn-check:checked + &,
.btn-check:active + &,
&:active,
&.active,
.show > &.dropdown-toggle {
@@ -85,13 +85,13 @@
border-color: $active-border;
}
.btn-toggle:focus + &,
.btn-check:focus + &,
&:focus {
box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
}
.btn-toggle:checked + &,
.btn-toggle:active + &,
.btn-check:checked + &,
.btn-check:active + &,
&:active,
&.active,
&.dropdown-toggle.show {