From b67df867b484e4ced9f03a9406945001ee26b5e3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sun, 30 Nov 2008 22:47:42 +0000 Subject: [PATCH] Fix thead and tfoot background images for IE git-svn-id: https://develop.svn.wordpress.org/trunk@9990 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-classic.css | 6 +- wp-admin/css/colors-fresh.css | 6 +- wp-admin/css/global.css | 29 +++++- wp-admin/css/ie.css | 6 -- wp-admin/wp-admin.css | 161 +------------------------------- 5 files changed, 35 insertions(+), 173 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 80d1168747..d9a66315bc 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -442,10 +442,8 @@ ul#widget-list li.widget-list-item, text-shadow: rgba(255,255,255,0.8) 0 1px 0; } -.widefat thead tr, -.widefat tfoot tr, -.thead, -.tfoot, +.widefat thead tr th, +.widefat tfoot tr th, h3.dashboard-widget-title, h3.dashboard-widget-title span, h3.dashboard-widget-title small, diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 1906ed4cc9..a183b93311 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -451,10 +451,8 @@ ul#widget-list li.widget-list-item, text-shadow: rgba(255,255,255,0.8) 0 1px 0; } -.widefat thead tr, -.widefat tfoot tr, -.thead, -.tfoot, +.widefat thead tr th, +.widefat tfoot tr th, h3.dashboard-widget-title, h3.dashboard-widget-title span, h3.dashboard-widget-title small, diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index e9fed4dafe..fd5788374b 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -321,7 +321,6 @@ h6 { .widefat th { border-bottom-width: 1px; border-bottom-style: solid; - border-bottom-color: #ccc; font-size: 11px; vertical-align: text-top; } @@ -331,6 +330,34 @@ h6 { vertical-align: top; } +.widefat thead tr th:first { + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + -khtml-border-top-left-radius: 4px; + border-top-left-radius: 4px; +} + +.widefat thead tr th:last { + -moz-border-radius-topright: 4px; + -webkit-border-top-right-radius: 4px; + -khtml-border-top-right-radius: 4px; + border-top-right-radius: 4px; +} + +.widefat tfoot tr th:first { + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + -khtml-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; +} + +.widefat tfoot tr th:last { + -moz-border-radius-bottomright: 4px; + -webkit-border-bottom-right-radius: 4px; + -khtml-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; +} + .widefat td p { font-size: 11px; } diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index 3fdbc75f3d..e9705a3393 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -201,12 +201,6 @@ a.button { margin: 1px; } -.widefat thead tr th, -.widefat tfoot tr th { - background: #DFDFDF url(../images/gray-grad.png) repeat-x scroll left top; - color: #333333; -} - * html div.widget-liquid-left-holder, * html div.widget-liquid-right { display: block; diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index ceba8168f6..a1c20fb149 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -23,33 +23,6 @@ p, ul, ol, blockquote { font-size: 12px; } font-size: 16px; } -/* -#uploading { - border-style: none; - padding: 0; - margin-bottom: 16px; - height: 18em; - width: 100%; -} - -form#upload th { - text-align: right; -} - -form#upload #post_content, form#upload #post_title { - width: 250px; -} - -.form-invalid input { - border-width: 1px !important; - border-style: solid !important; -} - -form#upload #post_content { - height: 50px; -} -*/ - .anchors { margin: 10px 20px 10px 20px; } @@ -398,12 +371,7 @@ table .vers { textarea.all-options, input.all-options { width: 250px; } -/* -#postdiv, #titlediv, #poststuff .stuffbox { - margin: 0; - padding: 0; -} -*/ + #namediv table { width: 100%; } @@ -424,12 +392,7 @@ textarea.all-options, input.all-options { #wpbody-content .metabox-holder { padding-top: 10px; } -/* -#postdivrich { - margin: 0; - padding: 0; -} -*/ + #content { margin: 0; width: 100%; @@ -502,44 +465,13 @@ textarea.all-options, input.all-options { #ed_reply_toolbar #ed_reply_em { font-style: italic; } -/* -#attachmentlinks textarea { - width: 100%; - height: 2.5em; - margin-bottom: 6px; -} -*/ + #excerpt, .attachmentlinks { margin: 0; height: 4em; width: 98%; } -/* -#login .fullwidth { - width: 320px; -} -#searchform fieldset { - float: left; - margin: 0 1.5ex 1em 0; - padding: 0; -} - -#searchform fieldset legend { - padding: 0 0 .2em 1px; -} - -#searchform #s { - padding: 4px 3px; -} - -#searchform #post-query-submit { - float: left; - margin: 14px 0 1em; - position: relative; - top: .35em; -} -*/ /* post meta postbox */ #postcustomstuff table, #postcustomstuff input, @@ -1418,16 +1350,7 @@ table.form-table td .updated { #side-sortables #show-comments { display: none; } -/* -#mediadiv img { - float: left; - margin-right: 1em; -} -#mediadiv h4 { - margin: 0 0 .5em; -} -*/ #post-body #tagsdiv #newtag { margin-right: 5px; width: 16em; @@ -1796,12 +1719,6 @@ input#link_url { margin: 0; } -/* -#side-info-column #side-sortables { - height: 100%; -} -*/ - .submitbox .submit { text-align: left; padding: 12px 10px 10px; @@ -1946,19 +1863,7 @@ ul.categorychecklist li { form#tags-filter { position: relative; } -/* -p#big-add-button { - position: absolute; - right: 0; - top: 0; - margin: 0; -} -p#big-add-button .button { - font-size: 18px; - padding: 3px 30px; -} -*/ p.search-box { float: right; margin: -5px 0 0; @@ -2057,10 +1962,6 @@ body.wp-admin { } #the-comment-list td.comment { -/* - width: 65%; - max-width: 460px; -*/ word-wrap: break-word; } @@ -2204,47 +2105,7 @@ fieldset { border-width: 1px; border-style: solid; } -/* -#inbox-filter .actions { - margin-left: 6px; - background: url(images/archive-link.png) 0 12px no-repeat; - padding-left: 16px; -} -#inbox-filter .actions .button { - font-size: 11px; - padding: 2px; -} - -#inbox-filter ul { - list-style: none; - margin: 0; - padding: 0; - position: relative; -} - -#inbox-filter ul li { - position: relative; -} - -#inbox-filter ul input.checkbox { - float: left; -} - -#inbox-filter ul p { - float: left; - margin: 0; - margin-left: -40px; - width: 100%; - position: relative; - left: 50px; -} - -#inbox-message { - margin: 0 0 0 7.5em; - padding: 5px; -} -*/ /* media popup 0819 */ #sidemenu { margin: -30px 15px 0 315px; @@ -2314,22 +2175,6 @@ fieldset { #sidemenu li a .count-0 { display: none; } -/* -#previewview { - float: right; - margin-top: -53px; -} - -#previewview a { - display: block; - font-size: 16px; - font-weight: normal; - padding: 4px 8px; - text-align: center; - text-decoration: none; - width: 200px; -} -*/ /* reply to comments */ #replyrow {