Modify style of new "Privacy On" admin header indicator. props scottbasgaard, fixes #12211

git-svn-id: http://svn.automattic.com/wordpress/trunk@13182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-02-17 20:16:54 +00:00
parent b004b13b2b
commit 6444ad283f
8 changed files with 22 additions and 17 deletions

View File

@ -95,7 +95,7 @@ if ( function_exists('mb_strlen') ) {
}
?>
<img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 id="site-heading" <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit Site') ?>"><span id="site-title"><?php echo $blog_name ?></span> <em id="site-visit-button" class="site-title-button"><?php _e('Visit Site') ?></em></a><?php if ( ! get_option('blog_public') ) { ?> <a href="options-privacy.php" title="<?php esc_attr_e('Your blog is hidden from search engines') ?>"><em class="site-title-button"><?php _e('Privacy On') ?></em></a><?php } ?></h1>
<img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 id="site-heading" <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php esc_attr_e('Visit Site') ?>"><span id="site-title"><?php echo $blog_name ?></span> <em id="site-visit-button"><?php _e('Visit Site') ?></em></a><?php if ( ! get_option('blog_public') ) { ?> <a id="privacy-on-link" href="options-privacy.php" title="<?php esc_attr_e('Your blog is hidden from search engines') ?>"><?php _e('Privacy On') ?></a><?php } ?></h1>
<div id="wphead-info">
<div id="user_info">

File diff suppressed because one or more lines are too long

View File

@ -1596,19 +1596,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
background: transparent url(../images/wp-logo-vs.gif) no-repeat scroll center center;
}
#wphead .site-title-button {
#wphead #site-visit-button {
background-color: #3c6b95;
background-image: url(../images/visit-site-button-grad-vs.gif);
color: #b6d1e4;
text-shadow: #3f3f3f 0 -1px 0;
}
#wphead a:hover .site-title-button {
#wphead a:hover #site-visit-button {
color: #fff;
}
#wphead a:focus .site-title-button,
#wphead a:active .site-title-button {
#wphead a:focus #site-visit-button,
#wphead a:active #site-visit-button {
background-position: 0 -27px;
}

File diff suppressed because one or more lines are too long

View File

@ -1585,19 +1585,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
background: transparent url(../images/wp-logo.gif) no-repeat scroll center center;
}
#wphead .site-title-button {
#wphead #site-visit-button {
background-color: #585858;
background-image: url(../images/visit-site-button-grad.gif);
color: #aaa;
text-shadow: #3F3F3F 0 -1px 0;
}
#wphead a:hover .site-title-button {
#wphead a:hover #site-visit-button {
color: #fff;
}
#wphead a:focus .site-title-button,
#wphead a:active .site-title-button {
#wphead a:focus #site-visit-button,
#wphead a:active #site-visit-button {
background-position:0 -27px;
}

File diff suppressed because one or more lines are too long

View File

@ -902,7 +902,7 @@ div.comment-item:hover .row-actions {
padding: 12px 10px 5px;
}
#wphead .site-title-button {
#wphead #site-visit-button {
background-repeat: repeat-x;
background-position: 0 0;
-moz-border-radius: 3px;
@ -912,10 +912,14 @@ div.comment-item:hover .row-actions {
cursor: pointer; /* to keep IE happy */
display: -moz-inline-stack; /* to keep FF2 happy */
display: inline-block;
margin-left: 5px;
}
#wphead #site-visit-button,
#wphead #privacy-on-link {
font-size: 50%;
font-style: normal;
line-height: 17px;
margin-left: 5px;
padding: 0 6px;
vertical-align: middle;
}
@ -923,7 +927,8 @@ div.comment-item:hover .row-actions {
#wphead h1 a:hover {
text-decoration:none;
}
#wphead h1 a:hover #site-title {
#wphead h1 a:hover #site-title,
#wphead h1 a#privacy-on-link:hover {
text-decoration:underline;
}

View File

@ -432,9 +432,9 @@ function wp_default_styles( &$styles ) {
$rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20100215';
$colors_version = '20100217';
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100215' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100217' );
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20100108' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );