2020-11-03 00:57:49 +00:00
|
|
|
@import './stylesheets/variables';
|
|
|
|
@import './components/container/style';
|
|
|
|
@import './components/header/style';
|
|
|
|
|
|
|
|
.has-woocommerce-navigation {
|
|
|
|
margin-top: -$admin-bar-height;
|
|
|
|
|
2021-02-01 21:26:34 +00:00
|
|
|
.screen-reader-shortcut:focus {
|
|
|
|
top: 7px;
|
|
|
|
}
|
|
|
|
|
2020-11-03 00:57:49 +00:00
|
|
|
#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 {
|
|
|
|
margin-left: $navigation-width;
|
|
|
|
|
|
|
|
@media ( max-width: 960px ) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-03 00:57:49 +00:00
|
|
|
#woocommerce-embedded-navigation {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: $navigation-width;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: $gray-900;
|
|
|
|
z-index: 1100; //Must be greater than z-index on .woocommerce-layout__header
|
2020-11-16 18:11:13 +00:00
|
|
|
|
|
|
|
@media ( max-width: 960px ) {
|
|
|
|
width: $header-height;
|
|
|
|
height: $header-height;
|
|
|
|
}
|
2020-11-03 00:57:49 +00:00
|
|
|
}
|
|
|
|
|
2020-11-12 17:10:42 +00:00
|
|
|
.woocommerce-navigation__wrapper {
|
2020-11-06 20:52:01 +00:00
|
|
|
overflow-y: auto;
|
2020-11-12 17:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.components-navigation {
|
2020-11-06 20:52:01 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2020-11-18 18:43:20 +00:00
|
|
|
&.is-wc-nav-expanded {
|
2020-11-16 18:11:13 +00:00
|
|
|
#woocommerce-embedded-navigation {
|
|
|
|
width: $navigation-width;
|
|
|
|
height: 100%;
|
2020-11-03 00:57:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-18 18:43:20 +00:00
|
|
|
&.is-wc-nav-folded {
|
2020-11-03 00:57:49 +00:00
|
|
|
#wpcontent,
|
|
|
|
#wpfooter {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__header {
|
|
|
|
margin-left: $header-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
#woocommerce-embedded-navigation {
|
|
|
|
width: $header-height;
|
|
|
|
height: $header-height;
|
|
|
|
|
|
|
|
.woocommerce-navigation-header {
|
|
|
|
&.is-scrolled {
|
|
|
|
box-shadow: $header-scroll-shadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
> * {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-navigation-header__site-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-navigation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-11-23 19:28:17 +00:00
|
|
|
|
|
|
|
.woocommerce-transient-notices {
|
|
|
|
left: $gap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-transient-notices {
|
|
|
|
left: $navigation-width + $gap;
|
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
left: $gap;
|
|
|
|
}
|
2020-11-03 00:57:49 +00:00
|
|
|
}
|
|
|
|
}
|