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:
parent
b004b13b2b
commit
6444ad283f
|
@ -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="wphead-info">
|
||||||
<div id="user_info">
|
<div id="user_info">
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
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-color: #3c6b95;
|
||||||
background-image: url(../images/visit-site-button-grad-vs.gif);
|
background-image: url(../images/visit-site-button-grad-vs.gif);
|
||||||
color: #b6d1e4;
|
color: #b6d1e4;
|
||||||
text-shadow: #3f3f3f 0 -1px 0;
|
text-shadow: #3f3f3f 0 -1px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:hover .site-title-button {
|
#wphead a:hover #site-visit-button {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:focus .site-title-button,
|
#wphead a:focus #site-visit-button,
|
||||||
#wphead a:active .site-title-button {
|
#wphead a:active #site-visit-button {
|
||||||
background-position: 0 -27px;
|
background-position: 0 -27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1585,19 +1585,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||||
background: transparent url(../images/wp-logo.gif) no-repeat scroll center center;
|
background: transparent url(../images/wp-logo.gif) no-repeat scroll center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead .site-title-button {
|
#wphead #site-visit-button {
|
||||||
background-color: #585858;
|
background-color: #585858;
|
||||||
background-image: url(../images/visit-site-button-grad.gif);
|
background-image: url(../images/visit-site-button-grad.gif);
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
text-shadow: #3F3F3F 0 -1px 0;
|
text-shadow: #3F3F3F 0 -1px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:hover .site-title-button {
|
#wphead a:hover #site-visit-button {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:focus .site-title-button,
|
#wphead a:focus #site-visit-button,
|
||||||
#wphead a:active .site-title-button {
|
#wphead a:active #site-visit-button {
|
||||||
background-position:0 -27px;
|
background-position:0 -27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -902,7 +902,7 @@ div.comment-item:hover .row-actions {
|
||||||
padding: 12px 10px 5px;
|
padding: 12px 10px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead .site-title-button {
|
#wphead #site-visit-button {
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
|
@ -912,10 +912,14 @@ div.comment-item:hover .row-actions {
|
||||||
cursor: pointer; /* to keep IE happy */
|
cursor: pointer; /* to keep IE happy */
|
||||||
display: -moz-inline-stack; /* to keep FF2 happy */
|
display: -moz-inline-stack; /* to keep FF2 happy */
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wphead #site-visit-button,
|
||||||
|
#wphead #privacy-on-link {
|
||||||
font-size: 50%;
|
font-size: 50%;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
margin-left: 5px;
|
|
||||||
padding: 0 6px;
|
padding: 0 6px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
@ -923,7 +927,8 @@ div.comment-item:hover .row-actions {
|
||||||
#wphead h1 a:hover {
|
#wphead h1 a:hover {
|
||||||
text-decoration:none;
|
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;
|
text-decoration:underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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' );
|
$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)
|
// 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( 'ie', '/wp-admin/css/ie.css', array(), '20100108' );
|
||||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||||
|
|
Loading…
Reference in New Issue