From ac1ccbba3a11c7708df8e9b5928afd7c11233c14 Mon Sep 17 00:00:00 2001
From: azaozz
Date: Sat, 29 Nov 2008 15:52:17 +0000
Subject: [PATCH] CSS cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/admin-footer.php | 2 +-
wp-admin/css/colors-classic.css | 3 +-
wp-admin/css/colors-fresh.css | 18 ++++++----
wp-admin/css/dashboard-rtl.css | 2 ++
wp-admin/css/dashboard.css | 15 ++++----
wp-admin/rtl.css | 7 ++++
wp-admin/wp-admin.css | 62 ++++++++++++---------------------
wp-includes/script-loader.php | 6 ++--
8 files changed, 57 insertions(+), 58 deletions(-)
diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php
index 39c219d52c..87d953fa22 100644
--- a/wp-admin/admin-footer.php
+++ b/wp-admin/admin-footer.php
@@ -18,7 +18,7 @@ do_action( 'in_admin_footer' );
$upgrade = apply_filters( 'update_footer', '' );
echo ' | '.__('Documentation').' | '.__('Feedback'); ?>
-
+
diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css
index c7b6fcfbde..e05d80bbd6 100644
--- a/wp-admin/css/colors-classic.css
+++ b/wp-admin/css/colors-classic.css
@@ -235,8 +235,7 @@ ul#widget-list li.widget-list-item h4.widget-title {
.search-input,
.form-field input,
.form-field textarea,
-.submit,
-.submit-top {
+.submit {
border-color: #DFDFDF;
}
diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css
index 3a3ff047a9..3c1837d04f 100644
--- a/wp-admin/css/colors-fresh.css
+++ b/wp-admin/css/colors-fresh.css
@@ -100,9 +100,8 @@ input.disabled,
textarea.disabled {
background-color: #ccc;
}
-
+/* #upload-menu li a.upload-tab-link, */
li.widget-list-control-item h4.widget-title a:hover,
-#upload-menu li a.upload-tab-link,
li.widget-list-control-item h4.widget-title a,
#dragHelper li.widget-list-control-item h4.widget-title a,
#draghelper li.widget-list-control-item h4.widget-title a:visited,
@@ -236,8 +235,7 @@ ul#widget-list li.widget-list-item h4.widget-title {
.search-input,
.form-field input,
.form-field textarea,
-.submit,
-.submit-top {
+.submit {
border-color: #DFDFDF;
}
@@ -259,6 +257,10 @@ ul#widget-list li.widget-list-item h4.widget-title {
border-bottom-color: #dfdfdf;
}
+#wpbody-content #media-items .describe {
+ border-top-color: #dfdfdf;
+}
+
.describe input[type="text"],
.describe textarea {
border-color: #dfdfdf;
@@ -691,7 +693,7 @@ li.widget-list-control-item h4,
border-top-color: #ccc;
color: #555;
}
-
+/*
#upload-files a.file-link {
background-color: #d1e2ef;
}
@@ -724,7 +726,7 @@ li.widget-list-control-item h4,
#upload-menu li {
border-top-color: #247fab;
}
-
+*/
.login #backtoblog a {
color: #ccc;
}
@@ -1379,6 +1381,10 @@ div.star.select:hover {
background: #ddd;
}
+fieldset.inline-edit-col-right .inline-edit-col {
+ border-color: #dfdfdf;
+}
+
.attention {
color: #D54E21;
}
diff --git a/wp-admin/css/dashboard-rtl.css b/wp-admin/css/dashboard-rtl.css
index 4116911171..cb46c41659 100644
--- a/wp-admin/css/dashboard-rtl.css
+++ b/wp-admin/css/dashboard-rtl.css
@@ -38,9 +38,11 @@
left: auto;
right: 0;
}
+/*
#dashboard-widgets .heading {
font-family: Tahoma, Arial;
}
+*/
/* Feeds */
.rss-widget cite {
text-align: left;
diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css
index 3433b187e6..1cc75817dc 100644
--- a/wp-admin/css/dashboard.css
+++ b/wp-admin/css/dashboard.css
@@ -89,14 +89,14 @@ div.postbox div.inside {
margin: 0 0 .2em;
padding: 0;
}
-
+/*
#dashboard-widgets .heading {
font-size: 1em;
font-weight: normal;
font-style: italic;
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
}
-
+*/
/* Right Now */
#dashboard_right_now p.sub,
@@ -243,21 +243,22 @@ div.postbox div.inside {
font-weight: normal;
color: #999;
}
-
+/*
.comment-meta strong {
font-weight: normal;
}
+*/
-#the-comment-list .comment-item h4 cite,
-#the-comment-list .comment-item h4 strong {
+/*#the-comment-list .comment-item h4 strong*/
+#the-comment-list .comment-item h4 cite {
font-style: normal;
font-weight: normal;
}
-
+/*
#the-comment-list .comment-item p.comment-author {
margin: 0.2em 0;
}
-
+*/
#the-comment-list .comment-item blockquote,
#the-comment-list .comment-item blockquote p {
margin: 0;
diff --git a/wp-admin/rtl.css b/wp-admin/rtl.css
index 017818d619..b3a1af4237 100644
--- a/wp-admin/rtl.css
+++ b/wp-admin/rtl.css
@@ -341,10 +341,13 @@ td.available-theme {
margin-right: 18px;
}
/* positioning etc. */
+
+/*
p#big-add-button {
right: auto;
left: 0;
}
+*/
p.search-box {
float: left;
}
@@ -397,6 +400,8 @@ td.action-links, th.action-links {
padding-left: 0;
padding-right: 18px;
}
+
+/*
#inbox-filter .actions {
margin-left: 0;
margin-right: 6px;
@@ -416,6 +421,8 @@ td.action-links, th.action-links {
#inbox-message {
margin: 0 7.5em 0 0;
}
+*/
+
/* media popup 0819 */
#sidemenu {
margin: -30px 315px 0 15px;
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css
index dda107e4c3..ea71ab1121 100644
--- a/wp-admin/wp-admin.css
+++ b/wp-admin/wp-admin.css
@@ -23,6 +23,7 @@ p, ul, ol, blockquote { font-size: 12px; }
font-size: 16px;
}
+/*
#uploading {
border-style: none;
padding: 0;
@@ -47,11 +48,7 @@ form#upload #post_content, form#upload #post_title {
form#upload #post_content {
height: 50px;
}
-
-.attpreview {
- width: 1px; /* hug */
- text-align: center;
-}
+*/
.anchors {
margin: 10px 20px 10px 20px;
@@ -202,13 +199,8 @@ form p.submit a.cancel:hover {
text-decoration: none;
}
-.submit-top {
- border-top: 0 none;
- border-bottom-style: solid;
- border-bottom-width: 1px;
-}
-
-#submitdiv h3, #pagesubmitdiv h3 {
+#submitdiv h3,
+#pagesubmitdiv h3 {
margin-bottom: 0 !important;
}
@@ -406,12 +398,12 @@ table .vers {
textarea.all-options, input.all-options {
width: 250px;
}
-
-#postdiv, #titlediv, #guiddiv, #poststuff .stuffbox {
+/*
+#postdiv, #titlediv, #poststuff .stuffbox {
margin: 0;
padding: 0;
}
-
+*/
#namediv table {
width: 100%;
}
@@ -432,12 +424,12 @@ textarea.all-options, input.all-options {
#wpbody-content .metabox-holder {
padding-top: 10px;
}
-
+/*
#postdivrich {
margin: 0;
padding: 0;
}
-
+*/
#content {
margin: 0;
width: 100%;
@@ -510,19 +502,19 @@ 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;
}
@@ -547,7 +539,7 @@ textarea.all-options, input.all-options {
position: relative;
top: .35em;
}
-
+*/
/* post meta postbox */
#postcustomstuff table,
#postcustomstuff input,
@@ -805,11 +797,6 @@ td.media-icon img {
width: 200px;
}
-a.view-comment-post-link {
- position: absolute;
- text-decoration: underline;
-}
-
.row-actions {
visibility: hidden;
padding: 2px 0 0;
@@ -839,11 +826,6 @@ div.comment-item:hover .row-actions {
line-height: 46px;
}
-a#view-site-link {
- position: relative;
- bottom: 10px;
-}
-
#wphead {
height: 46px;
}
@@ -1436,7 +1418,7 @@ table.form-table td .updated {
#side-sortables #show-comments {
display: none;
}
-
+/*
#mediadiv img {
float: left;
margin-right: 1em;
@@ -1445,7 +1427,7 @@ table.form-table td .updated {
#mediadiv h4 {
margin: 0 0 .5em;
}
-
+*/
#post-body #tagsdiv #newtag {
margin-right: 5px;
width: 16em;
@@ -1974,7 +1956,7 @@ ul.categorychecklist li {
form#tags-filter {
position: relative;
}
-
+/*
p#big-add-button {
position: absolute;
right: 0;
@@ -1986,7 +1968,7 @@ p#big-add-button .button {
font-size: 18px;
padding: 3px 30px;
}
-
+*/
p.search-box {
float: right;
margin: -5px 0 0;
@@ -2253,7 +2235,7 @@ fieldset {
border-width: 1px;
border-style: solid;
}
-
+/*
#inbox-filter .actions {
margin-left: 6px;
background: url(images/archive-link.png) 0 12px no-repeat;
@@ -2293,7 +2275,7 @@ fieldset {
margin: 0 0 0 7.5em;
padding: 5px;
}
-
+*/
/* media popup 0819 */
#sidemenu {
margin: -30px 15px 0 315px;
@@ -2363,7 +2345,7 @@ fieldset {
#sidemenu li a .count-0 {
display: none;
}
-
+/*
#previewview {
float: right;
margin-top: -53px;
@@ -2378,6 +2360,7 @@ fieldset {
text-decoration: none;
width: 200px;
}
+*/
/* reply to comments */
#replyrow {
@@ -2583,7 +2566,8 @@ tr.inline-edit-row td {
}
#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col {
- border-left: 1px solid;
+ border-width: 0 0 0 1px;
+ border-style: none none none solid;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php
index a68f858af2..cf64251954 100644
--- a/wp-includes/script-loader.php
+++ b/wp-includes/script-loader.php
@@ -300,20 +300,20 @@ function wp_default_styles( &$styles ) {
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
- $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081128' );
+ $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081129' );
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20081128' );
$styles->add_data( 'ie', 'conditional', 'gte IE 6' );
- $styles->add( 'colors', true, array(), '20081128' ); // Register "meta" stylesheet for admin colors
+ $styles->add( 'colors', true, array(), '20081129' ); // Register "meta" stylesheet for admin colors
$styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081128'); // for login.php. Is there a better way?
$styles->add_data( 'colors-fresh', 'rtl', true );
$styles->add( 'global', '/wp-admin/css/global.css', array(), '20081128' );
$styles->add( 'media', '/wp-admin/css/media.css', array(), '20081128' );
$styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20081128' );
- $styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20081128' );
+ $styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20081129' );
$styles->add( 'install', '/wp-admin/css/install.css', array(), '20081128' );
$styles->add( 'theme-editor', '/wp-admin/css/theme-editor.css', array(), '20081128' );
$styles->add( 'press-this', '/wp-admin/css/press-this.css', array(), '20081128' );