diff options
| author | Mark Otto <[email protected]> | 2012-06-19 14:42:46 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-06-19 14:42:46 -0700 |
| commit | b54264cde0b1e72fbb463e4aa272ed1c2876bd02 (patch) | |
| tree | 868d23d81c6cf39a002d196be438927f4450e14e /docs/assets/css/bootstrap.css | |
| parent | 64ba423b6d06c98e95e23d8c34df62a47a421a03 (diff) | |
| download | bootstrap-b54264cde0b1e72fbb463e4aa272ed1c2876bd02.tar.xz bootstrap-b54264cde0b1e72fbb463e4aa272ed1c2876bd02.zip | |
add basic vertical button group support
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 3389eb403..d957e861a 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3171,6 +3171,48 @@ input[type="submit"].btn.btn-mini { filter: alpha(opacity=75); } +.btn-group-vertical { + display: inline-block; +} + +.btn-group-vertical .btn { + display: block; + float: none; + width: 100%; + margin-left: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-group-vertical .btn + .btn { + margin-top: -1px; +} + +.btn-group-vertical .btn:first-child { + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.btn-group-vertical .btn:last-child { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.btn-group-vertical .btn-large:first-child { + -webkit-border-radius: 6px 6px 0 0; + -moz-border-radius: 6px 6px 0 0; + border-radius: 6px 6px 0 0; +} + +.btn-group-vertical .btn-large:last-child { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} + .alert { padding: 8px 35px 8px 14px; margin-bottom: 18px; |
