mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
add support for button dropdowns in justified button groups
This commit is contained in:
parent
2172e2ea8a
commit
ba4c5dae9b
8
dist/css/bootstrap.css
vendored
8
dist/css/bootstrap.css
vendored
@ -1953,6 +1953,7 @@ output {
|
|||||||
|
|
||||||
.form-control::-moz-placeholder {
|
.form-control::-moz-placeholder {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control:-ms-input-placeholder {
|
.form-control:-ms-input-placeholder {
|
||||||
@ -3865,12 +3866,17 @@ input[type="button"].btn-block {
|
|||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-justified .btn {
|
.btn-group-justified > .btn,
|
||||||
|
.btn-group-justified > .btn-group {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
float: none;
|
float: none;
|
||||||
width: 1%;
|
width: 1%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-group-justified > .btn-group .btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
[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 > input[type="checkbox"] {
|
||||||
display: none;
|
display: none;
|
||||||
|
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
@ -238,11 +238,15 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
.btn {
|
> .btn,
|
||||||
|
> .btn-group {
|
||||||
float: none;
|
float: none;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
width: 1%;
|
width: 1%;
|
||||||
}
|
}
|
||||||
|
> .btn-group .btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user