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
|
2023-09-15 20:06:42 +00:00
|
|
|
.woocommerce-admin-page {
|
2018-08-06 15:30:43 +00:00
|
|
|
.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
|
|
|
}
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">782px" ) {
|
2019-06-13 16:07:02 +00:00
|
|
|
#wpbody-content {
|
2019-08-07 12:49:45 +00:00
|
|
|
padding-left: 0;
|
2019-06-13 16:07:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "<782px" ) {
|
2018-08-06 15:30:43 +00:00
|
|
|
// 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
|
|
|
}
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">960px" ) {
|
2018-08-06 15:30:43 +00:00
|
|
|
#toplevel_page_woocommerce.menu-top > a:focus,
|
|
|
|
#toplevel_page_wcadmin--analytics.menu-top > a:focus {
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout * {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2021-02-16 15:57:56 +00:00
|
|
|
#wpbody {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding-top: 0;
|
|
|
|
margin-top: $header-height;
|
|
|
|
}
|
|
|
|
|
2018-08-06 15:30:43 +00:00
|
|
|
#wpfooter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-06-14 15:48:28 +00:00
|
|
|
.woocommerce_page_wc-admin {
|
2020-10-22 22:13:14 +00:00
|
|
|
.woocommerce-filters-date__content: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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "<600px" ) {
|
2024-08-16 21:12:54 +00:00
|
|
|
div #wpadminbar {
|
2018-08-06 15:30:43 +00:00
|
|
|
position: fixed;
|
|
|
|
}
|
2021-02-12 16:32:26 +00:00
|
|
|
|
|
|
|
html.wp-toolbar {
|
|
|
|
padding-top: $adminbar-height-mobile;
|
|
|
|
}
|
2018-08-06 15:30:43 +00:00
|
|
|
}
|
|
|
|
|
2023-05-08 07:55:09 +00:00
|
|
|
// Temporary fix for compatibility with the Jetpack masterbar
|
2018-08-06 15:30:43 +00:00
|
|
|
// See https://github.com/Automattic/jetpack/issues/9608
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "<782px" ) {
|
2019-06-14 15:48:28 +00:00
|
|
|
.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
|
2020-10-06 20:42:46 +00:00
|
|
|
#wpwrap .woocommerce-layout__header-heading {
|
2019-06-14 15:48:28 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|