aboutsummaryrefslogtreecommitdiff
path: root/less/buttons.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-23 20:56:04 -0700
committerMark Otto <[email protected]>2012-03-23 20:56:04 -0700
commitc7afe382a26834cce5b8bf2fc7333ce7e945a2d4 (patch)
treef5a0f1b3db460d5a5593c8ef0aad71ade8cb502e /less/buttons.less
parent035b85eebaaec9dded4c46b8864c63ff20bdd4fd (diff)
downloadbootstrap-c7afe382a26834cce5b8bf2fc7333ce7e945a2d4.tar.xz
bootstrap-c7afe382a26834cce5b8bf2fc7333ce7e945a2d4.zip
fix other instances of mixins, swap use of box-shadow everywhere, include border-radius and transition
Diffstat (limited to 'less/buttons.less')
-rw-r--r--less/buttons.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 83f9c737c..4381fe995 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -21,8 +21,8 @@
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);
+ .box-shadow(inset 0 1px 0 rgba(255,255,255,.2),
+ 0 1px 2px rgba(0,0,0,.05));
cursor: pointer;
// Give IE7 some love
@@ -50,8 +50,8 @@
.btn.active,
.btn:active {
background-image: none;
- @shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
- .box-shadow(@shadow);
+ .box-shadow(inset 0 2px 4px rgba(0,0,0,.15),
+ 0 1px 2px rgba(0,0,0,.05));
background-color: darken(@white, 10%);
background-color: darken(@white, 15%) e("\9");
outline: 0;