在Chrome中,显示禁用按钮,蓝色和边框颜色,背景颜色符合预期。但在IE9中,文本颜色显示为灰色。
CSS :
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
background-color: #fff;
border-color: #ccc;
}
.st-btn-default {
border: 2px solid #227ab9;
padding: .49rem .75rem;
color: #227ab9;
}
HTML :
<input id="buttonPrev" type="button" class="localize btn btn-default st-btn-default" lang="previous" value="Previous" disabled>