woocommerce/assets/css/menu.scss

74 lines
1.5 KiB
SCSS
Raw Normal View History

2014-11-18 12:52:00 +00:00
/**
* menu.scss
* Styles applied to dashboard menu items added via WooCommerce.
* Adds icons to top level menu items, etc.
*/
/**
* Imports
*/
2014-10-17 17:21:54 +00:00
@import "bourbon";
@import "mixins";
@import "variables";
2013-11-12 16:26:46 +00:00
/**
* Custom WooCommerce font
*/
2013-11-08 12:29:59 +00:00
@font-face {
font-family: 'WooCommerce';
src:url('../fonts/WooCommerce.eot');
src:url('../fonts/WooCommerce.eot?#iefix') format('embedded-opentype'),
url('../fonts/WooCommerce.woff') format('woff'),
url('../fonts/WooCommerce.ttf') format('truetype'),
url('../fonts/WooCommerce.svg#WooCommerce') format('svg');
font-weight: normal;
font-style: normal;
}
2013-11-15 14:32:44 +00:00
#adminmenu #toplevel_page_woocommerce .menu-icon-generic div.wp-menu-image:before {
2013-11-08 12:29:59 +00:00
font-family: 'WooCommerce' !important;
content: "\e03d";
font-size: 1.3em !important;
}
2014-11-13 09:39:58 +00:00
2013-11-15 14:32:44 +00:00
#adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image:before {
2013-11-08 12:29:59 +00:00
font-family: 'WooCommerce' !important;
content: "\e01d";
font-size: 1.3em !important;
}
2013-11-15 14:32:44 +00:00
span.mce_woocommerce_shortcodes_button {
2013-11-12 16:26:46 +00:00
background-image: none !important;
2014-09-22 17:35:48 +00:00
@include ir();
2014-11-13 09:39:58 +00:00
2013-11-12 16:26:46 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e01d" );
2014-11-13 09:39:58 +00:00
font-size: .9em;
2013-11-12 16:26:46 +00:00
line-height: 1.2;
}
}
.wc_plugin_upgrade_notice {
2014-09-22 17:35:48 +00:00
font-weight: normal;
color: #fff;
background: #d54d21;
padding: 1em;
margin: 9px 0;
2014-11-13 09:39:58 +00:00
a {
color: #fff;
text-decoration: underline;
}
2014-11-13 09:39:58 +00:00
&:before {
content: "\f348";
display: inline-block;
font: 400 18px/1 dashicons;
speak: none;
margin: 0 8px 0 -2px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
2014-09-22 17:35:48 +00:00
}