aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-31 21:06:16 -0700
committerMark Otto <[email protected]>2012-03-31 21:06:16 -0700
commit2355fd224ddcd571765c5ad2f2242dac65789aa4 (patch)
treed5bb2369ee392c43e2ca189f85dfe552031c30fc /less/button-groups.less
parent56ecc6ba96550d8e66d0484c21fc20da5f8e52e6 (diff)
downloadbootstrap-2355fd224ddcd571765c5ad2f2242dac65789aa4.tar.xz
bootstrap-2355fd224ddcd571765c5ad2f2242dac65789aa4.zip
remove @shadow instances and replace with escaped values, update mixins to not use a default value at all
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less9
1 files changed, 2 insertions, 7 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index 65c974a39..1261ba5cc 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -93,10 +93,7 @@
.btn-group .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
- @shadow: inset 1px 0 0 rgba(255,255,255,.125),
- inset 0 1px 0 rgba(255,255,255,.2),
- 0 1px 2px rgba(0,0,0,.05);
- .box-shadow(@shadow);
+ .box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
*padding-top: 3px;
*padding-bottom: 3px;
}
@@ -121,9 +118,7 @@
// Remove the gradient and set the same inset shadow as the :active state
.dropdown-toggle {
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)");
}
// Keep the hover's background when dropdown is open