forked from mirror/_s
Merge pull request #961 from Automattic/sass-field-padding
Update form field padding in Sass so style.css and Sass match.
This commit is contained in:
commit
9c67bc3039
|
@ -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