diff options
author | Mark Otto <markotto@twitter.com> | 2012-03-11 01:40:58 +0400 |
---|---|---|
committer | Mark Otto <markotto@twitter.com> | 2012-03-11 01:40:58 +0400 |
commit | dd5cffc308f9c990ed40be074c864d0ed563ef12 (patch) | |
tree | 1c6eb4a16d7408efc4f0ddf9c75128629df8a43b /less | |
parent | c7eb1ab49a585b58f2ef8ec8450a704cb5e0172c (diff) |
add button sizes to docs for button dropdowns, clean up styles for them
Diffstat (limited to 'less')
-rw-r--r-- | less/button-groups.less | 21 | ||||
-rw-r--r-- | less/dropdowns.less | 5 |
2 files changed, 21 insertions, 5 deletions
diff --git a/less/button-groups.less b/less/button-groups.less index a70d0153dc..e7ba6a065e 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 diff --git a/less/dropdowns.less b/less/dropdowns.less index e98dc45573..3e74b68ff0 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -42,11 +42,6 @@ .opacity(100); } -// Small button dropdowns -.btn-small .caret { - margin-top: 6px; -} - // The dropdown menu (ul) // ---------------------- .dropdown-menu { |