2015-12-07 20:40:42 +03:00
|
|
|
// -----------------------------------------
|
|
|
|
// input-group and input-group-addon styles
|
|
|
|
// note: form-groups are not required
|
|
|
|
//
|
|
|
|
@mixin input-group-button-variation($vertical-padding) {
|
|
|
|
.input-group-btn {
|
|
|
|
.btn {
|
|
|
|
//margin: 0 0 $vertical-padding 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// default margin - no form-group required
|
2015-12-12 00:13:33 +03:00
|
|
|
@include input-group-button-variation(input-padding-y);
|
2015-12-07 20:40:42 +03:00
|
|
|
|
|
|
|
&.mdb-form-group-sm {
|
2015-12-12 00:13:33 +03:00
|
|
|
@include input-group-button-variation($input-padding-y-sm);
|
2015-12-07 20:40:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mdb-form-group-lg {
|
2015-12-12 00:13:33 +03:00
|
|
|
@include input-group-button-variation($input-padding-y-lg);
|
2015-12-07 20:40:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-group { // may be in or outside of form-group
|
|
|
|
.input-group-btn {
|
|
|
|
//padding: 0 12px; // match addon spacing
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-group-addon {
|
|
|
|
//border: 0;
|
|
|
|
//background: transparent;
|
|
|
|
}
|
|
|
|
}
|