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:
parent
7ab682091d
commit
48bf6931c7
@ -213,9 +213,15 @@
|
|||||||
margin-bottom: 20px; }
|
margin-bottom: 20px; }
|
||||||
fieldset {
|
fieldset {
|
||||||
margin-bottom: 20px; }
|
margin-bottom: 20px; }
|
||||||
|
input[type="search"],
|
||||||
|
input[type="url"] {
|
||||||
|
-webkit-appearance: textfield;
|
||||||
|
-moz-appearance: textfield; }
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
input[type="email"],
|
input[type="email"],
|
||||||
|
input[type="search"],
|
||||||
|
input[type="url"]
|
||||||
textarea,
|
textarea,
|
||||||
select {
|
select {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@ -237,6 +243,8 @@
|
|||||||
input[type="text"]:focus,
|
input[type="text"]:focus,
|
||||||
input[type="password"]:focus,
|
input[type="password"]:focus,
|
||||||
input[type="email"]:focus,
|
input[type="email"]:focus,
|
||||||
|
input[type="search"]:focus,
|
||||||
|
input[type="url"]:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
border: 1px solid #aaa;
|
border: 1px solid #aaa;
|
||||||
color: #444;
|
color: #444;
|
||||||
|
Loading…
Reference in New Issue
Block a user