reorganized input-group related styles to allow for optional ancestry of input-group as form-group

This commit is contained in:
Kevin Ross 2015-11-11 12:40:37 -06:00
parent 679c68a107
commit ae1e0c3337

View File

@ -229,13 +229,16 @@ select.form-control {
}
}
.input-group {
.form-group {
.form-control {
float: none;
}
margin-right: 5px;
margin-left: 5px;
// ----------------
// input group/addon related styles
// default margin
.input-group-button-variation(@md-input-padding-base-vertical);
.form-group {
//.form-control {
// float: none;
//}
// sm margin
&.form-group-sm {
@ -246,11 +249,9 @@ select.form-control {
&.form-group-lg {
.input-group-button-variation(@md-input-padding-large-vertical);
}
}
// default margin
.input-group-button-variation(@md-input-padding-base-vertical);
}
.input-group { // may be in or outside of form-group
.input-group-btn {
padding: 0 12px; // match addon spacing
}