2020-02-14 02:23:21 +00:00
|
|
|
|
2018-08-06 15:30:43 +00:00
|
|
|
// css resets some wp-admin specific rules so that the app fits better in the extension container
|
|
|
|
.woocommerce-page {
|
|
|
|
.wrap {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpcontent,
|
2019-06-13 16:07:02 +00:00
|
|
|
&.woocommerce_page_wc-admin #wpbody-content {
|
2018-08-06 15:30:43 +00:00
|
|
|
padding: 0;
|
|
|
|
overflow-x: hidden !important;
|
2018-12-25 04:34:24 +00:00
|
|
|
min-height: calc(100vh - #{$adminbar-height});
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
|
|
|
|
2019-06-13 16:07:02 +00:00
|
|
|
@include breakpoint( '>782px' ) {
|
|
|
|
#wpbody-content {
|
2019-08-07 12:49:45 +00:00
|
|
|
padding-left: 0;
|
2019-06-13 16:07:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-06 15:30:43 +00:00
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
// WP breakpoint for mobile menu
|
2019-06-14 15:48:28 +00:00
|
|
|
.wp-responsive-open #woocommerce-embedded-root,
|
2018-08-06 15:30:43 +00:00
|
|
|
.wp-responsive-open #wpbody {
|
2019-06-14 15:48:28 +00:00
|
|
|
position: relative;
|
2018-08-06 15:30:43 +00:00
|
|
|
right: -14.5em;
|
|
|
|
}
|
2019-06-13 16:07:02 +00:00
|
|
|
|
2018-12-25 04:34:24 +00:00
|
|
|
#wpcontent,
|
|
|
|
#wpbody-content {
|
|
|
|
min-height: calc(100vh - #{$adminbar-height-mobile});
|
|
|
|
}
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( '>960px' ) {
|
|
|
|
#toplevel_page_woocommerce.menu-top > a:focus,
|
|
|
|
#toplevel_page_wcadmin--analytics.menu-top > a:focus {
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout * {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpfooter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-06-14 15:48:28 +00:00
|
|
|
.woocommerce_page_wc-admin {
|
|
|
|
.wp-responsive-open {
|
|
|
|
.woocommerce-layout__header {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
|
|
|
|
2019-06-14 15:48:28 +00:00
|
|
|
.components-popover:not(.is-mobile) {
|
2019-08-09 19:25:11 +00:00
|
|
|
z-index: 2; /* below of woocommerce-layout__header */
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( '<600px' ) {
|
2019-06-14 15:48:28 +00:00
|
|
|
#wpadminbar {
|
2018-08-06 15:30:43 +00:00
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Temporary fix for compability with the Jetpack masterbar
|
|
|
|
// See https://github.com/Automattic/jetpack/issues/9608
|
2019-06-14 15:48:28 +00:00
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
.jetpack-masterbar {
|
2018-08-06 15:30:43 +00:00
|
|
|
#wpadminbar #wp-admin-bar-menu-toggle {
|
2019-06-14 15:48:28 +00:00
|
|
|
margin-top: -10px;
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
|
|
|
|
2019-06-14 15:48:28 +00:00
|
|
|
// #wpwrap id added for specificity
|
|
|
|
#wpwrap .woocommerce-layout__header-breadcrumbs {
|
|
|
|
padding-left: 60px;
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
2019-05-28 10:38:01 +00:00
|
|
|
|
2019-06-14 15:48:28 +00:00
|
|
|
&.wp-admin .wrap h1,
|
|
|
|
&.wp-admin .wrap h2 {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2019-05-28 10:38:01 +00:00
|
|
|
}
|
|
|
|
}
|