1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00
This commit is contained in:
Mark Otto
2015-03-29 00:12:19 -07:00
parent 58082cd83e
commit 2f7bfb44c2
2 changed files with 6 additions and 9 deletions

View File

@@ -50,13 +50,12 @@
opacity: .65;
@include box-shadow(none);
}
}
a& {
&.disabled,
fieldset[disabled] & {
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
}
}
// Future-proof disabling of clicks on `<a>` elements
a.btn.disaabled,
fieldset[disabled] a.btn {
pointer-events: none;
}