woocommerce/plugins/woocommerce-blocks/assets/js/blocks/order-confirmation/billing-address/style.scss

49 lines
1.0 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-billing-wrapper > *:first-child {
margin-top: 0;
}
.wp-block-woocommerce-order-confirmation-billing-wrapper {
.block-editor-block-list__layout > *:first-child {
margin-top: 0 !important;
}
}
.wc-block-order-confirmation-billing-wrapper {
.wp-block-heading {
margin-top: 0;
}
}
.wc-block-order-confirmation-billing-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: ":";
}
}
}
}