215 lines
3.6 KiB
SCSS
215 lines
3.6 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.woocommerce-onboarding {
|
|
.woocommerce-stepper .woocommerce-stepper__step {
|
|
.woocommerce-stepper__step-label {
|
|
color: $studio-gray-80;
|
|
}
|
|
|
|
&.is-active,
|
|
&.is-complete {
|
|
.woocommerce-stepper__step-icon {
|
|
background: $blue-medium-focus;
|
|
color: $studio-white;
|
|
}
|
|
|
|
.woocommerce-stepper__step-label {
|
|
color: $studio-gray-90;
|
|
}
|
|
}
|
|
|
|
.woocommerce-spinner {
|
|
background: $blue-medium-focus;
|
|
}
|
|
}
|
|
|
|
/* Muriel style overrides */
|
|
.muriel-component {
|
|
margin-top: $gap;
|
|
margin-bottom: $gap;
|
|
}
|
|
|
|
.components-base-control.has-error {
|
|
margin-bottom: $gap * 2 !important;
|
|
border-color: $studio-red-50;
|
|
|
|
.components-base-control__help {
|
|
top: 100%;
|
|
left: $gap-small;
|
|
position: absolute;
|
|
margin-top: $gap-smallest;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
color: $studio-red-50;
|
|
}
|
|
}
|
|
|
|
.components-form-toggle {
|
|
display: inline-block;
|
|
|
|
label {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.components-base-control {
|
|
display: inline-block;
|
|
}
|
|
|
|
.components-base-control__field {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.woocommerce-task-dashboard__container .components-button.is-button,
|
|
.woocommerce-profile-wizard__body .components-button.is-button,
|
|
.woocommerce-page .components-modal__frame .components-button.is-button {
|
|
height: 48px;
|
|
padding-left: 25px;
|
|
padding-right: 25px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
line-height: 36px;
|
|
font-weight: 500;
|
|
align-items: center;
|
|
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.components-modal__frame.woocommerce-cart-modal {
|
|
width: 600px;
|
|
max-width: 100%;
|
|
|
|
.components-modal__header {
|
|
border-bottom: 0;
|
|
margin-bottom: $gap;
|
|
margin-top: $gap;
|
|
|
|
button {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.components-modal__header-heading {
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.woocommerce-list {
|
|
margin-top: $gap-smallest;
|
|
}
|
|
|
|
.woocommerce-list .woocommerce-list__item:first-child {
|
|
border-top: 1px solid $studio-gray-5;
|
|
}
|
|
|
|
.woocommerce-list__item {
|
|
border-bottom: 1px solid $studio-gray-5;
|
|
}
|
|
|
|
.woocommerce-cart-modal__help-text {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.woocommerce-cart-modal__actions {
|
|
text-align: right;
|
|
|
|
button.is-link {
|
|
margin-right: $gap;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
button.is-primary {
|
|
align-self: flex-end;
|
|
}
|
|
}
|
|
}
|