forked from mirror/_s
Update form field padding in SASS
Consolidate styles for form field/textarea padding in Sass.
This commit is contained in:
parent
cd2b6b3f59
commit
d2eeef92d4
|
@ -17,6 +17,7 @@ textarea {
|
||||||
color: $color__text-input;
|
color: $color__text-input;
|
||||||
border: 1px solid $color__border-input;
|
border: 1px solid $color__border-input;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
padding: 3px;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
color: $color__text-input-focus;
|
color: $color__text-input-focus;
|
||||||
|
@ -27,25 +28,6 @@ select {
|
||||||
border: 1px solid $color__border-input;
|
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 {
|
textarea {
|
||||||
padding-left: 3px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
Reference in New Issue