diff options
| author | Mark Otto <[email protected]> | 2013-01-12 18:52:06 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-01-12 18:52:06 -0800 |
| commit | 583fc4b962f5d36a7a3bbe8707535558fd2dd229 (patch) | |
| tree | 06ac46584bc81d44294648249ef6c70122a207bd /less | |
| parent | fb4fc323a2ef97ec9b383a1084c148cd3c67f091 (diff) | |
| download | bootstrap-583fc4b962f5d36a7a3bbe8707535558fd2dd229.tar.xz bootstrap-583fc4b962f5d36a7a3bbe8707535558fd2dd229.zip | |
buttons and button group flattening improvements
Diffstat (limited to 'less')
| -rw-r--r-- | less/button-groups.less | 25 | ||||
| -rw-r--r-- | less/buttons.less | 1 |
2 files changed, 6 insertions, 20 deletions
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 // ---------------------- diff --git a/less/buttons.less b/less/buttons.less index d0ada16ff..9292bb331 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -15,7 +15,6 @@ font-weight: bold; line-height: @line-height-base; text-align: center; - text-shadow: 0 -1px 0 rgba(0,0,0,.25); vertical-align: middle; cursor: pointer; border: 1px solid @btn-border; |
