Varia: Code tidying

This commit is contained in:
Allan Cole 2019-10-09 18:29:48 -04:00
parent 63670b1c6d
commit 5cc7c3c9b5
5 changed files with 35 additions and 17 deletions

View file

@ -0,0 +1,18 @@
/**
* WooCommerce Styles
* - These styles should be loaded when WooCommerce is active
*/
/**
* Abstracts
* - Mixins, variables and functions
*/
@import "sass/abstracts/functions";
@import "sass/abstracts/config-global";
@import "sass/abstracts/mixins";
@import "sass/abstracts/extends";
/**
* WooCommerce
*/
@import "sass/vendors/woocommerce";

View file

@ -2403,11 +2403,6 @@ table th,
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
cursor: pointer;
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
cursor: pointer;
z-index: 99999;
@ -2428,14 +2423,6 @@ table th,
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li[focus-within] > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {
visibility: visible;
opacity: 1;
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li:focus-within > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {

View file

@ -1,6 +1,7 @@
@charset "UTF-8";
/**
* Varia Editor Content Width Styles
* WooCommerce Styles
* - These styles should be loaded when WooCommerce is active
*/
/**
* Abstracts
@ -250,7 +251,6 @@ body[class*="woocommerce"] #page .woocommerce.widget_shopping_cart .buttons a.ha
/**
* WooCommerce
* - Only sets the default width for blocks in the editor
*/
/**
* Main WooCommerce styles

View file

@ -1,5 +1,6 @@
/**
* Varia Editor Content Width Styles
* WooCommerce Styles
* - These styles should be loaded when WooCommerce is active
*/
/**
@ -13,6 +14,5 @@
/**
* WooCommerce
* - Only sets the default width for blocks in the editor
*/
@import "sass/vendors/woocommerce";

View file

@ -2420,6 +2420,11 @@ table th,
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
cursor: pointer;
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
cursor: pointer;
z-index: 99999;
@ -2440,6 +2445,14 @@ table th,
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li[focus-within] > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {
visibility: visible;
opacity: 1;
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li:focus-within > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {