From f597e2fe949a1e18eb778b9a5bd102de88570555 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 May 2017 14:03:27 +0200 Subject: Initial commit. --- src/sass/bootstrap4/_forms.scss | 452 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 452 insertions(+) create mode 100644 src/sass/bootstrap4/_forms.scss (limited to 'src/sass/bootstrap4/_forms.scss') diff --git a/src/sass/bootstrap4/_forms.scss b/src/sass/bootstrap4/_forms.scss new file mode 100644 index 0000000..20a70b3 --- /dev/null +++ b/src/sass/bootstrap4/_forms.scss @@ -0,0 +1,452 @@ +// +// Textual form controls +// + +.form-control { + display: block; + width: 100%; + // // Make inputs at least the height of their button counterpart (base line-height + padding + border) + // height: $input-height; + padding: $input-padding-y $input-padding-x; + font-size: $font-size-base; + line-height: $line-height; + color: $input-color; + background-color: $input-bg; + // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214. + background-image: none; + border: $input-btn-border-width solid $input-border-color; + // Note: This has no effect on `s in CSS. + @include border-radius($input-border-radius); + @include box-shadow($input-box-shadow); + @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s); + + // Make inputs at least the height of their button counterpart (base line-height + padding + border). + // Only apply the height to textual inputs and some selects. + // &:not(textarea), + // &:not(select[size]), + // &:not(select[multiple]) { + // height: $input-height; + // } + + // Unstyle the caret on `