From 575e541b27797f42bb2a5cd2dd3c0884789f607c Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 28 Aug 2012 05:48:58 +0000 Subject: [PATCH] More visible :focus style for form elements, props lessbloat, see #21324 git-svn-id: https://develop.svn.wordpress.org/trunk@21641 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-classic.css | 12 +++------- wp-admin/css/colors-fresh.css | 12 +++------- wp-admin/css/ie.css | 13 +++++++---- wp-admin/css/wp-admin.css | 41 +++++++++------------------------ wp-includes/css/editor.css | 2 ++ 5 files changed, 27 insertions(+), 53 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 3a601f3725..bf95e9b63c 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -65,7 +65,9 @@ input[type="search"]:focus, input[type="tel"]:focus, input[type="url"]:focus, select:focus { - border-color: #d1e5ee; + border-color: #a1a1a1; + -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); + box-shadow: 1px 1px 2px rgba(0,0,0,0.1); } kbd, @@ -1225,10 +1227,6 @@ table.widefat .spam a:hover, /* end TinyMCE */ -#titlediv #title { - border-color: #bdccd5; -} - #editorcontainer { border-color: #bdccd5 #bdccd5 #d0dfe9; } @@ -1250,8 +1248,6 @@ table.widefat .spam a:hover, color: #333; } -#timestampdiv input, -#namediv input, #poststuff .inside .the-tagcloud { border-color: #ddd; } @@ -1911,8 +1907,6 @@ table.diff .diff-addedline ins { } /* inline editor */ -.inline-edit-row fieldset input[type="text"], -.inline-edit-row fieldset textarea, #bulk-titles { border-color: #ddd; } diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 4b7f5e70f7..0559953ce7 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -60,7 +60,9 @@ input[type="search"]:focus, input[type="tel"]:focus, input[type="url"]:focus, select:focus { - border-color: #bbb; + border-color: #a1a1a1; + -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); + box-shadow: 1px 1px 2px rgba(0,0,0,0.1); } kbd, @@ -961,10 +963,6 @@ table.widefat .spam a:hover, border-color: #8dff1c !important; } -#titlediv #title { - border-color: #ccc; -} - #post-status-info { border-color: #dfdfdf #ccc #ccc; background-color: #eaeaea; @@ -983,8 +981,6 @@ table.widefat .spam a:hover, color: #333; } -#timestampdiv input, -#namediv input, #poststuff .inside .the-tagcloud { border-color: #ddd; } @@ -1579,8 +1575,6 @@ table.diff .diff-addedline ins { } /* inline editor */ -.inline-edit-row fieldset input[type="text"], -.inline-edit-row fieldset textarea, #bulk-titles { border-color: #ddd; } diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index 6fd5ddfa5d..5be3b8791d 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -337,7 +337,8 @@ table.ie-fixed { table-layout: fixed; } -.widefat tr, .widefat th { +.widefat tr, +.widefat th { margin-bottom: 0; border-spacing: 0; } @@ -346,12 +347,14 @@ table.ie-fixed { margin: 0 0 0 5px; } -.widefat .check-column { - padding: 6px 0 2px; +.widefat thead .check-column, +.widefat tfoot .check-column { + padding-top: 6px; } -.widefat tbody th.check-column { - padding: 4px 0 22px; +.widefat tbody th.check-column, +.media.widefat tbody th.check-column { + padding: 4px 0 0; } .widefat { diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index 82d041d80e..7b7d401864 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -297,6 +297,7 @@ select { a, input, select, +textarea, div { outline: 0; } @@ -581,12 +582,17 @@ select, .widefat .check-column { width: 2.2em; - padding: 11px 0 0; + padding: 6px 0 0; vertical-align: top; } -.widefat tbody th.check-column { - padding: 9px 0 22px; +.widefat.media .check-column { + padding-top: 8px; +} + +.widefat thead .check-column, +.widefat tfoot .check-column { + padding-top: 10px; } .widefat .num, @@ -4257,6 +4263,8 @@ span.imgedit-scale-warn { #replycontent { height: 120px; + -webkit-box-shadow: none; + box-shadow: none; } .comment-ays { @@ -5791,39 +5799,12 @@ h3:hover .edit-box { display: inline; } -.index-php form .input-text-wrap { - background: #fff; - border-style: solid; - border-width: 1px; - padding: 2px 3px; - border-color: #ccc; -} - #dashboard-widgets form .input-text-wrap input { - border: 0 none; - outline: none; - margin: 0; - padding: 0; width: 99%; - color: #333; -} - -form .textarea-wrap { - background: #fff; - border-style: solid; - border-width: 1px; - padding: 2px; - border-color: #ccc; } #dashboard-widgets form .textarea-wrap textarea { - border: 0 none; - padding: 0; - outline: none; width: 99%; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; } #dashboard-widgets .postbox form .submit { diff --git a/wp-includes/css/editor.css b/wp-includes/css/editor.css index fd16cd02d4..8a235c33a6 100644 --- a/wp-includes/css/editor.css +++ b/wp-includes/css/editor.css @@ -1047,6 +1047,8 @@ .wp-editor-container textarea.wp-editor-area { width: 99.9%; + -webkit-box-shadow: none; + box-shadow: none; } .quicktags-toolbar,