Update form field padding in SASS

Consolidate styles for form field/textarea padding in Sass.
This commit is contained in:
Caroline Moore 2016-05-26 14:46:59 -04:00
parent cd2b6b3f59
commit d2eeef92d4
1 changed files with 3 additions and 21 deletions

View File

@ -17,6 +17,7 @@ textarea {
color: $color__text-input;
border: 1px solid $color__border-input;
border-radius: 3px;
padding: 3px;
&:focus {
color: $color__text-input-focus;
@ -27,25 +28,6 @@ select {
border: 1px solid $color__border-input;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
padding: 3px;
}
textarea {
padding-left: 3px;
width: 100%;
}