Keep the menu closed while loading
git-svn-id: https://develop.svn.wordpress.org/trunk@10140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f7c88ef2c7
commit
8f3589af72
@ -108,6 +108,10 @@ if ( function_exists('mb_strlen') ) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ( get_user_setting('mfold') == 'f' ) { ?>
|
||||
<script type="text/javascript">jQuery('#wpcontent').addClass('folded');</script>
|
||||
<?php } ?>
|
||||
|
||||
<div id="wpbody">
|
||||
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
|
||||
|
||||
|
@ -155,6 +155,33 @@ table {
|
||||
width: 59%;
|
||||
}
|
||||
|
||||
/* utility classes */
|
||||
.alignleft {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.textleft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textright {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.hidden,
|
||||
.closed .inside,
|
||||
.hide-if-no-js {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* include margin and padding in the width calculation of input and textarea */
|
||||
input[type="text"],
|
||||
textarea {
|
||||
@ -213,26 +240,6 @@ select {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.alignleft {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.textleft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textright {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.clear { clear: both; }
|
||||
|
||||
.hidden { display: none; }
|
||||
|
||||
h1 {
|
||||
display: block;
|
||||
font-size: 2em;
|
||||
|
@ -485,7 +485,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
|
||||
if ( 'reply' == $action || 'quickedit' == $action )
|
||||
$action .= ' hide-if-no-js';
|
||||
|
||||
$actions_string .= "$sep<span class='$action'>$link</span>";
|
||||
$actions_string .= "<span class='$action'>$sep$link</span>";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1396,7 +1396,7 @@ function _post_row($a_post, $pending_comments, $mode) {
|
||||
foreach ( $actions as $action => $link ) {
|
||||
++$i;
|
||||
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
|
||||
echo "<span class='$action'>$link</span>$sep";
|
||||
echo "<span class='$action'>$link$sep</span>";
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
|
@ -1712,14 +1712,6 @@ input#link_url {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.metabox-holder .closed .inside, #poststuff .closed .inside {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metabox-holder .closed h3, #poststuff .closed h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.submitbox .submit {
|
||||
text-align: left;
|
||||
padding: 12px 10px 10px;
|
||||
@ -1980,10 +1972,6 @@ td.action-links, th.action-links {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.hide-if-no-js {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Diff */
|
||||
|
||||
table.diff {
|
||||
|
Loading…
Reference in New Issue
Block a user