aboutsummaryrefslogtreecommitdiff
path: root/less/buttons.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-08 21:19:14 -0700
committerMark Otto <[email protected]>2014-07-08 21:19:14 -0700
commitf380ca21e207e688e40a8cbef6d0b5a2c2a00472 (patch)
treecf28901efb6ec84b0df698ed555d2281462a7017 /less/buttons.less
parentff4ff3bd0619035313ef245839fae7865039dd25 (diff)
downloadbootstrap-f380ca21e207e688e40a8cbef6d0b5a2c2a00472.tar.xz
bootstrap-f380ca21e207e688e40a8cbef6d0b5a2c2a00472.zip
Use .box-shadow() mixin so we can enable/disable them
Diffstat (limited to 'less/buttons.less')
-rw-r--r--less/buttons.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/less/buttons.less b/less/buttons.less
index dc76db2ed..609019fe6 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -39,7 +39,7 @@
&.active {
outline: 0;
background-image: none;
- box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
&.disabled,
@@ -48,7 +48,7 @@
cursor: not-allowed;
pointer-events: none; // Future-proof disabling of clicks
opacity: .65;
- box-shadow: none;
+ .box-shadow(none);
}
}
@@ -90,7 +90,7 @@
&[disabled],
fieldset[disabled] & {
background-color: transparent;
- box-shadow: none;
+ .box-shadow(none);
}
&,
&:hover,