retina media query closes #2469

This commit is contained in:
James Koster 2013-02-19 09:56:33 +00:00
parent 2e1a3b6672
commit ac0a4494e0
2 changed files with 9 additions and 7 deletions

View File

@ -1 +1 @@
#adminmenu #menu-posts-product div.wp-menu-image,#adminmenu #menu-posts-shop_order div.wp-menu-image,#adminmenu #menu-posts-shop_coupon div.wp-menu-image,#adminmenu #toplevel_page_woocommerce div.wp-menu-image{background-image:url(../images/icons/menu_icons.png)}#adminmenu #menu-posts-product div.wp-menu-image{background-position:-32px -32px}#adminmenu #menu-posts-product.wp-menu-open div.wp-menu-image,#adminmenu #menu-posts-product:hover div.wp-menu-image{background-position:-32px 0}#adminmenu #menu-posts-product img{display:none}#adminmenu #menu-posts-shop_order div.wp-menu-image{background-position:-64px -32px}#adminmenu #menu-posts-shop_order.wp-menu-open div.wp-menu-image,#adminmenu #menu-posts-shop_order:hover div.wp-menu-image{background-position:-64px 0}#adminmenu #menu-posts-shop_order img{display:none}#adminmenu #menu-posts-shop_coupon div.wp-menu-image{background-position:-96px -32px}#adminmenu #menu-posts-shop_coupon.wp-menu-open div.wp-menu-image,#adminmenu #menu-posts-shop_coupon:hover div.wp-menu-image{background-position:-96px 0}#adminmenu #menu-posts-shop_coupon img{display:none}#adminmenu #toplevel_page_woocommerce div.wp-menu-image{background-position:0 -32px}#adminmenu #toplevel_page_woocommerce.wp-menu-open div.wp-menu-image,#adminmenu #toplevel_page_woocommerce:hover div.wp-menu-image{background-position:0 0}#adminmenu #toplevel_page_woocommerce img{display:none}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#adminmenu #menu-posts-product div.wp-menu-image,#adminmenu #menu-posts-shop_order div.wp-menu-image,#adminmenu #menu-posts-shop_coupon div.wp-menu-image,#adminmenu #toplevel_page_woocommerce div.wp-menu-image{background-image:url(../images/icons/menu_icons-x2.png);background-size:200px 64px}}span.mce_woocommerce_shortcodes_button{background-image:url(../images/icons/wc_icon.png)!important;background-repeat:no-repeat!important;background-position:center!important} #adminmenu #menu-posts-product div.wp-menu-image,#adminmenu #menu-posts-shop_order div.wp-menu-image,#adminmenu #menu-posts-shop_coupon div.wp-menu-image,#adminmenu #toplevel_page_woocommerce div.wp-menu-image{background-image:url(../images/icons/menu_icons.png)}#adminmenu #menu-posts-product div.wp-menu-image{background-position:-32px -32px}#adminmenu #menu-posts-product.wp-menu-open div.wp-menu-image,#adminmenu #menu-posts-product:hover div.wp-menu-image{background-position:-32px 0}#adminmenu #menu-posts-product img{display:none}#adminmenu #menu-posts-shop_order div.wp-menu-image{background-position:-64px -32px}#adminmenu #menu-posts-shop_order.wp-menu-open div.wp-menu-image,#adminmenu #menu-posts-shop_order:hover div.wp-menu-image{background-position:-64px 0}#adminmenu #menu-posts-shop_order img{display:none}#adminmenu #menu-posts-shop_coupon div.wp-menu-image{background-position:-96px -32px}#adminmenu #menu-posts-shop_coupon.wp-menu-open div.wp-menu-image,#adminmenu #menu-posts-shop_coupon:hover div.wp-menu-image{background-position:-96px 0}#adminmenu #menu-posts-shop_coupon img{display:none}#adminmenu #toplevel_page_woocommerce div.wp-menu-image{background-position:0 -32px}#adminmenu #toplevel_page_woocommerce.wp-menu-open div.wp-menu-image,#adminmenu #toplevel_page_woocommerce:hover div.wp-menu-image{background-position:0 0}#adminmenu #toplevel_page_woocommerce img{display:none}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#adminmenu #menu-posts-product div.wp-menu-image,#adminmenu #menu-posts-shop_order div.wp-menu-image,#adminmenu #menu-posts-shop_coupon div.wp-menu-image,#adminmenu #toplevel_page_woocommerce div.wp-menu-image{background-image:url(../images/icons/menu_icons-x2.png);background-size:200px 64px}}span.mce_woocommerce_shortcodes_button{background-image:url(../images/icons/wc_icon.png)!important;background-repeat:no-repeat!important;background-position:center!important}

View File

@ -3,10 +3,10 @@
#menu-posts-product div.wp-menu-image, #menu-posts-shop_order div.wp-menu-image, #menu-posts-shop_coupon div.wp-menu-image, #toplevel_page_woocommerce div.wp-menu-image { #menu-posts-product div.wp-menu-image, #menu-posts-shop_order div.wp-menu-image, #menu-posts-shop_coupon div.wp-menu-image, #toplevel_page_woocommerce div.wp-menu-image {
background-image: url(../images/icons/menu_icons.png); background-image: url(../images/icons/menu_icons.png);
} }
#menu-posts-product { #menu-posts-product {
div.wp-menu-image { div.wp-menu-image {
background-position: -32px -32px; background-position: -32px -32px;
} }
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image { &.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: -32px 0px; background-position: -32px 0px;
@ -17,7 +17,7 @@
} }
#menu-posts-shop_order { #menu-posts-shop_order {
div.wp-menu-image { div.wp-menu-image {
background-position: -64px -32px; background-position: -64px -32px;
} }
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image { &.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: -64px 0px; background-position: -64px 0px;
@ -28,7 +28,7 @@
} }
#menu-posts-shop_coupon { #menu-posts-shop_coupon {
div.wp-menu-image { div.wp-menu-image {
background-position: -96px -32px; background-position: -96px -32px;
} }
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image { &.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: -96px 0px; background-position: -96px 0px;
@ -39,7 +39,7 @@
} }
#toplevel_page_woocommerce { #toplevel_page_woocommerce {
div.wp-menu-image { div.wp-menu-image {
background-position: 0px -32px; background-position: 0px -32px;
} }
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image { &.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: 0px 0px; background-position: 0px 0px;
@ -50,7 +50,9 @@
} }
} }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { @media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
#adminmenu { #adminmenu {
#menu-posts-product div.wp-menu-image, #menu-posts-shop_order div.wp-menu-image, #menu-posts-shop_coupon div.wp-menu-image, #toplevel_page_woocommerce div.wp-menu-image { #menu-posts-product div.wp-menu-image, #menu-posts-shop_order div.wp-menu-image, #menu-posts-shop_coupon div.wp-menu-image, #toplevel_page_woocommerce div.wp-menu-image {
background-image: url(../images/icons/menu_icons-x2.png); background-image: url(../images/icons/menu_icons-x2.png);