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
This commit is contained in:
Andrew Ozz 2012-08-28 05:48:58 +00:00
parent e1817f66d2
commit 575e541b27
5 changed files with 27 additions and 53 deletions

View File

@ -65,7 +65,9 @@ input[type="search"]:focus,
input[type="tel"]:focus, input[type="tel"]:focus,
input[type="url"]:focus, input[type="url"]:focus,
select: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, kbd,
@ -1225,10 +1227,6 @@ table.widefat .spam a:hover,
/* end TinyMCE */ /* end TinyMCE */
#titlediv #title {
border-color: #bdccd5;
}
#editorcontainer { #editorcontainer {
border-color: #bdccd5 #bdccd5 #d0dfe9; border-color: #bdccd5 #bdccd5 #d0dfe9;
} }
@ -1250,8 +1248,6 @@ table.widefat .spam a:hover,
color: #333; color: #333;
} }
#timestampdiv input,
#namediv input,
#poststuff .inside .the-tagcloud { #poststuff .inside .the-tagcloud {
border-color: #ddd; border-color: #ddd;
} }
@ -1911,8 +1907,6 @@ table.diff .diff-addedline ins {
} }
/* inline editor */ /* inline editor */
.inline-edit-row fieldset input[type="text"],
.inline-edit-row fieldset textarea,
#bulk-titles { #bulk-titles {
border-color: #ddd; border-color: #ddd;
} }

View File

@ -60,7 +60,9 @@ input[type="search"]:focus,
input[type="tel"]:focus, input[type="tel"]:focus,
input[type="url"]:focus, input[type="url"]:focus,
select: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, kbd,
@ -961,10 +963,6 @@ table.widefat .spam a:hover,
border-color: #8dff1c !important; border-color: #8dff1c !important;
} }
#titlediv #title {
border-color: #ccc;
}
#post-status-info { #post-status-info {
border-color: #dfdfdf #ccc #ccc; border-color: #dfdfdf #ccc #ccc;
background-color: #eaeaea; background-color: #eaeaea;
@ -983,8 +981,6 @@ table.widefat .spam a:hover,
color: #333; color: #333;
} }
#timestampdiv input,
#namediv input,
#poststuff .inside .the-tagcloud { #poststuff .inside .the-tagcloud {
border-color: #ddd; border-color: #ddd;
} }
@ -1579,8 +1575,6 @@ table.diff .diff-addedline ins {
} }
/* inline editor */ /* inline editor */
.inline-edit-row fieldset input[type="text"],
.inline-edit-row fieldset textarea,
#bulk-titles { #bulk-titles {
border-color: #ddd; border-color: #ddd;
} }

View File

@ -337,7 +337,8 @@ table.ie-fixed {
table-layout: fixed; table-layout: fixed;
} }
.widefat tr, .widefat th { .widefat tr,
.widefat th {
margin-bottom: 0; margin-bottom: 0;
border-spacing: 0; border-spacing: 0;
} }
@ -346,12 +347,14 @@ table.ie-fixed {
margin: 0 0 0 5px; margin: 0 0 0 5px;
} }
.widefat .check-column { .widefat thead .check-column,
padding: 6px 0 2px; .widefat tfoot .check-column {
padding-top: 6px;
} }
.widefat tbody th.check-column { .widefat tbody th.check-column,
padding: 4px 0 22px; .media.widefat tbody th.check-column {
padding: 4px 0 0;
} }
.widefat { .widefat {

View File

@ -297,6 +297,7 @@ select {
a, a,
input, input,
select, select,
textarea,
div { div {
outline: 0; outline: 0;
} }
@ -581,12 +582,17 @@ select,
.widefat .check-column { .widefat .check-column {
width: 2.2em; width: 2.2em;
padding: 11px 0 0; padding: 6px 0 0;
vertical-align: top; vertical-align: top;
} }
.widefat tbody th.check-column { .widefat.media .check-column {
padding: 9px 0 22px; padding-top: 8px;
}
.widefat thead .check-column,
.widefat tfoot .check-column {
padding-top: 10px;
} }
.widefat .num, .widefat .num,
@ -4257,6 +4263,8 @@ span.imgedit-scale-warn {
#replycontent { #replycontent {
height: 120px; height: 120px;
-webkit-box-shadow: none;
box-shadow: none;
} }
.comment-ays { .comment-ays {
@ -5791,39 +5799,12 @@ h3:hover .edit-box {
display: inline; 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 { #dashboard-widgets form .input-text-wrap input {
border: 0 none;
outline: none;
margin: 0;
padding: 0;
width: 99%; 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 { #dashboard-widgets form .textarea-wrap textarea {
border: 0 none;
padding: 0;
outline: none;
width: 99%; width: 99%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
} }
#dashboard-widgets .postbox form .submit { #dashboard-widgets .postbox form .submit {

View File

@ -1047,6 +1047,8 @@
.wp-editor-container textarea.wp-editor-area { .wp-editor-container textarea.wp-editor-area {
width: 99.9%; width: 99.9%;
-webkit-box-shadow: none;
box-shadow: none;
} }
.quicktags-toolbar, .quicktags-toolbar,