mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02:00
Remove checkbox/radio toggle from button plugin in favor of a CSS only solution
This commit is contained in:
committed by
Mark Otto
parent
1b2ea5efb1
commit
1a0a0858ef
@@ -24,12 +24,14 @@
|
||||
text-decoration: if($link-hover-decoration == underline, none, null);
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&.focus {
|
||||
.btn-toggle:focus + &,
|
||||
&:focus {
|
||||
outline: 0;
|
||||
box-shadow: $btn-focus-box-shadow;
|
||||
}
|
||||
|
||||
.btn-toggle:checked + &,
|
||||
.btn-toggle:active + &,
|
||||
&:active,
|
||||
&.active {
|
||||
@include box-shadow($btn-active-box-shadow);
|
||||
@@ -81,8 +83,7 @@
|
||||
text-decoration: $link-hover-decoration;
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&.focus {
|
||||
&:focus {
|
||||
text-decoration: $link-hover-decoration;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user