aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-25 12:42:47 -0700
committerMark Otto <[email protected]>2012-03-25 12:42:47 -0700
commita5552a1d700a1caa2d87ea4bbccc59205b6e72f9 (patch)
treed4fe028438ba26d839dbdca0a57d27a848aa7f5b /less/button-groups.less
parentb81a082cd13759bd5f0ff2a90513a56d59ace313 (diff)
downloadbootstrap-a5552a1d700a1caa2d87ea4bbccc59205b6e72f9.tar.xz
bootstrap-a5552a1d700a1caa2d87ea4bbccc59205b6e72f9.zip
revert bart's mixin fix
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less12
1 files changed, 7 insertions, 5 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index 81961123d..65c974a39 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -93,9 +93,10 @@
.btn-group .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
- .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));
+ @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);
*padding-top: 3px;
*padding-bottom: 3px;
}
@@ -120,8 +121,9 @@
// Remove the gradient and set the same inset shadow as the :active state
.dropdown-toggle {
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);
}
// Keep the hover's background when dropdown is open