Permalink
Browse files

Consolidate styles for form field/textarea padding. Props @emiluzelac

Consolidate styles for form field/textarea padding. Props @emiluzelac
  • Loading branch information...
sixhours committed May 26, 2016
2 parents cd2b6b3 + 6844caf commit dc262c6a554e7e4b16a7b55a6804bd7c942400b8
Showing with 1 addition and 19 deletions.
  1. +1 −19 style.css
View
@@ -470,6 +470,7 @@ textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
+ padding: 3px;
}
select {
@@ -495,26 +496,7 @@ textarea:focus {
color: #111;
}
-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%;
}

0 comments on commit dc262c6

Please sign in to comment.