mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Fixes #14053: Don't show radio/checkbox in justified button groups
This commit is contained in:
parent
44f83fff90
commit
9be2bbb5ef
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
@ -3427,8 +3427,10 @@ tbody.collapse.in {
|
|||||||
.btn-group-justified > .btn-group .dropdown-menu {
|
.btn-group-justified > .btn-group .dropdown-menu {
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
[data-toggle="buttons"] > .btn > input[type="radio"],
|
[data-toggle="buttons"] > .btn input[type="radio"],
|
||||||
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
|
||||||
|
[data-toggle="buttons"] > .btn input[type="checkbox"],
|
||||||
|
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
filter: alpha(opacity=0);
|
filter: alpha(opacity=0);
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/js/customize.min.js
vendored
2
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
6
docs/dist/css/bootstrap.css
vendored
6
docs/dist/css/bootstrap.css
vendored
@ -3427,8 +3427,10 @@ tbody.collapse.in {
|
|||||||
.btn-group-justified > .btn-group .dropdown-menu {
|
.btn-group-justified > .btn-group .dropdown-menu {
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
[data-toggle="buttons"] > .btn > input[type="radio"],
|
[data-toggle="buttons"] > .btn input[type="radio"],
|
||||||
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
|
||||||
|
[data-toggle="buttons"] > .btn input[type="checkbox"],
|
||||||
|
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
filter: alpha(opacity=0);
|
filter: alpha(opacity=0);
|
||||||
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -232,9 +232,14 @@
|
|||||||
//
|
//
|
||||||
// See https://github.com/twbs/bootstrap/pull/12794 for more.
|
// See https://github.com/twbs/bootstrap/pull/12794 for more.
|
||||||
|
|
||||||
[data-toggle="buttons"] > .btn > input[type="radio"],
|
[data-toggle="buttons"] {
|
||||||
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
> .btn,
|
||||||
position: absolute;
|
> .btn-group > .btn {
|
||||||
z-index: -1;
|
input[type="radio"],
|
||||||
.opacity(0);
|
input[type="checkbox"] {
|
||||||
|
position: absolute;
|
||||||
|
z-index: -1;
|
||||||
|
.opacity(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user