mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
CSS cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9ac312adb5
commit
ac1ccbba3a
@ -18,7 +18,7 @@ do_action( 'in_admin_footer' );
|
|||||||
$upgrade = apply_filters( 'update_footer', '' );
|
$upgrade = apply_filters( 'update_footer', '' );
|
||||||
echo '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?>
|
echo '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?>
|
||||||
</p>
|
</p>
|
||||||
<?php if ( $is_IE ) browse_happy(); ?>
|
<?php // if ( $is_IE ) browse_happy(); ?>
|
||||||
<p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
|
<p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -235,8 +235,7 @@ ul#widget-list li.widget-list-item h4.widget-title {
|
|||||||
.search-input,
|
.search-input,
|
||||||
.form-field input,
|
.form-field input,
|
||||||
.form-field textarea,
|
.form-field textarea,
|
||||||
.submit,
|
.submit {
|
||||||
.submit-top {
|
|
||||||
border-color: #DFDFDF;
|
border-color: #DFDFDF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,9 +100,8 @@ input.disabled,
|
|||||||
textarea.disabled {
|
textarea.disabled {
|
||||||
background-color: #ccc;
|
background-color: #ccc;
|
||||||
}
|
}
|
||||||
|
/* #upload-menu li a.upload-tab-link, */
|
||||||
li.widget-list-control-item h4.widget-title a:hover,
|
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,
|
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,
|
||||||
#draghelper li.widget-list-control-item h4.widget-title a:visited,
|
#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,
|
.search-input,
|
||||||
.form-field input,
|
.form-field input,
|
||||||
.form-field textarea,
|
.form-field textarea,
|
||||||
.submit,
|
.submit {
|
||||||
.submit-top {
|
|
||||||
border-color: #DFDFDF;
|
border-color: #DFDFDF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,6 +257,10 @@ ul#widget-list li.widget-list-item h4.widget-title {
|
|||||||
border-bottom-color: #dfdfdf;
|
border-bottom-color: #dfdfdf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wpbody-content #media-items .describe {
|
||||||
|
border-top-color: #dfdfdf;
|
||||||
|
}
|
||||||
|
|
||||||
.describe input[type="text"],
|
.describe input[type="text"],
|
||||||
.describe textarea {
|
.describe textarea {
|
||||||
border-color: #dfdfdf;
|
border-color: #dfdfdf;
|
||||||
@ -691,7 +693,7 @@ li.widget-list-control-item h4,
|
|||||||
border-top-color: #ccc;
|
border-top-color: #ccc;
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#upload-files a.file-link {
|
#upload-files a.file-link {
|
||||||
background-color: #d1e2ef;
|
background-color: #d1e2ef;
|
||||||
}
|
}
|
||||||
@ -724,7 +726,7 @@ li.widget-list-control-item h4,
|
|||||||
#upload-menu li {
|
#upload-menu li {
|
||||||
border-top-color: #247fab;
|
border-top-color: #247fab;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
.login #backtoblog a {
|
.login #backtoblog a {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
@ -1379,6 +1381,10 @@ div.star.select:hover {
|
|||||||
background: #ddd;
|
background: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fieldset.inline-edit-col-right .inline-edit-col {
|
||||||
|
border-color: #dfdfdf;
|
||||||
|
}
|
||||||
|
|
||||||
.attention {
|
.attention {
|
||||||
color: #D54E21;
|
color: #D54E21;
|
||||||
}
|
}
|
||||||
|
@ -38,9 +38,11 @@
|
|||||||
left: auto;
|
left: auto;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#dashboard-widgets .heading {
|
#dashboard-widgets .heading {
|
||||||
font-family: Tahoma, Arial;
|
font-family: Tahoma, Arial;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/* Feeds */
|
/* Feeds */
|
||||||
.rss-widget cite {
|
.rss-widget cite {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -89,14 +89,14 @@ div.postbox div.inside {
|
|||||||
margin: 0 0 .2em;
|
margin: 0 0 .2em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#dashboard-widgets .heading {
|
#dashboard-widgets .heading {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/* Right Now */
|
/* Right Now */
|
||||||
|
|
||||||
#dashboard_right_now p.sub,
|
#dashboard_right_now p.sub,
|
||||||
@ -243,21 +243,22 @@ div.postbox div.inside {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
.comment-meta strong {
|
.comment-meta strong {
|
||||||
font-weight: normal;
|
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-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#the-comment-list .comment-item p.comment-author {
|
#the-comment-list .comment-item p.comment-author {
|
||||||
margin: 0.2em 0;
|
margin: 0.2em 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#the-comment-list .comment-item blockquote,
|
#the-comment-list .comment-item blockquote,
|
||||||
#the-comment-list .comment-item blockquote p {
|
#the-comment-list .comment-item blockquote p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -341,10 +341,13 @@ td.available-theme {
|
|||||||
margin-right: 18px;
|
margin-right: 18px;
|
||||||
}
|
}
|
||||||
/* positioning etc. */
|
/* positioning etc. */
|
||||||
|
|
||||||
|
/*
|
||||||
p#big-add-button {
|
p#big-add-button {
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
p.search-box {
|
p.search-box {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
@ -397,6 +400,8 @@ td.action-links, th.action-links {
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#inbox-filter .actions {
|
#inbox-filter .actions {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
@ -416,6 +421,8 @@ td.action-links, th.action-links {
|
|||||||
#inbox-message {
|
#inbox-message {
|
||||||
margin: 0 7.5em 0 0;
|
margin: 0 7.5em 0 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/* media popup 0819 */
|
/* media popup 0819 */
|
||||||
#sidemenu {
|
#sidemenu {
|
||||||
margin: -30px 315px 0 15px;
|
margin: -30px 315px 0 15px;
|
||||||
|
@ -23,6 +23,7 @@ p, ul, ol, blockquote { font-size: 12px; }
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#uploading {
|
#uploading {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -47,11 +48,7 @@ form#upload #post_content, form#upload #post_title {
|
|||||||
form#upload #post_content {
|
form#upload #post_content {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
.attpreview {
|
|
||||||
width: 1px; /* hug */
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anchors {
|
.anchors {
|
||||||
margin: 10px 20px 10px 20px;
|
margin: 10px 20px 10px 20px;
|
||||||
@ -202,13 +199,8 @@ form p.submit a.cancel:hover {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit-top {
|
#submitdiv h3,
|
||||||
border-top: 0 none;
|
#pagesubmitdiv h3 {
|
||||||
border-bottom-style: solid;
|
|
||||||
border-bottom-width: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#submitdiv h3, #pagesubmitdiv h3 {
|
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -406,12 +398,12 @@ table .vers {
|
|||||||
textarea.all-options, input.all-options {
|
textarea.all-options, input.all-options {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#postdiv, #titlediv, #guiddiv, #poststuff .stuffbox {
|
#postdiv, #titlediv, #poststuff .stuffbox {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#namediv table {
|
#namediv table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@ -432,12 +424,12 @@ textarea.all-options, input.all-options {
|
|||||||
#wpbody-content .metabox-holder {
|
#wpbody-content .metabox-holder {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#postdivrich {
|
#postdivrich {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#content {
|
#content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -510,19 +502,19 @@ textarea.all-options, input.all-options {
|
|||||||
#ed_reply_toolbar #ed_reply_em {
|
#ed_reply_toolbar #ed_reply_em {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#attachmentlinks textarea {
|
#attachmentlinks textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2.5em;
|
height: 2.5em;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#excerpt, .attachmentlinks {
|
#excerpt, .attachmentlinks {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 4em;
|
height: 4em;
|
||||||
width: 98%;
|
width: 98%;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#login .fullwidth {
|
#login .fullwidth {
|
||||||
width: 320px;
|
width: 320px;
|
||||||
}
|
}
|
||||||
@ -547,7 +539,7 @@ textarea.all-options, input.all-options {
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: .35em;
|
top: .35em;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/* post meta postbox */
|
/* post meta postbox */
|
||||||
#postcustomstuff table,
|
#postcustomstuff table,
|
||||||
#postcustomstuff input,
|
#postcustomstuff input,
|
||||||
@ -805,11 +797,6 @@ td.media-icon img {
|
|||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.view-comment-post-link {
|
|
||||||
position: absolute;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row-actions {
|
.row-actions {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
padding: 2px 0 0;
|
padding: 2px 0 0;
|
||||||
@ -839,11 +826,6 @@ div.comment-item:hover .row-actions {
|
|||||||
line-height: 46px;
|
line-height: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a#view-site-link {
|
|
||||||
position: relative;
|
|
||||||
bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wphead {
|
#wphead {
|
||||||
height: 46px;
|
height: 46px;
|
||||||
}
|
}
|
||||||
@ -1436,7 +1418,7 @@ table.form-table td .updated {
|
|||||||
#side-sortables #show-comments {
|
#side-sortables #show-comments {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#mediadiv img {
|
#mediadiv img {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
@ -1445,7 +1427,7 @@ table.form-table td .updated {
|
|||||||
#mediadiv h4 {
|
#mediadiv h4 {
|
||||||
margin: 0 0 .5em;
|
margin: 0 0 .5em;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#post-body #tagsdiv #newtag {
|
#post-body #tagsdiv #newtag {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
width: 16em;
|
width: 16em;
|
||||||
@ -1974,7 +1956,7 @@ ul.categorychecklist li {
|
|||||||
form#tags-filter {
|
form#tags-filter {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
p#big-add-button {
|
p#big-add-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
@ -1986,7 +1968,7 @@ p#big-add-button .button {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
padding: 3px 30px;
|
padding: 3px 30px;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
p.search-box {
|
p.search-box {
|
||||||
float: right;
|
float: right;
|
||||||
margin: -5px 0 0;
|
margin: -5px 0 0;
|
||||||
@ -2253,7 +2235,7 @@ fieldset {
|
|||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#inbox-filter .actions {
|
#inbox-filter .actions {
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
background: url(images/archive-link.png) 0 12px no-repeat;
|
background: url(images/archive-link.png) 0 12px no-repeat;
|
||||||
@ -2293,7 +2275,7 @@ fieldset {
|
|||||||
margin: 0 0 0 7.5em;
|
margin: 0 0 0 7.5em;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/* media popup 0819 */
|
/* media popup 0819 */
|
||||||
#sidemenu {
|
#sidemenu {
|
||||||
margin: -30px 15px 0 315px;
|
margin: -30px 15px 0 315px;
|
||||||
@ -2363,7 +2345,7 @@ fieldset {
|
|||||||
#sidemenu li a .count-0 {
|
#sidemenu li a .count-0 {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#previewview {
|
#previewview {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: -53px;
|
margin-top: -53px;
|
||||||
@ -2378,6 +2360,7 @@ fieldset {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/* reply to comments */
|
/* reply to comments */
|
||||||
#replyrow {
|
#replyrow {
|
||||||
@ -2583,7 +2566,8 @@ tr.inline-edit-row td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col {
|
#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 {
|
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
|
||||||
|
@ -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' );
|
$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_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
||||||
|
|
||||||
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20081128' );
|
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20081128' );
|
||||||
$styles->add_data( 'ie', 'conditional', 'gte IE 6' );
|
$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( '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_data( 'colors-fresh', 'rtl', true );
|
||||||
|
|
||||||
$styles->add( 'global', '/wp-admin/css/global.css', array(), '20081128' );
|
$styles->add( 'global', '/wp-admin/css/global.css', array(), '20081128' );
|
||||||
$styles->add( 'media', '/wp-admin/css/media.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( '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( 'install', '/wp-admin/css/install.css', array(), '20081128' );
|
||||||
$styles->add( 'theme-editor', '/wp-admin/css/theme-editor.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' );
|
$styles->add( 'press-this', '/wp-admin/css/press-this.css', array(), '20081128' );
|
||||||
|
Loading…
Reference in New Issue
Block a user