From cd3696b902a7abdb5af7c290dd7a5e49523a2c33 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 28 Nov 2012 18:04:17 +0000 Subject: [PATCH] Twenty Eleven: style a few more common input types. See #20579 and #21757. git-svn-id: https://develop.svn.wordpress.org/trunk@22898 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyeleven/colors/dark.css | 8 ++++---- wp-content/themes/twentyeleven/style.css | 13 ++++++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyeleven/colors/dark.css b/wp-content/themes/twentyeleven/colors/dark.css index b9dacce238..63b809fd65 100644 --- a/wp-content/themes/twentyeleven/colors/dark.css +++ b/wp-content/themes/twentyeleven/colors/dark.css @@ -35,13 +35,13 @@ ins { background: #00063f; } input[type=text], -.post-password-required input[type=password], +input[type=password], +input[type=email], +input[type=url], +input[type=number], textarea { border: 1px solid #222; } -input[type=text]:focus, -textarea:focus { -} input#s { background-color: #ddd; } diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 0606421268..a5bff31868 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -438,6 +438,9 @@ small { /* Forms */ input[type=text], input[type=password], +input[type=email], +input[type=url], +input[type=number], textarea { background: #fafafa; -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); @@ -447,6 +450,10 @@ textarea { color: #888; } input[type=text]:focus, +input[type=password]:focus, +input[type=email]:focus, +input[type=url]:focus, +input[type=number]:focus, textarea:focus { color: #373737; } @@ -454,7 +461,11 @@ textarea { padding-left: 3px; width: 98%; } -input[type=text] { +input[type=text], +input[type=password], +input[type=email], +input[type=url], +input[type=number] { padding: 3px; } input#s {