From 48bf6931c74e461323daa71f1fdbdfbbcef6e697 Mon Sep 17 00:00:00 2001 From: atomicpages Date: Sat, 7 Jul 2012 21:52:27 -0700 Subject: [PATCH] Added support for type="search" and type="url" HTML5 form fields. Email was there so I figured you may as well style the remainder of them. Also, we can remove any preformatted styling by mozilla and webkit for good measure since older versions of these browsers may not innately support them. --- stylesheets/base.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stylesheets/base.css b/stylesheets/base.css index 9ae0270..ad94ba2 100644 --- a/stylesheets/base.css +++ b/stylesheets/base.css @@ -213,9 +213,15 @@ margin-bottom: 20px; } fieldset { margin-bottom: 20px; } + input[type="search"], + input[type="url"] { + -webkit-appearance: textfield; + -moz-appearance: textfield; } input[type="text"], input[type="password"], input[type="email"], + input[type="search"], + input[type="url"] textarea, select { border: 1px solid #ccc; @@ -237,6 +243,8 @@ input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, + input[type="search"]:focus, + input[type="url"]:focus, textarea:focus { border: 1px solid #aaa; color: #444;