diff options
| author | Mark Otto <[email protected]> | 2013-08-13 10:31:29 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-13 10:31:29 -0700 |
| commit | d4b14cbf442140d1462200e5f5c8ea2faeac5332 (patch) | |
| tree | 556d2102e0fca065da8d830a923adb3d219df5f0 /dist/css/bootstrap.css | |
| parent | 99312d2d8302244fa1bf7c6fa41076bc799f458f (diff) | |
| parent | 69a3e9b4d07cdaa281525c067f11ea83e1863f1b (diff) | |
| download | bootstrap-d4b14cbf442140d1462200e5f5c8ea2faeac5332.tar.xz bootstrap-d4b14cbf442140d1462200e5f5c8ea2faeac5332.zip | |
Merge pull request #9424 from twbs/bs3_btn_groups
BS3: `.btn-group`s for your `.btn-group`s
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 56 |
1 files changed, 51 insertions, 5 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 66a62ae04..324fdd754 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -3551,27 +3551,73 @@ button.close { border-bottom-width: 5px; } -.btn-group-vertical > .btn { +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group { display: block; float: none; width: 100%; max-width: 100%; } -.btn-group-vertical > .btn + .btn { +.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; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; } -.btn-group-vertical .btn:not(:first-child):not(:last-child) { +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } -.btn-group-vertical .btn:first-child:not(:last-child) { +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } -.btn-group-vertical .btn:last-child:not(:first-child) { +.btn-group-vertical > .btn-group:last-child > .btn:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } |
