diff options
| author | Mark Otto <[email protected]> | 2012-07-30 12:52:44 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-07-30 12:52:44 -0700 |
| commit | b2ebd5c46ca538142c5cd4164328c56053b5c79d (patch) | |
| tree | 8281ab10e54759ebf419618d9dae82cf4c6c2dcd /less/button-groups.less | |
| parent | 7fa99fb1fe9392f61cb5c46f7e5082e73e8b8784 (diff) | |
| download | bootstrap-b2ebd5c46ca538142c5cd4164328c56053b5c79d.tar.xz bootstrap-b2ebd5c46ca538142c5cd4164328c56053b5c79d.zip | |
update button styles to use updated 14px base font size, align carets to others with no opacity changes
Diffstat (limited to 'less/button-groups.less')
| -rw-r--r-- | less/button-groups.less | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/less/button-groups.less b/less/button-groups.less index 05235b93b..cbb237a61 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -34,11 +34,13 @@ } .btn-group > .btn, .btn-group > .dropdown-menu { - font-size: 13px; // redeclare as part 2 of font-size inline-block hack + font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack } // Reset fonts for other sizes -.btn-group > .btn-mini, +.btn-group > .btn-mini { + font-size: 11px; +} .btn-group > .btn-small { font-size: 12px; } @@ -106,22 +108,22 @@ // ---------------------- // Give the line between buttons some depth -.btn-group > .dropdown-toggle { +.btn-group > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; .box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)"); *padding-top: 4px; *padding-bottom: 4px; } -.btn-group > .btn-mini.dropdown-toggle { +.btn-group > .btn-mini + .dropdown-toggle { padding-left: 5px; padding-right: 5px; } -.btn-group > .btn-small.dropdown-toggle { +.btn-group > .btn-small + .dropdown-toggle { *padding-top: 4px; *padding-bottom: 4px; } -.btn-group > .btn-large.dropdown-toggle { +.btn-group > .btn-large + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } @@ -162,22 +164,16 @@ // Reposition the caret .btn .caret { - margin-top: 7px; + margin-top: 8px; margin-left: 0; } -.btn:hover .caret, -.open.btn-group .caret { - .opacity(100); -} // Carets in other button sizes -.btn-mini .caret { - margin-top: 5px; -} -.btn-small .caret { +.btn-mini .caret, +.btn-small .caret, +.btn-large .caret { margin-top: 6px; } .btn-large .caret { - margin-top: 6px; border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; @@ -200,7 +196,6 @@ .caret { border-top-color: @white; border-bottom-color: @white; - .opacity(75); } } |
