diff options
| author | Mark Otto <[email protected]> | 2012-03-10 13:40:58 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-10 13:40:58 -0800 |
| commit | dd5cffc308f9c990ed40be074c864d0ed563ef12 (patch) | |
| tree | 1c6eb4a16d7408efc4f0ddf9c75128629df8a43b /less/button-groups.less | |
| parent | c7eb1ab49a585b58f2ef8ec8450a704cb5e0172c (diff) | |
| download | bootstrap-dd5cffc308f9c990ed40be074c864d0ed563ef12.tar.xz bootstrap-dd5cffc308f9c990ed40be074c864d0ed563ef12.zip | |
add button sizes to docs for button dropdowns, clean up styles for them
Diffstat (limited to 'less/button-groups.less')
| -rw-r--r-- | less/button-groups.less | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/less/button-groups.less b/less/button-groups.less index a70d0153d..e7ba6a065 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -98,6 +98,14 @@ *padding-top: 5px; *padding-bottom: 5px; } +.btn-group .btn-mini.dropdown-toggle { + padding-left: 5px; + padding-right: 5px; +} +.btn-group .btn-large.dropdown-toggle { + padding-left: 12px; + padding-right: 12px; +} .btn-group.open { // IE7's z-index only goes to the nearest positioned ancestor, which would @@ -127,6 +135,19 @@ .open.btn-group .caret { .opacity(100); } +// Carets in other button sizes +.btn-mini .caret { + margin-top: 5px; +} +.btn-small .caret { + margin-top: 6px; +} +.btn-large .caret { + margin-top: 6px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 5px solid @black; +} // Account for other colors |
