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.

This commit is contained in:
atomicpages 2012-07-07 21:52:27 -07:00
parent 7ab682091d
commit 48bf6931c7

View File

@ -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;