diff options
| author | Mark Otto <[email protected]> | 2012-03-25 12:42:47 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-25 12:42:47 -0700 |
| commit | a5552a1d700a1caa2d87ea4bbccc59205b6e72f9 (patch) | |
| tree | d4fe028438ba26d839dbdca0a57d27a848aa7f5b /less/buttons.less | |
| parent | b81a082cd13759bd5f0ff2a90513a56d59ace313 (diff) | |
| download | bootstrap-a5552a1d700a1caa2d87ea4bbccc59205b6e72f9.tar.xz bootstrap-a5552a1d700a1caa2d87ea4bbccc59205b6e72f9.zip | |
revert bart's mixin fix
Diffstat (limited to 'less/buttons.less')
| -rw-r--r-- | less/buttons.less | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/less/buttons.less b/less/buttons.less index 4381fe995..46115248c 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -21,8 +21,9 @@ border: 1px solid @btnBorder; border-bottom-color: darken(@btnBorder, 10%); .border-radius(4px); - .box-shadow(inset 0 1px 0 rgba(255,255,255,.2), - 0 1px 2px rgba(0,0,0,.05)); + @shadow: inset 0 1px 0 rgba(255,255,255,.2), + 0 1px 2px rgba(0,0,0,.05); + .box-shadow(@shadow); cursor: pointer; // Give IE7 some love @@ -50,8 +51,9 @@ .btn.active, .btn:active { background-image: none; - .box-shadow(inset 0 2px 4px rgba(0,0,0,.15), - 0 1px 2px rgba(0,0,0,.05)); + @shadow: inset 0 2px 4px rgba(0,0,0,.15), + 0 1px 2px rgba(0,0,0,.05); + .box-shadow(@shadow); background-color: darken(@white, 10%); background-color: darken(@white, 15%) e("\9"); outline: 0; |
