Varia: Various mini-cart display improvements.

This commit is contained in:
Allan Cole 2019-10-28 18:07:13 -04:00
parent 92514807e9
commit 298b34cea6
4 changed files with 6 additions and 25 deletions

View file

@ -59,9 +59,7 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
background-color: map-deep-get($config-woocommerce, "mini-cart", "color", "background");
color: map-deep-get($config-woocommerce, "mini-cart", "color", "text");
padding-top: #{map-deep-get($config-header, "main-nav", "link-padding")};
padding-left: #{map-deep-get($config-header, "main-nav", "link-padding")};
padding-right: #{map-deep-get($config-header, "main-nav", "link-padding")};
padding: 0;
width: 100%;
a,
@ -108,7 +106,7 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
background-color: map-deep-get($config-woocommerce, "mini-cart", "color", "background");
color: map-deep-get($config-woocommerce, "mini-cart", "color", "text");
max-width: 100%;
padding: 0;
padding: #{map-deep-get($config-header, "main-nav", "link-padding")} 0;
@include media(mobile) {
max-width: #{20 * map-deep-get($config-global, "spacing", "horizontal")};

View file

@ -2513,11 +2513,6 @@ body:not(.fse-enabled) .site-description {
z-index: 1;
}
.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;
@ -2530,14 +2525,6 @@ body:not(.fse-enabled) .site-description {
/* Submenu display */
}
.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

@ -772,9 +772,7 @@ body[class*="woocommerce"] #page .main-navigation #woocommerce-toggle:checked +
body[class*="woocommerce"] #page .main-navigation .woocommerce-menu-container {
background-color: white;
color: #444444;
padding-top: 16px;
padding-right: 16px;
padding-left: 16px;
padding: 0;
width: 100%;
}
body[class*="woocommerce"] #page .main-navigation .woocommerce-menu-container a,
@ -820,7 +818,7 @@ body[class*="woocommerce"] #page .main-navigation .woocommerce-cart-widget {
background-color: white;
color: #444444;
max-width: 100%;
padding: 0;
padding: 16px 0;
}
@media only screen and (min-width: 560px) {

View file

@ -772,9 +772,7 @@ body[class*="woocommerce"] #page .main-navigation #woocommerce-toggle:checked +
body[class*="woocommerce"] #page .main-navigation .woocommerce-menu-container {
background-color: white;
color: #444444;
padding-top: 16px;
padding-left: 16px;
padding-right: 16px;
padding: 0;
width: 100%;
}
body[class*="woocommerce"] #page .main-navigation .woocommerce-menu-container a,
@ -820,7 +818,7 @@ body[class*="woocommerce"] #page .main-navigation .woocommerce-cart-widget {
background-color: white;
color: #444444;
max-width: 100%;
padding: 0;
padding: 16px 0;
}
@media only screen and (min-width: 560px) {