Twenty Eleven: style a few more common input types. See #20579 and #21757.

git-svn-id: http://core.svn.wordpress.org/trunk@22898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2012-11-28 18:04:17 +00:00
parent 13e971496d
commit 9ca90ee80d
2 changed files with 16 additions and 5 deletions

View File

@ -35,13 +35,13 @@ ins {
background: #00063f; background: #00063f;
} }
input[type=text], input[type=text],
.post-password-required input[type=password], input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea { textarea {
border: 1px solid #222; border: 1px solid #222;
} }
input[type=text]:focus,
textarea:focus {
}
input#s { input#s {
background-color: #ddd; background-color: #ddd;
} }

View File

@ -438,6 +438,9 @@ small {
/* Forms */ /* Forms */
input[type=text], input[type=text],
input[type=password], input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea { textarea {
background: #fafafa; background: #fafafa;
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
@ -447,6 +450,10 @@ textarea {
color: #888; color: #888;
} }
input[type=text]:focus, input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=number]:focus,
textarea:focus { textarea:focus {
color: #373737; color: #373737;
} }
@ -454,7 +461,11 @@ textarea {
padding-left: 3px; padding-left: 3px;
width: 98%; width: 98%;
} }
input[type=text] { input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] {
padding: 3px; padding: 3px;
} }
input#s { input#s {