Commit a680d45a authored by Thomas Park's avatar Thomas Park
Browse files

paper: fix checkbox for has-* styles, closes #406

parent 7d3a084e
......@@ -336,27 +336,27 @@ input[type="checkbox"],
}
.has-warning {
input,
input:not([type=checkbox]),
.form-control,
input:focus,
input:not([type=checkbox]):focus,
.form-control:focus {
@include box-shadow(inset 0 -2px 0 $brand-warning);
}
}
.has-error {
input,
input:not([type=checkbox]),
.form-control,
input:focus,
input:not([type=checkbox]):focus,
.form-control:focus {
@include box-shadow(inset 0 -2px 0 $brand-danger);
}
}
.has-success {
input,
input:not([type=checkbox]),
.form-control,
input:focus,
input:not([type=checkbox]):focus,
.form-control:focus {
@include box-shadow(inset 0 -2px 0 $brand-success);
}
......
......@@ -7092,23 +7092,23 @@ input[type="checkbox"]:disabled:checked:after,
background-color: #bbbbbb;
border-color: transparent;
}
.has-warning input,
.has-warning input:not([type=checkbox]),
.has-warning .form-control,
.has-warning input:focus,
.has-warning input:not([type=checkbox]):focus,
.has-warning .form-control:focus {
-webkit-box-shadow: inset 0 -2px 0 #ff9800;
box-shadow: inset 0 -2px 0 #ff9800;
}
.has-error input,
.has-error input:not([type=checkbox]),
.has-error .form-control,
.has-error input:focus,
.has-error input:not([type=checkbox]):focus,
.has-error .form-control:focus {
-webkit-box-shadow: inset 0 -2px 0 #e51c23;
box-shadow: inset 0 -2px 0 #e51c23;
}
.has-success input,
.has-success input:not([type=checkbox]),
.has-success .form-control,
.has-success input:focus,
.has-success input:not([type=checkbox]):focus,
.has-success .form-control:focus {
-webkit-box-shadow: inset 0 -2px 0 #4caf50;
box-shadow: inset 0 -2px 0 #4caf50;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -336,27 +336,27 @@ input[type="checkbox"],
}
.has-warning {
input,
input:not([type=checkbox]),
.form-control,
input:focus,
input:not([type=checkbox]):focus,
.form-control:focus {
.box-shadow(inset 0 -2px 0 @brand-warning);
}
}
.has-error {
input,
input:not([type=checkbox]),
.form-control,
input:focus,
input:not([type=checkbox]):focus,
.form-control:focus {
.box-shadow(inset 0 -2px 0 @brand-danger);
}
}
.has-success {
input,
input:not([type=checkbox]),
.form-control,
input:focus,
input:not([type=checkbox]):focus,
.form-control:focus {
.box-shadow(inset 0 -2px 0 @brand-success);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment