woocommerce/assets/css/menu.scss

149 lines
2.4 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
*/
@import 'mixins';
@import 'variables';
@import 'fonts';
2013-11-12 16:26:46 +00:00
/**
* Styling begins
*/
#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';
2013-11-08 12:29:59 +00:00
}
2014-11-13 09:39:58 +00:00
#adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image::before,
#adminmenu #menu-posts-product .menu-icon-product div.wp-menu-image::before {
2013-11-08 12:29:59 +00:00
font-family: 'WooCommerce' !important;
content: '\e006';
2013-11-08 12:29:59 +00:00
}
#adminmenu #toplevel_page_wc-reports .menu-icon-generic div.wp-menu-image::before {
font-family: 'WooCommerce' !important;
content: '\e023';
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
&::before {
@include icon( '\e01d' );
font-size: 0.9em;
2013-11-12 16:26:46 +00:00
line-height: 1.2;
}
}
2017-04-11 10:40:42 +00:00
#woocommerce-update {
.updating-message {
.wc_plugin_upgrade_notice {
display: none;
}
}
.wc_plugin_upgrade_notice {
2017-04-11 10:40:42 +00:00
font-weight: normal;
color: #fff !important;
background: #d54d21 !important;
padding: 1em !important;
margin: 9px 0 !important;
2014-11-13 09:39:58 +00:00
2017-04-11 10:40:42 +00:00
a {
color: #fff;
text-decoration: underline;
}
2014-11-13 09:39:58 +00:00
2017-07-13 19:47:13 +00:00
&.minor {
2017-07-14 19:44:16 +00:00
$minor_text_color: #606a74;
&::before {
display: none;
}
background: #dbd0b0 !important;
color: $minor_text_color !important;
a {
color: $minor_text_color !important;
}
}
&.major {
background: #96588a !important;
2017-07-13 19:47:13 +00:00
}
&.extensions_warning span {
display: list-item;
margin-left: 1.5em;
2017-07-14 19:44:16 +00:00
&:first-of-type {
margin-top: .5em;
}
2017-07-13 19:47:13 +00:00
}
2017-04-11 10:40:42 +00:00
&::before {
color: #fff !important;
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
}
2017-07-13 19:47:13 +00:00
#wc_untested_extensions_modal {
display: none;
}
2017-07-13 22:38:12 +00:00
.wc_untested_extensions_modal_container #TB_ajaxContent {
height: 100% !important;
}
2017-07-13 19:47:13 +00:00
.wc_untested_extensions_modal--content {
2017-07-13 22:38:12 +00:00
.keys {
border: 1px solid black;
padding: 1em;
margin-bottom: 1em;
.heading {
font-weight: bold;
}
}
.plugin-status {
margin-left: 1em;
}
.current, .patch {
color: green;
}
.minor {
color: orange;
}
.major {
color: red;
}
.unknown {
color: gray;
}
.update-anyways {
margin-top: 2em;
margin-left: 1em;
2017-07-13 19:47:13 +00:00
}
}