fix(styles): fix #372 input-group issues

This commit is contained in:
Dmitry Nehaychik 2016-10-25 14:50:43 +03:00
parent b73af9a21b
commit a523c7ced4

View file

@ -349,6 +349,10 @@ label.custom-input-danger {
} }
} }
.input-group-addon {
line-height: inherit;
}
.form-control-feedback { .form-control-feedback {
position: absolute; position: absolute;
top: 0; top: 0;
@ -367,7 +371,7 @@ label.custom-input-danger {
padding-right: 42.5px; padding-right: 42.5px;
} }
label ~ .form-control-feedback { label ~ .form-control-feedback {
top: 21px; top: 19px;
font-size: 18px; font-size: 18px;
} }
} }
@ -393,6 +397,7 @@ label.custom-input-danger {
.help-block { .help-block {
color: $help-text; color: $help-text;
vertical-align: sub;
} }
.help-block.error-block { .help-block.error-block {
@ -562,6 +567,19 @@ label.custom-input-danger {
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
} }
.input-group-btn {
&:not(:first-child) {
> .btn, > .btn-group {
margin-left: 0;
}
}
> .btn {
line-height: 1.56;
}
}
.with-primary-addon:focus { .with-primary-addon:focus {
border-color: $primary; border-color: $primary;
} }