From 2aa7f4102212556c91568764be6ad72e0f9dab70 Mon Sep 17 00:00:00 2001 From: Matt Sweeney Date: Wed, 5 Jun 2013 22:50:18 -0700 Subject: [PATCH] Narrow text attributes for form-stacked to avoid targeting buttons. --- src/forms/css/forms.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index 3dda047..553b1da 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -130,7 +130,20 @@ border-bottom: 1px solid #e5e5e5; } -.pure-form-stacked input, +.pure-form-stacked input[type="text"], +.pure-form-stacked input[type="password"], +.pure-form-stacked input[type="email"], +.pure-form-stacked input[type="url"], +.pure-form-stacked input[type="date"], +.pure-form-stacked input[type="month"], +.pure-form-stacked input[type="time"], +.pure-form-stacked input[type="datetime"], +.pure-form-stacked input[type="datetime-local"], +.pure-form-stacked input[type="week"], +.pure-form-stacked input[type="number"], +.pure-form-stacked input[type="search"], +.pure-form-stacked input[type="tel"], +.pure-form-stacked input[type="color"], .pure-form-stacked select, .pure-form-stacked label { display: block;