From dd5cffc308f9c990ed40be074c864d0ed563ef12 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 10 Mar 2012 13:40:58 -0800 Subject: add button sizes to docs for button dropdowns, clean up styles for them --- less/button-groups.less | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'less/button-groups.less') 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 -- cgit v1.2.3