2022-03-18 11:45:14 +00:00
|
|
|
@import './stylesheets/variables.scss';
|
|
|
|
@import './components/container/style.scss';
|
|
|
|
@import './components/header/style.scss';
|
2020-11-03 00:57:49 +00:00
|
|
|
|
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;
|
|
|
|
}
|
2021-03-11 20:01:37 +00:00
|
|
|
|
|
|
|
.components-navigation__menu-title {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2022-06-10 16:24:02 +00:00
|
|
|
|
|
|
|
.components-navigation__menu {
|
|
|
|
scrollbar-color: $gray-700 $gray-900;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: $gray-700;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
|
|
background-color: $gray-700;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
}
|
|
|
|
}
|
2021-02-12 21:42:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-navigation__wrapper {
|
|
|
|
background-color: $gray-900;
|
|
|
|
position: absolute;
|
|
|
|
top: $header-height;
|
|
|
|
width: 100%;
|
2021-02-19 13:20:32 +00:00
|
|
|
height: calc(100vh - #{$header-height + $adminbar-height});
|
2021-02-12 21:42:04 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2021-02-19 13:20:32 +00:00
|
|
|
.is-wp-toolbar-disabled .woocommerce-navigation__wrapper {
|
|
|
|
height: calc(100vh - #{$header-height});
|
|
|
|
}
|
|
|
|
|
2021-02-12 21:42:04 +00:00
|
|
|
body.is-wc-nav-expanded {
|
|
|
|
.woocommerce-navigation {
|
|
|
|
width: $navigation-width;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2021-03-09 17:40:56 +00:00
|
|
|
|
|
|
|
font > .xdebug-error {
|
|
|
|
margin-left: calc(#{$navigation-width} + #{$gap});
|
|
|
|
}
|
2021-02-12 21:42:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2021-02-16 15:57:56 +00:00
|
|
|
padding-left: 0;
|
2021-02-12 21:42:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-03 00:57:49 +00:00
|
|
|
.has-woocommerce-navigation {
|
|
|
|
#adminmenuwrap,
|
|
|
|
#adminmenuback {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2021-03-04 15:45:12 +00:00
|
|
|
&.woocommerce_page_wc-reports,
|
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 {
|
2021-02-16 15:57:56 +00:00
|
|
|
padding-left: $navigation-width;
|
2020-11-16 18:11:13 +00:00
|
|
|
|
|
|
|
@media ( max-width: 960px ) {
|
2021-02-16 15:57:56 +00:00
|
|
|
padding-left: 0;
|
2020-11-16 18:11:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-embedded-root.is-embed-loading {
|
|
|
|
margin-bottom: -$adminbar-height;
|
2020-11-03 00:57:49 +00:00
|
|
|
}
|
2021-02-19 13:20:32 +00:00
|
|
|
|
|
|
|
&:not(.is-wp-toolbar-disabled) {
|
|
|
|
#wpbody-content {
|
|
|
|
margin-top: $adminbar-height;
|
|
|
|
}
|
|
|
|
}
|
2021-03-09 17:40:56 +00:00
|
|
|
|
|
|
|
font > .xdebug-error {
|
|
|
|
margin-top: $header-height;
|
|
|
|
}
|
2020-11-03 00:57:49 +00:00
|
|
|
}
|