2020-11-03 00:57:49 +00:00
|
|
|
@import './stylesheets/variables';
|
|
|
|
@import './components/container/style';
|
|
|
|
@import './components/header/style';
|
|
|
|
|
2021-02-12 21:42:04 +00:00
|
|
|
.woocommerce-navigation {
|
|
|
|
position: relative;
|
|
|
|
width: $navigation-width;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: $gray-900;
|
|
|
|
z-index: 1100; //Must be greater than z-index on .woocommerce-layout__header
|
|
|
|
|
|
|
|
@media ( max-width: 960px ) {
|
|
|
|
width: $header-height;
|
|
|
|
height: $header-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-navigation {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-navigation__wrapper {
|
|
|
|
background-color: $gray-900;
|
|
|
|
position: absolute;
|
|
|
|
top: $header-height;
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100vh - #{$header-height});
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.is-wc-nav-expanded {
|
|
|
|
.woocommerce-navigation {
|
|
|
|
width: $navigation-width;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body.is-wc-nav-folded {
|
|
|
|
.woocommerce-navigation {
|
|
|
|
width: $header-height;
|
|
|
|
height: $header-height;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.woocommerce-navigation-header {
|
|
|
|
> * {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-navigation-header__site-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-navigation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-transient-notices {
|
|
|
|
left: $gap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-03 00:57:49 +00:00
|
|
|
.has-woocommerce-navigation {
|
|
|
|
#wpadminbar,
|
|
|
|
#adminmenuwrap,
|
|
|
|
#adminmenuback {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2020-11-18 23:54:24 +00:00
|
|
|
&.woocommerce_page_wc-settings,
|
|
|
|
&.woocommerce_page_wc-status {
|
|
|
|
.woo-nav-tab-wrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce .subsubsub {
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-16 18:11:13 +00:00
|
|
|
#wpcontent,
|
|
|
|
#wpfooter {
|
2021-02-12 16:32:26 +00:00
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
@media ( max-width: 960px ) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody {
|
2020-11-16 18:11:13 +00:00
|
|
|
margin-left: $navigation-width;
|
|
|
|
|
|
|
|
@media ( max-width: 960px ) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:32:26 +00:00
|
|
|
.woocommerce-layout__header.is-embed-loading {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: fixed;
|
|
|
|
width: $navigation-width;
|
|
|
|
height: 100%;
|
|
|
|
background: $gray-900;
|
2020-11-23 19:28:17 +00:00
|
|
|
|
2021-02-12 16:32:26 +00:00
|
|
|
@include breakpoint( '<960px' ) {
|
|
|
|
width: $header-height;
|
|
|
|
height: $header-height;
|
|
|
|
}
|
2020-11-23 19:28:17 +00:00
|
|
|
}
|
2021-02-12 16:32:26 +00:00
|
|
|
|
|
|
|
.woocommerce-layout__header-heading {
|
|
|
|
margin-left: $navigation-width;
|
|
|
|
|
|
|
|
@include breakpoint( '<960px' ) {
|
|
|
|
margin-left: $header-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#woocommerce-embedded-root.is-embed-loading {
|
|
|
|
margin-bottom: -$adminbar-height;
|
2020-11-03 00:57:49 +00:00
|
|
|
}
|
|
|
|
}
|