diff options
| author | Mark Otto <[email protected]> | 2013-08-13 10:24:18 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-13 10:24:18 -0700 |
| commit | 69a3e9b4d07cdaa281525c067f11ea83e1863f1b (patch) | |
| tree | 5a784335befb78591350bdc2fd17c55cba583a3b /dist/css/bootstrap.css | |
| parent | f15f259876d77004fadf5b5937af5ab6b5eabb8e (diff) | |
| download | bootstrap-69a3e9b4d07cdaa281525c067f11ea83e1863f1b.tar.xz bootstrap-69a3e9b4d07cdaa281525c067f11ea83e1863f1b.zip | |
enable button groups in vertical button groups
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 91b66ec7a..324fdd754 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -3559,10 +3559,34 @@ button.close { max-width: 100%; } -.btn-group-vertical .btn + .btn, -.btn-group-vertical .btn + .btn-group, -.btn-group-vertical .btn-group + .btn, -.btn-group-vertical .btn-group + .btn-group { +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { margin-top: -1px; margin-left: 0; } @@ -3589,14 +3613,12 @@ button.close { .btn-group-vertical > .btn-group:first-child > .btn:last-child, .btn-group-vertical > .btn-group:first-child > .dropdown-toggle { - border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn-group:last-child > .btn:first-child { border-top-right-radius: 0; - border-bottom-left-radius: 4px; border-top-left-radius: 0; } |
