Help style refresh, part 1. A few elements left to add/tweak. see #18690.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-10-02 18:19:49 +00:00
parent 4801064ecd
commit dbd18bea3d
8 changed files with 28 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -788,16 +788,16 @@ table.widefat span.spam a,
border-color: #ccc;
}
.contextual-help-tabs a {
border-top-color: #f9f9f9;
border-bottom-color: #dfdfdf;
}
.contextual-help-tabs a:hover {
background-color: #EAF2FA;
color: #333;
}
.contextual-help-tabs .active {
border-color: #ccc;
}
.contextual-help-tabs .active,
.contextual-help-tabs .active a,
.contextual-help-tabs .active a:hover {
background: #fff;
@ -805,11 +805,12 @@ table.widefat span.spam a,
}
.contextual-help-sidebar {
background-color: #f9f9f9;
background-color: #f1f1f1;
}
.contextual-help-tabs-wrap {
border-color: #dfdfdf;
background-color: #fff;
}
.login #backtoblog a {

File diff suppressed because one or more lines are too long

View File

@ -1543,7 +1543,10 @@ form.upgrade .hint {
float: left;
width: 150px;
margin: 0;
overflow: auto;
}
.contextual-help-tabs ul {
margin: 1em 0;
}
.contextual-help-tabs li {
@ -1554,12 +1557,14 @@ form.upgrade .hint {
.contextual-help-tabs a {
display: block;
padding: 5px 5px 5px 12px;
font-weight: bold;
line-height: 18px;
text-decoration: none;
}
border-width: 1px 0;
.contextual-help-tabs .active {
padding: 0 2px;
margin: -1px -1px -1px -3px;
border-width: 1px 0 1px 1px;
border-style: solid;
}

View File

@ -659,7 +659,8 @@ final class WP_Screen {
?>
<div id="screen-meta" class='metabox-prefs'>
<div id="contextual-help-wrap" class="hidden">
<ul class="contextual-help-tabs">
<div class="contextual-help-tabs">
<ul>
<?php foreach ( $this->_help_tabs as $i => $tab ):
$link_id = "tab-link-{$tab['id']}";
$panel_id = "tab-panel-{$tab['id']}";
@ -672,7 +673,8 @@ final class WP_Screen {
</a>
</li>
<?php endforeach; ?>
</ul>
</ul>
</div>
<div class="contextual-help-sidebar">
<?php echo $this->_help_sidebar; ?>

File diff suppressed because one or more lines are too long

View File

@ -175,11 +175,9 @@
}
#wpadminbar.nojs .ab-top-menu > li.menupop:hover,
#wpadminbar .ab-top-menu li.menupop.hover {
background: #fff;
}
#wpadminbar .ab-top-menu li.menupop.hover,
#wpadminbar .ab-top-menu .selected.screen-meta-toggle {
background: #f1f1f1;
background: #fff;
}
#wpadminbar.nojs .quicklinks .menupop:hover a,

View File

@ -431,13 +431,13 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110928b' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111002' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110919' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20110928';
$colors_version = '20111002';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array('wp-admin'), $colors_version );
@ -452,7 +452,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
$styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110926' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111002' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
$styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111002' );
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20110918' );