Final HiDPI tweaks. Don't use rss-2x.png on a front-end widget. Improve selectors for favicons in the toolbar to avoid breaking existing images. Remove unnecessary RTL styles. FIXES #21019.
git-svn-id: http://core.svn.wordpress.org/trunk@22481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
21ff438642
commit
56c1b7c7ff
|
@ -521,7 +521,6 @@ form.upgrade .hint {
|
|||
|
||||
.post-com-count {
|
||||
background-image: url('../images/bubble_bg-rtl.gif');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.column-response .post-com-count {
|
||||
|
|
|
@ -344,7 +344,7 @@ function wp_admin_bar_my_sites_menu( $wp_admin_bar ) {
|
|||
foreach ( (array) $wp_admin_bar->user->blogs as $blog ) {
|
||||
switch_to_blog( $blog->userblog_id );
|
||||
|
||||
$blavatar = '<div title="' . esc_attr__( 'Blavatar' ) . '" class="blavatar"></div>';
|
||||
$blavatar = '<div class="blavatar"></div>';
|
||||
|
||||
$blogname = empty( $blog->blogname ) ? $blog->domain : $blog->blogname;
|
||||
$menu_id = 'blog-' . $blog->userblog_id;
|
||||
|
|
|
@ -131,21 +131,10 @@
|
|||
* My Sites
|
||||
*/
|
||||
#wpadminbar .quicklinks li .blavatar {
|
||||
background: url('../images/wpmini-blue.png') no-repeat;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
margin-right: 0px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
||||
#wpadminbar .quicklinks li .blavatar {
|
||||
background: url('../images/wpmini-blue-2x.png') no-repeat;
|
||||
background-size: 16px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Search
|
||||
*/
|
||||
|
|
|
@ -394,17 +394,20 @@
|
|||
* My Sites
|
||||
*/
|
||||
#wpadminbar .quicklinks li .blavatar {
|
||||
background: url('../images/wpmini-blue.png') no-repeat;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: -3px 4px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li div.blavatar {
|
||||
background: url('../images/wpmini-blue.png') no-repeat;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
||||
#wpadminbar .quicklinks li .blavatar {
|
||||
#wpadminbar .quicklinks li div.blavatar {
|
||||
background: url('../images/wpmini-blue-2x.png') no-repeat;
|
||||
background-size: 16px 16px;
|
||||
}
|
||||
|
|
|
@ -778,9 +778,7 @@ class WP_Widget_RSS extends WP_Widget {
|
|||
|
||||
$title = apply_filters('widget_title', $title, $instance, $this->id_base);
|
||||
$url = esc_url(strip_tags($url));
|
||||
// Didn't want to have to add additional theme CSS for retina version of rss.png
|
||||
// Forcing 2x here looks fine on non-retina devices
|
||||
$icon = includes_url('images/rss-2x.png');
|
||||
$icon = includes_url('images/rss.png');
|
||||
if ( $title )
|
||||
$title = "<a class='rsswidget' href='$url' title='" . esc_attr__( 'Syndicate this content' ) ."'><img style='border:0' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>";
|
||||
|
||||
|
|
Loading…
Reference in New Issue