diff options
| author | Mark Otto <[email protected]> | 2012-03-05 00:29:16 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-05 00:29:16 -0800 |
| commit | d3e922f0c8dc309bc609ebd75fd7e90134c1eaca (patch) | |
| tree | 71ddd4e67742b43cbcfd01fb6e52faa7f2aec0cb /less/buttons.less | |
| parent | 7bf341964790937c2fe77875459b064bc63d2e29 (diff) | |
| download | bootstrap-d3e922f0c8dc309bc609ebd75fd7e90134c1eaca.tar.xz bootstrap-d3e922f0c8dc309bc609ebd75fd7e90134c1eaca.zip | |
add a ton new variables for type, buttons, inputs
Diffstat (limited to 'less/buttons.less')
| -rw-r--r-- | less/buttons.less | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/less/buttons.less b/less/buttons.less index 85f18ff0c..f93cd01a9 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -16,9 +16,9 @@ text-align: center; text-shadow: 0 1px 1px rgba(255,255,255,.75); vertical-align: middle; - .buttonBackground(@white, darken(@white, 10%)); - border: 1px solid #ccc; - border-bottom-color: #bbb; + .buttonBackground(@btnBackground, @btnBackgroundHighlight); + border: 1px solid @btnBorder; + border-bottom-color: darken(@btnBorder, 10%); .border-radius(4px); @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); .box-shadow(@shadow); @@ -132,27 +132,27 @@ // Set the backgrounds // ------------------------- .btn-primary { - .buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground, 20)); + .buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight); } // Warning appears are orange .btn-warning { - .buttonBackground(lighten(@orange, 15%), @orange); + .buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight); } // Danger and error appear as red .btn-danger { - .buttonBackground(#ee5f5b, #bd362f); + .buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight); } // Success appears as green .btn-success { - .buttonBackground(#62c462, #51a351); + .buttonBackground(@btnSuccessBackground, @btnSuccessBackgroundHighlight); } // Info appears as a neutral blue .btn-info { - .buttonBackground(#5bc0de, #2f96b4); + .buttonBackground(@btnInfoBackground, @btnInfoBackgroundHighlight); } // Inverse appears as dark gray .btn-inverse { - .buttonBackground(@gray, @grayDarker); + .buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight); } |
