fixed disabled fieldset style

This commit is contained in:
Federico Zivolo 2014-09-11 14:30:55 +02:00
parent f978575c72
commit 1a1e20291a
2 changed files with 7 additions and 1 deletions

View File

@ -1173,10 +1173,13 @@ h6,
.radio input[type=radio][disabled] ~ .check { .radio input[type=radio][disabled] ~ .check {
background-color: rgba(0, 0, 0, 0.84); background-color: rgba(0, 0, 0, 0.84);
} }
fieldset[disabled] .form-control,
.form-control-wrapper .form-control, .form-control-wrapper .form-control,
.form-control, .form-control,
fieldset[disabled] .form-control:focus,
.form-control-wrapper .form-control:focus, .form-control-wrapper .form-control:focus,
.form-control:focus, .form-control:focus,
fieldset[disabled] .form-control.focus,
.form-control-wrapper .form-control.focus, .form-control-wrapper .form-control.focus,
.form-control.focus { .form-control.focus {
height: 28px; height: 28px;
@ -1188,10 +1191,13 @@ h6,
background: transparent; background: transparent;
border-bottom: 1px solid #757575; border-bottom: 1px solid #757575;
} }
fieldset[disabled] .form-control:disabled,
.form-control-wrapper .form-control:disabled, .form-control-wrapper .form-control:disabled,
.form-control:disabled, .form-control:disabled,
fieldset[disabled] .form-control:focus:disabled,
.form-control-wrapper .form-control:focus:disabled, .form-control-wrapper .form-control:focus:disabled,
.form-control:focus:disabled, .form-control:focus:disabled,
fieldset[disabled] .form-control.focus:disabled,
.form-control-wrapper .form-control.focus:disabled, .form-control-wrapper .form-control.focus:disabled,
.form-control.focus:disabled { .form-control.focus:disabled {
border-style: dashed; border-style: dashed;

View File

@ -1,6 +1,6 @@
// main: material.less // main: material.less
.form-control-wrapper .form-control, .form-control { fieldset[disabled] .form-control, .form-control-wrapper .form-control, .form-control {
&, &:focus, &.focus { &, &:focus, &.focus {
height: 28px; height: 28px;
padding: 0; padding: 0;