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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if ( get_user_setting('mfold') == 'f' ) { ?>
|
||||||
|
<script type="text/javascript">jQuery('#wpcontent').addClass('folded');</script>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<div id="wpbody">
|
<div id="wpbody">
|
||||||
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
|
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
|
||||||
|
|
||||||
|
@ -155,6 +155,33 @@ table {
|
|||||||
width: 59%;
|
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 */
|
/* include margin and padding in the width calculation of input and textarea */
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
textarea {
|
textarea {
|
||||||
@ -213,26 +240,6 @@ select {
|
|||||||
padding: 3px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignleft {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.alignright {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textleft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textright {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clear { clear: both; }
|
|
||||||
|
|
||||||
.hidden { display: none; }
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
@ -485,7 +485,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
|
|||||||
if ( 'reply' == $action || 'quickedit' == $action )
|
if ( 'reply' == $action || 'quickedit' == $action )
|
||||||
$action .= ' hide-if-no-js';
|
$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 ) {
|
foreach ( $actions as $action => $link ) {
|
||||||
++$i;
|
++$i;
|
||||||
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
|
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
|
||||||
echo "<span class='$action'>$link</span>$sep";
|
echo "<span class='$action'>$link$sep</span>";
|
||||||
}
|
}
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
@ -1712,14 +1712,6 @@ input#link_url {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metabox-holder .closed .inside, #poststuff .closed .inside {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.metabox-holder .closed h3, #poststuff .closed h3 {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitbox .submit {
|
.submitbox .submit {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 12px 10px 10px;
|
padding: 12px 10px 10px;
|
||||||
@ -1980,10 +1972,6 @@ td.action-links, th.action-links {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hide-if-no-js {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Diff */
|
/* Diff */
|
||||||
|
|
||||||
table.diff {
|
table.diff {
|
||||||
|
Loading…
Reference in New Issue
Block a user