From 47dec4bad67154a0b6f63a38392cbaabbbee6989 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 24 Mar 2008 16:18:30 +0000 Subject: [PATCH] FF3_b4 horizontal selects fix, widgets css fixes for IE6 and other small fixes and improvements from mt. fixes #6370 git-svn-id: http://svn.automattic.com/wordpress/trunk@7502 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/global.css | 67 ++++++++++++++++--- wp-admin/css/ie.css | 26 ++++--- wp-admin/css/widgets.css | 36 ++++++---- wp-admin/wp-admin.css | 45 +++++++------ .../js/tinymce/themes/advanced/link.htm | 2 +- 5 files changed, 116 insertions(+), 60 deletions(-) diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index 8bfecdfa66..e37a345396 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -36,6 +36,47 @@ textarea, input, select { .hidden { display: none; } +h1 { + display: block; + font-size: 2em; + font-weight: bold; + margin: .67em 0; +} + +h2 { + display: block; + font-size: 1.5em; + font-weight: bold; + margin: .83em 0; +} + +h3 { + display: block; + font-size: 1.17em; + font-weight: bold; + margin: 1em 0; +} + +h4 { + display: block; + font-weight: bold; + margin: 1.33em 0; +} + +h5 { + display: block; + font-size: 0.83em; + font-weight: bold; + margin: 1.67em 0; +} + +h6 { + display: block; + font-size: 0.67em; + font-weight: bold; + margin: 2.33em 0; +} + .subsubsub { list-style: none; margin: 14px 0 8px 0; @@ -72,34 +113,42 @@ textarea, input, select { border-bottom-style: solid; border-bottom-color: #ccc; font-size: 11px; - padding: 7px 25px 6px 2px; vertical-align: text-top; } +.widefat td { + padding: 7px 15px 6px 10px; + vertical-align: top; +} + .widefat th { - padding: 9px 25px 4px 2px; + padding: 9px 15px 6px 10px; text-align: left; line-height: 1.3em; } .widefat th input { - margin: 0 3px; + margin: 0 0 0 8px; padding: 0; } .widefat .check-column { - text-align: center; - width: 1.8em; - padding: 9px 2px 6px 6px; + text-align: right; + width: 1.5em; + padding: 0; + } .widefat tbody th.check-column { - padding-bottom: 20px; + padding: 8px 0 22px; } - +/* +th.check-column + th, th.check-column + td { + padding-left: 5px; +} +*/ .widefat .num { text-align: center; - padding: 10px 16px 0; } .wrap, .updated, .error { diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index b74cf77361..39ef254637 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -31,7 +31,7 @@ position: relative; } -#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list { +#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list, li.widget-list-control-item, #dragHelper, li.widget-list-control-item h4, .widget-sortable, .widget-control-actions { display: block; zoom: 100%; } @@ -92,11 +92,7 @@ div#dashboard-widgets { margin-left: -19px; } -* html .tablenav { - -} - -.tablenav .button-secondary { +.tablenav .button-secondary, .nav .button-secondary { padding: 0 1px; vertical-align: middle; } @@ -123,21 +119,23 @@ div#dashboard-widgets { } .widefat tr, .widefat th { - padding: 13px 25px 0 2px; margin-bottom: 0; border-spacing: 0; } -.widefat thead th.check-column { - padding: 9px 2px 4px 3px; +.widefat th input { + margin: 0 0 0 5px; +} + +.widefat .check-column { + padding: 6px 0 2px; } .widefat tbody th.check-column { - padding: 4px 3px 22px 3px; - text-align:center; - width:1.8em; + padding: 4px 0 22px; } -.widefat th.num { - padding: 14px 16px 0; +.tablenav a.button-secondary { + display: inline-block; + padding: 2px 5px; } diff --git a/wp-admin/css/widgets.css b/wp-admin/css/widgets.css index 9deacabe19..ea70396ff4 100644 --- a/wp-admin/css/widgets.css +++ b/wp-admin/css/widgets.css @@ -7,7 +7,7 @@ div.widget-liquid-left-holder { } div.widget-liquid-left { - margin-right: 310px; + margin-right: 320px; } div.widget-liquid-right { @@ -41,7 +41,7 @@ ul#widget-list { } ul#widget-list li.widget-list-item { - padding: .7em 1em; + padding: .7em 0.9em; margin: 0; border-bottom-width: 1px; border-bottom-style: solid; @@ -55,6 +55,7 @@ ul#widget-list li.widget-list-item h4.widget-title { padding: .5em 1em; width: 200px; float: left; + font-size: 13px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; @@ -102,9 +103,11 @@ li.widget-list-control-item { border-radius: 3px; } -li.widget-list-control-item h4, #dragHelper li.widget-list-control-item h4 { +li.widget-list-control-item h4, #dragHelper li.widget-list-control-item h4, li.widget-sortable h4 { margin: 0; - padding: .5em 1em; + padding: 0.4em 2.5em 0.4em 0.8em; + cursor: move; + font-size: 13px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; @@ -112,7 +115,7 @@ li.widget-list-control-item h4, #dragHelper li.widget-list-control-item h4 { } .widget-control-save, .widget-control-remove { - padding: 4px 6px; + padding: 3px 5px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; @@ -144,7 +147,7 @@ li.widget-list-control-item h4.widget-title a:hover { li.widget-list-control-item div.widget-control { display: none; margin: 1em; - padding: 0 10px 0 0; /* Correction for padding, margin, border of inputs */ + padding: 0 10px 0 7px; /* Correction for padding, margin, border of inputs */ font-size: 11px; } @@ -155,15 +158,14 @@ li.widget-list-control-item div.widget-control p { ul.widget-control-list div.widget-control-actions { margin-right: -10px; /* Correction for padding, margin, border of inputs */ - padding: 0 0 1em; + margin-left: -6px; border-top-width: 1px; border-top-style: solid; - padding: 0.5em 0 1em 0; + padding: 0.5em 0 0.8em; } ul.widget-control-list .widget-title { - cursor: move; - font-size: 12px; + } .widget-control-edit { @@ -171,12 +173,18 @@ ul.widget-control-list .widget-title { font-weight: normal; } - div#current-widgets { padding-top: 1em; border-width: 1px; - border-style: solid; - borde-right-style: none; - border-left-style: none; + border-style: solid none none; } +#widget-controls .widefat { + width: 92%; + padding: 3px; +} + +#widget-controls select.widefat { + width: auto; + display: block; +} diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index b53ee48597..ee08758d71 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -170,11 +170,14 @@ form#upload #post_content { font-weight: bold; } -select { - font: 12px/14px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; - padding: 0; +#wpcontent select { + font: 12px/20px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + padding: 2px; + border-width: 1px; border-style: solid; + height: 2em; + vertical-align:top; } .approve { @@ -432,8 +435,14 @@ set display:none; */ div.nav { - padding: 0.7em 1em; - margin: .7em 0; + height: 2em; + padding: 7px 10px; + vertical-align: text-top; + margin: 5px 0; +} + +.nav .button-secondary { + padding: 2px 4px; } .page-numbers { @@ -468,27 +477,14 @@ p.pagenav { margin-left: 5px; } -.tablenav select { - padding: 2px; - display: inline-block; - line-height: 2; - height: 2em; - -} - -.tablenav option { - margin: 3px; - display: inline-block; -} - .tablenav a.button-secondary { - display: inline-block; - margin-right: 8px; + display: block; + margin: 1px 8px 0 0; } .tablenav .button-secondary { padding: 2px 4px; - + vertical-align: top; } .tablenav .tablenav-pages a.next, .tablenav .tablenav-pages a.prev { @@ -501,6 +497,7 @@ p.pagenav { clear: both; margin-bottom: -10px; margin-top: 8px; + vertical-align: text-top; } .tablenav .tablenav-pages { @@ -741,7 +738,7 @@ a.view-comment-post-link { } strong .post-com-count { - background-position: center -56px; + background-position: center -55px; } .post-com-count:hover { @@ -1412,6 +1409,10 @@ ul.view-switch li.current { margin-left: 8px; } +#the-comment-list .check-column { + padding-top: 8px; +} + #templateside ul li a { text-decoration: none; } diff --git a/wp-includes/js/tinymce/themes/advanced/link.htm b/wp-includes/js/tinymce/themes/advanced/link.htm index 44b35d0d96..eaa46fdaf9 100644 --- a/wp-includes/js/tinymce/themes/advanced/link.htm +++ b/wp-includes/js/tinymce/themes/advanced/link.htm @@ -25,7 +25,7 @@ - +