woocommerce/plugins/woocommerce-admin/client/layout/style.scss

83 lines
1.4 KiB
SCSS

.woocommerce-layout {
margin: 0;
padding: 0;
}
.woocommerce-layout__primary {
margin: 80px 0 0 $fallback-gutter-large;
margin: 80px 0 0 $gutter-large;
@include breakpoint( '>960px' ) {
margin-top: 100px;
}
@include breakpoint( '<782px' ) {
margin-top: 60px;
}
}
.woocommerce-layout .woocommerce-layout__main {
padding-right: $fallback-gutter-large;
padding-right: $gutter-large;
max-width: 100%;
}
.woocommerce-page .update-nag {
display: none;
}
.woocommerce-admin-is-loading {
#adminmenumain,
#wpfooter,
#wpcontent,
#wpadminbar,
#wpbody-content,
.woocommerce-layout__header,
.update-nag,
.woocommerce-store-alerts,
.woocommerce-message,
.notice,
.error,
.updated,
.components-modal__screen-overlay {
display: none;
}
}
.woocommerce-admin-full-screen {
background: $studio-gray-0;
color: $studio-gray-60;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
'Helvetica Neue', sans-serif;
#wpwrap {
top: 0;
}
#wpbody-content {
min-height: 100vh;
}
/* Hide wp-admin and WooCommerce elements when the dashboard body class is present */
#wpcontent > *,
#adminmenumain,
.woocommerce-layout__header,
.update-nag,
.woocommerce-store-alerts,
.woocommerce-message,
.notice,
.error,
.updated {
display: none;
}
#wpcontent {
margin-left: 0;
> #wpbody {
display: block;
}
}
}