57 lines
1.2 KiB
SCSS
57 lines
1.2 KiB
SCSS
// Parent element should hide column when there is no address.
|
|
.woocommerce-order-confirmation-address-wrapper {
|
|
margin-block-start: $gap-large * 2;
|
|
|
|
.wp-block-column:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// Prevent margin on the first element in this wrapper.
|
|
.wp-block-woocommerce-order-confirmation-shipping-wrapper > *:first-child {
|
|
margin-top: 0;
|
|
}
|
|
.wp-block-woocommerce-order-confirmation-shipping-wrapper {
|
|
.block-editor-block-list__layout > *:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
}
|
|
.wc-block-order-confirmation-shipping-wrapper {
|
|
.wp-block-heading {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
.wc-block-order-confirmation-order-note,
|
|
.wc-block-order-confirmation-shipping-address {
|
|
border: 1px solid $universal-border-light;
|
|
border-radius: $universal-border-radius;
|
|
padding: $gap;
|
|
|
|
address,
|
|
p {
|
|
width: 100% !important;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
font-style: normal;
|
|
}
|
|
p:not(.woocommerce-customer-details--phone) {
|
|
margin: $gap-smaller 0 0;
|
|
|
|
strong {
|
|
font-weight: bold;
|
|
display: block;
|
|
&::after {
|
|
content: ":";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.wc-block-order-confirmation-order-note {
|
|
margin-top: $gap * 3;
|
|
|
|
.wc-block-order-confirmation-order-note__label {
|
|
font-weight: bold;
|
|
}
|
|
}
|