diff options
| author | Chris Rebert <[email protected]> | 2015-03-25 21:58:05 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-03-25 21:58:05 -0700 |
| commit | 02f9f2bd26454178d45f155a6a065feea21af7f9 (patch) | |
| tree | 51c95b7a9ccb2619a368470186c6901aaa06686e /less | |
| parent | b6508f5d0465853174e88d3dc7a24808cb1af56f (diff) | |
| parent | c26ffd43c39e2b6b31c67ba7f40c56d9caff8743 (diff) | |
| download | bootstrap-02f9f2bd26454178d45f155a6a065feea21af7f9.tar.xz bootstrap-02f9f2bd26454178d45f155a6a065feea21af7f9.zip | |
Merge pull request #16092 from twbs/pointer-events-none-a
Only disable pointer-events on disabled <a> btns
Diffstat (limited to 'less')
| -rw-r--r-- | less/buttons.less | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/less/buttons.less b/less/buttons.less index 5a746049e..740905f52 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -47,10 +47,16 @@ &[disabled], fieldset[disabled] & { cursor: @cursor-disabled; - pointer-events: none; // Future-proof disabling of clicks .opacity(.65); .box-shadow(none); } + + a& { + &.disabled, + fieldset[disabled] & { + pointer-events: none; // Future-proof disabling of clicks on `<a>` elements + } + } } |
