$gf-form-margin: 0.25rem; .gf-form { margin-bottom: $gf-form-margin; display: flex; flex-direction: row; align-items: center; text-align: left; position: relative; font-size: $font-size-sm; &--offset-1 { margin-left: $spacer; } &--grow { flex-grow: 1; } } .gf-form-disabled { color: $text-color-weak; .query-keyword, a, .gf-form-input { color: $text-color-weak; } } .gf-form-group { margin-bottom: $spacer * 2.5; } .gf-form-inline { display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; } .gf-form-button-row { padding-top: $spacer * 1.5; a, button { margin-right: $spacer; } } .gf-form-label { padding: $input-padding-y $input-padding-x; margin-right: $gf-form-margin; flex-shrink: 0; background-color: $input-label-bg; display: block; font-size: $font-size-sm; margin-right: $gf-form-margin; border: $input-btn-border-width solid transparent; @include border-radius($label-border-radius-sm); &--grow { flex-grow: 1; min-height: 2.60rem; } } .gf-form-pre { display: block; flex-grow: 1; font-size: $font-size-sm; margin: 0; margin-right: $gf-form-margin; border: $input-btn-border-width solid transparent; @include border-radius($label-border-radius-sm); } .gf-form-error { padding: $input-padding-y $input-padding-x; margin-right: $gf-form-margin; flex-shrink: 0; background-color: $input-label-bg; display: block; font-size: $font-size-sm; margin-right: $gf-form-margin; border: $input-btn-border-width solid $red; @include border-radius($label-border-radius-sm); &--grow { flex-grow: 1; min-height: 2.60rem; } } .gf-form-checkbox { flex-shrink: 0; padding: $input-padding-y $input-padding-x; line-height: $input-line-height; .checkbox-label { display: inline; cursor: pointer; padding: $input-padding-y 0.4rem; line-height: $input-line-height; } } .gf-form-textarea { max-width: 650px; } .gf-form-input { display: block; width: 100%; padding: $input-padding-y $input-padding-x; margin-right: $gf-form-margin; font-size: $font-size-base; line-height: $input-line-height; color: $input-color; background-color: $input-bg; background-image: none; background-clip: padding-box; border: $input-btn-border-width solid $input-border-color; @include border-radius($input-border-radius-sm); @include box-shadow($input-box-shadow); transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; // Unstyle the caret on `