From d2eeef92d46a59b3fb583fd5c78f9182ebbb4d62 Mon Sep 17 00:00:00 2001 From: Caroline Moore Date: Thu, 26 May 2016 14:46:59 -0400 Subject: [PATCH] Update form field padding in SASS Consolidate styles for form field/textarea padding in Sass. --- sass/forms/_fields.scss | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/sass/forms/_fields.scss b/sass/forms/_fields.scss index b61e0b64..62818f18 100644 --- a/sass/forms/_fields.scss +++ b/sass/forms/_fields.scss @@ -17,7 +17,8 @@ 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%; -} \ No newline at end of file +}