From 583fc4b962f5d36a7a3bbe8707535558fd2dd229 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 12 Jan 2013 18:52:06 -0800 Subject: buttons and button group flattening improvements --- less/button-groups.less | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'less/button-groups.less') diff --git a/less/button-groups.less b/less/button-groups.less index fcc0acb4c..00cd78634 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -2,6 +2,11 @@ // Button groups // -------------------------------------------------- +// Button carets +.caret { + border-top-color: #fff; + border-bottom-color: #fff; +} // Make the div behave like a button .btn-group { @@ -124,9 +129,7 @@ margin-top: 6px; } .btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; + border-width: 5px; } .btn-mini .caret, .btn-small .caret { @@ -138,22 +141,6 @@ } - -// Account for other colors -.btn-primary, -.btn-warning, -.btn-danger, -.btn-info, -.btn-success, -.btn-inverse { - .caret { - border-top-color: #fff; - border-bottom-color: #fff; - } -} - - - // Vertical button groups // ---------------------- -- cgit v1.2.3