From f0458fbba1e4355cefc336d0101d1c1b546e8d98 Mon Sep 17 00:00:00 2001 From: azaozz Date: Thu, 27 Nov 2008 11:53:32 +0000 Subject: [PATCH] Visual UI fixes from iammattthomas, fixes #8387 git-svn-id: http://svn.automattic.com/wordpress/trunk@9918 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/colors-fresh.css | 29 ++++++++++++++++++-------- wp-admin/css/dashboard.css | 39 +++++++++++++++++++++++++++-------- wp-admin/css/global.css | 11 +++++----- wp-admin/css/install.css | 4 ++-- wp-admin/css/login.css | 4 ++-- wp-admin/css/media.css | 2 +- wp-admin/css/press-this.css | 6 +++--- wp-admin/css/theme-editor.css | 2 +- wp-admin/themes.php | 2 +- wp-admin/wp-admin.css | 23 +++++++++++++-------- 10 files changed, 80 insertions(+), 42 deletions(-) diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 5d239ba60..eca1dc606 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -303,13 +303,19 @@ td.help { } .button, -.submit input { +.button-secondary, +.submit input, +input[type=button], +input[type=submit] { border-color: #bbb; color: #464646; } .button:hover, -.submit input:hover { +.button-secondary:hover, +.submit input:hover, +input[type=button]:hover, +input[type=submit]:hover { color: #000; border-color: #666; } @@ -329,9 +335,9 @@ td.help { .button-primary, .submit .button-primary, #login form .submit input { - border-color: #298cba; + border-color: #298cba !important; font-weight: bold; - color: #FFF; + color: #FFF !important; background: #21759B url(../images/button-grad.png) repeat-x scroll left top; } @@ -342,17 +348,18 @@ td.help { .button[disabled], .button:disabled, -.button-primary[disabled], -.button-primary:disabled, .button-secondary[disabled], .button-secondary:disabled, a.button.disabled { - background: #ddd; - color: #888; - text-shadow: rgba(255,255,255,0.6) 0 1px 0; + color: #ccc !important; border-color: #ccc; } +.button-primary[disabled], +.button-primary:disabled { + color: #2fa0d5 !important; +} + a:active, a:focus { color: #d54e21; @@ -1264,6 +1271,10 @@ table.diff .diff-addedline ins { color: #606060; } +#screen-meta-links a.show-settings:hover { + color: #000; +} + #replysubmit { background-color: #f1f1f1; border-top-color: #ddd; diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index ea11a4e64..82e61bd0a 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -1,3 +1,5 @@ +.postbox p, .postbox ul, .postbox ol, .postbox blockquote, #wp-version-message { font-size: 11px; } + .edit-box { display: none; } @@ -84,7 +86,8 @@ div.postbox div.inside { } #dashboard-widgets h4 { - font-size: 1em; + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-size: 13px; margin: 0 0 .2em; padding: 0; } @@ -208,6 +211,10 @@ div.postbox div.inside { border-top: 1px solid; } +#the-comment-list .pingback { + padding-left: 9px !important; +} + #the-comment-list .comment-item, #the-comment-list #replyrow { margin: 0 -10px; @@ -229,10 +236,14 @@ div.postbox div.inside { color: #999; } +.comment-meta strong { + font-weight: normal; +} + #the-comment-list .comment-item h4 cite, #the-comment-list .comment-item h4 strong { font-style: normal; - color: #333; + font-weight: normal; } #the-comment-list .comment-item p.comment-author { @@ -252,14 +263,15 @@ div.postbox div.inside { } #the-comment-list .comment-item p.comment-actions { - margin: 0; + margin: 3px 0 0 0; padding: 0; - font-size: 11px; + font-size: 10px; } /* QuickPress */ #dashboard_quick_press h4 { + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; float: left; width: 5.5em; clear: both; @@ -320,8 +332,10 @@ div.postbox div.inside { } #dashboard_recent_drafts h4 abbr { - font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; + font-size: 11px; color: #999; + margin-left: 3px; } #dashboard_recent_drafts p { @@ -339,6 +353,7 @@ div.postbox div.inside { a.rsswidget { font-size: 13px; + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; line-height: 1.7em; } /* @@ -351,11 +366,12 @@ a.rsswidget { */ .rss-widget ul li { - line-height: 1.4em; + line-height: 1.5em; + margin-bottom: 12px; } .rss-widget span.rss-date { - font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + margin-left: 3px; } .rss-widget cite { @@ -371,8 +387,13 @@ a.rsswidget { /* Plugins */ +#dashboard_plugins h4 { + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; +} + #dashboard_plugins h5 { - font-size: 13px; + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-size: 13px !important; margin: 0; display: inline; line-height: 1.4em; @@ -384,6 +405,6 @@ a.rsswidget { } #dashboard_plugins p { - margin: 0 0 1em; + margin: 0 0 1.4em; line-height: 1.4em; } diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index 4f3b7a08a..917c6bee0 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -166,7 +166,7 @@ body { body, td { - font: 13px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font: 13px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; } p { @@ -197,7 +197,7 @@ dt { textarea, input, select { - font: 13px/19px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font: 13px/19px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; margin: 1px; padding: 3px; } @@ -265,7 +265,7 @@ h6 { .subsubsub { list-style: none; - margin: 0 0 5px; + margin: 8px 0 5px; padding: 0; white-space: nowrap; font-size: 11px; @@ -397,8 +397,9 @@ h6 { .wrap h2 { font: italic normal normal 24px/29px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - margin: 0; - padding: 12px 15px 2px 0; + margin: 13px 0 0 0; + padding: 0 15px 1px 0; + line-height: 35px; text-shadow: rgba(255,255,255,1) 0px 1px 0px; } diff --git a/wp-admin/css/install.css b/wp-admin/css/install.css index fdc438930..49ae8f09a 100644 --- a/wp-admin/css/install.css +++ b/wp-admin/css/install.css @@ -3,7 +3,7 @@ html { background: #f1f1f1; } body { background: #fff; color: #333; - font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; margin: 2em auto 0 auto; width: 700px; padding: 1em 2em; @@ -52,7 +52,7 @@ ul, ol { padding: 5px 5px 5px 22px; } .step, th { text-align: left; padding: 0; } .submit input, .button, .button-secondary { - font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; padding: 5px 7px 7px; border: 1px solid #a3a3a3; margin-left: 0; diff --git a/wp-admin/css/login.css b/wp-admin/css/login.css index 9f806e79e..ea88c0f85 100644 --- a/wp-admin/css/login.css +++ b/wp-admin/css/login.css @@ -3,7 +3,7 @@ body { border-top-width: 30px; border-top-style: solid; - font: 11px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font: 11px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; } form { @@ -25,7 +25,7 @@ form { form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0; } #login form .submit input { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; padding: 3px 10px; border: none; font-size: 12px; diff --git a/wp-admin/css/media.css b/wp-admin/css/media.css index e0a82dd95..18c906b2c 100644 --- a/wp-admin/css/media.css +++ b/wp-admin/css/media.css @@ -233,7 +233,7 @@ abbr.required { #media-upload p.help, #media-upload label.help { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; font-style: italic; font-weight: normal; } diff --git a/wp-admin/css/press-this.css b/wp-admin/css/press-this.css index 01a601e40..0002abe06 100644 --- a/wp-admin/css/press-this.css +++ b/wp-admin/css/press-this.css @@ -1,5 +1,5 @@ body { - font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + font: 13px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; color: #333; margin: 0; padding: 0; @@ -347,7 +347,7 @@ h3.tb { -x-system-font: none; border-style: solid; border-width: 1px; - font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; font-size: 12px; height: 2em; line-height: 20px; @@ -453,7 +453,7 @@ ul.categorychecklist li { .button-secondary, .button-highlighted, #postcustomstuff .submit input { - font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; text-decoration: none; font-size: 11px !important; line-height: 16px; diff --git a/wp-admin/css/theme-editor.css b/wp-admin/css/theme-editor.css index 73d0468b2..486f5c192 100644 --- a/wp-admin/css/theme-editor.css +++ b/wp-admin/css/theme-editor.css @@ -1,5 +1,5 @@ #template textarea { - font-family: 'Courier New', Courier, monospace; + font-family: Consolas, Monaco, Courier, monospace; font-size: 12px; width: 97%; } diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 61ff60c27..70423197c 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -121,7 +121,7 @@ function theme_update_available( $theme ) { - +

diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index d7a61af1d..3f50a9aae 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -332,7 +332,7 @@ form p.submit a.cancel:hover { .button-secondary, .button-highlighted, #postcustomstuff .submit input { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; text-decoration: none; font-size: 11px !important; line-height: 16px; @@ -373,7 +373,7 @@ a.button { } #wpcontent select { - font: 11px/20px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font: 11px/20px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; padding: 2px; border-width: 1px; border-style: solid; @@ -898,7 +898,7 @@ a#view-site-link { } #adminmenu .wp-submenu a { - font: normal 11px/18px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font: normal 11px/18px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; } #adminmenu .wp-submenu li.current, @@ -1356,7 +1356,7 @@ table.form-table td .updated { .setting-description, .form-wrap p { font-style: italic; - font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Sans", "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; } .form-wrap .form-field { @@ -2053,6 +2053,11 @@ body.wp-admin { margin: -5px 0 0 10px; } +.filter .subsubsub { + margin-left: -10px; + margin-top: 13px; +} + #the-comment-list td.comment p.comment-author { margin-top: 0; margin-left: 0; @@ -2136,7 +2141,7 @@ table.diff tr { table.diff td, table.diff th { padding: .5em; - font-family: monospace; + font-family: Consolas, Monaco, Courier, monospace; border: none; } @@ -2172,7 +2177,7 @@ fieldset { line-height: 2; margin: 0; padding: 4px 8px; - font: 18px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font: 18px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; } #wp_editbtns, @@ -2486,7 +2491,7 @@ fieldset { #contextual-help-link-wrap { float: right; background: transparent url( images/screen-options-left.gif ) no-repeat 0 0; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; height: 22px; padding: 0; margin: 0 6px 0 0; @@ -2764,7 +2769,7 @@ ul.cat-checklist { .inline-edit-row .catshow, .inline-edit-row .cathide, .inline-edit-row #bulk-titles div { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; font-style: normal; font-size: 11px; } @@ -3028,7 +3033,7 @@ abbr.required { #utc-time, #local-time { padding-left: 25px; font-style: italic; - font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: "Lucida Sans", "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; } ul#dismissed-updates {