aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-02 12:19:43 -0700
committerMark Otto <[email protected]>2011-09-02 12:19:43 -0700
commit8c1e60c638ba9f2c564f9c0f05c255a673672a5e (patch)
treeb4b50a11cc31f17db7c24629e3c7c3f8aed733d5 /lib/patterns.less
parentac57331323e8a36ccc25d474859288f0403e669d (diff)
downloadbootstrap-8c1e60c638ba9f2c564f9c0f05c255a673672a5e.tar.xz
bootstrap-8c1e60c638ba9f2c564f9c0f05c255a673672a5e.zip
add reset filter to preboot for turning off gradients in IE when necessary; make :disabled [disabled] for crossbrowser usage
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index c574b9c1e..6749633bb 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -429,8 +429,7 @@ footer {
// Button Base
cursor: pointer;
display: inline-block;
- //#gradient > .vertical-three-colors(#fff, #fff, 0.25, darken(#fff, 10%));
- #gradient > .vertical(#ffffff, #eeeeee);
+ #gradient > .vertical-three-colors(#ffffff, #ffffff, 0.25, darken(#ffffff, 10%));
padding: 5px 14px 6px;
text-shadow: 0 1px 1px rgba(255,255,255,.75);
color: #333;
@@ -465,14 +464,16 @@ footer {
&.disabled {
cursor: default;
background-image: none;
+ .reset-filter();
.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;
+ .reset-filter();
.opacity(65);
.box-shadow(none);
}