woocommerce/plugins/woocommerce-admin/client/products/product-page.scss

73 lines
1.2 KiB
SCSS

.woocommerce-add-product,
.woocommerce-edit-product {
.woocommerce-product-form-actions {
margin-top: $gap-largest + $gap-smaller;
}
.woocommerce-product__checkbox,
.components-toggle-control {
& > * {
margin-bottom: 0;
height: $gap-large + $gap-smallest;
}
}
.components-input-control {
&__prefix {
margin-left: $gap-smaller;
}
&__suffix {
margin-right: $gap-smaller;
}
}
.woocommerce-product-form {
&__custom-label-input {
display: flex;
flex-direction: column;
label {
display: block;
margin-bottom: $gap-smaller;
}
}
&__optional-input {
color: $gray-700;
}
&__secondary-text {
font-size: 12px;
color: $gray-700;
margin-top: $gap-smaller;
}
}
.has-error {
.components-base-control__help {
color: $studio-red-50;
margin-bottom: 0;
}
}
.woocommerce-enriched-label__help-wrapper {
.components-popover {
margin-top: 0;
}
}
}
.woocommerce-edit-product {
position: relative;
&__error {
background: #fff;
text-align: center;
border: 1px solid $gray-400;
border-radius: 2px;
padding: 1em 2em;
}
&__spinner {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
width: 100%;
height: 100%;
}
}