aboutsummaryrefslogtreecommitdiff
path: root/less/buttons.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-27 18:44:17 -0800
committerMark Otto <[email protected]>2012-01-27 18:44:17 -0800
commitaaa530c27e387ff266345aee026b50f779be88bc (patch)
tree28b8512a9ffe3e1ce38909e521b581aebde3a282 /less/buttons.less
parent7e72eb5063470a3728d612acd2cc0368aabc8664 (diff)
downloadbootstrap-aaa530c27e387ff266345aee026b50f779be88bc.tar.xz
bootstrap-aaa530c27e387ff266345aee026b50f779be88bc.zip
combined .disabled and [disabled] and confirmed in ie7/8
Diffstat (limited to 'less/buttons.less')
-rw-r--r--less/buttons.less10
1 files changed, 1 insertions, 9 deletions
diff --git a/less/buttons.less b/less/buttons.less
index f372b8448..ec23781cc 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -82,16 +82,8 @@
background-color: darken(@white, 10%);
background-color: darken(@white, 15%) e("\9");
}
- &.disabled {
- cursor: default;
- background-image: none;
- background-color: darken(@white, 10%);
- .opacity(65);
- .box-shadow(none);
- }
+ &.disabled,
&[disabled] {
- // disabled pseudo can't be included with .disabled
- // def because IE8 and below will drop it ;_;
cursor: default;
background-image: none;
background-color: darken(@white, 10%);