1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 06:21:26 +02:00

fixes #9511; set cursor:not-allowed for disabled buttons,checkboxes,radios

This commit is contained in:
Chris Rebert
2013-08-14 18:20:28 -07:00
parent a9d6b7ee0b
commit e684758b55
4 changed files with 29 additions and 4 deletions

View File

@@ -1711,6 +1711,17 @@ textarea.form-control {
margin-left: 10px;
}
.radio[disabled],
.radio-inline[disabled],
.checkbox[disabled],
.checkbox-inline[disabled],
fieldset[disabled] .radio,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox,
fieldset[disabled] .checkbox-inline {
cursor: not-allowed;
}
.input-sm {
height: 30px;
padding: 5px 10px;
@@ -1936,7 +1947,7 @@ textarea.input-lg {
.btn[disabled],
fieldset[disabled] .btn {
pointer-events: none;
cursor: default;
cursor: not-allowed;
opacity: 0.65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;