woocommerce/assets/css/menu.less

74 lines
1.9 KiB
Plaintext
Raw Normal View History

/* Menu */
#adminmenu {
2012-08-03 13:20:46 +00:00
#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);
2013-05-01 08:43:40 +00:00
background-size: auto;
2012-08-03 13:20:46 +00:00
}
2013-02-19 09:56:33 +00:00
#menu-posts-product {
div.wp-menu-image {
2013-02-19 09:56:33 +00:00
background-position: -32px -32px;
}
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: -32px 0px;
}
2012-03-12 08:13:49 +00:00
img {
display: none;
}
}
#menu-posts-shop_order {
div.wp-menu-image {
2013-02-19 09:56:33 +00:00
background-position: -64px -32px;
}
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: -64px 0px;
}
2012-03-12 08:13:49 +00:00
img {
display: none;
}
}
#menu-posts-shop_coupon {
div.wp-menu-image {
2013-02-19 09:56:33 +00:00
background-position: -96px -32px;
}
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: -96px 0px;
}
2012-03-12 08:13:49 +00:00
img {
display: none;
}
}
#toplevel_page_woocommerce {
div.wp-menu-image {
2013-02-19 09:56:33 +00:00
background-position: 0px -32px;
}
&.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
background-position: 0px 0px;
}
2012-03-12 08:13:49 +00:00
img {
display: none;
}
}
}
2013-04-25 15:09:55 +00:00
/* Editor button */
span.mce_woocommerce_shortcodes_button {
background-image: url(../images/icons/wc_icon.png) !important;
background-repeat: no-repeat !important;
background-position: center !important;
}
2013-02-19 09:56:33 +00:00
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
2012-08-03 13:20:46 +00:00
#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 {
background-image: url(../images/icons/menu_icons-x2.png);
background-size: 200px 64px;
}
}
2013-04-25 15:09:55 +00:00
span.mce_woocommerce_shortcodes_button {
background-image: url(../images/icons/wc_icon@2x.png) !important;
background-size: 18px 18px !important;
}
}