aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap.css
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-03-17 10:24:31 -0700
committerChris Rebert <[email protected]>2015-03-17 10:29:36 -0700
commitc26ffd43c39e2b6b31c67ba7f40c56d9caff8743 (patch)
treee3309cc6aa42c4cd7efa54bc96bc3f21b9cab0fd /dist/css/bootstrap.css
parentf5250d0a0e2a7cfed77f55654027ff151ebe5aeb (diff)
downloadbootstrap-c26ffd43c39e2b6b31c67ba7f40c56d9caff8743.tar.xz
bootstrap-c26ffd43c39e2b6b31c67ba7f40c56d9caff8743.zip
Only disable pointer-events on disabled <a> btns; fixes #16088
<a> doesn't support the `[disabled]` attribute, so `a.btn.disabled` simulates it using `pointer-events: none`. However, this is unnecessary for <button>s and <input>s, and also prevents their `[disabled]` cursor from displaying. [skip sauce] [skip validator]
Diffstat (limited to 'dist/css/bootstrap.css')
-rw-r--r--dist/css/bootstrap.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index fb15e3d69..15929f02e 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -3033,13 +3033,16 @@ select[multiple].form-group-lg .form-control {
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
- pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
opacity: .65;
}
+a.btn.disabled,
+fieldset[disabled] a.btn {
+ pointer-events: none;
+}
.btn-default {
color: #333;
background-color: #fff;