86 lines
1.7 KiB
SCSS
86 lines
1.7 KiB
SCSS
.wp-block-woocommerce-checkout {
|
|
.wc-block-components-sidebar-layout {
|
|
display: block;
|
|
}
|
|
.block-editor-block-list__layout {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
align-items: flex-start;
|
|
padding-left: 5px;
|
|
|
|
&:has(> :first-child.wp-block-woocommerce-checkout-totals-block) {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.wc-block-checkout__additional_fields {
|
|
padding: 0;
|
|
}
|
|
}
|
|
.wc-block-components-main,
|
|
.wc-block-components-sidebar,
|
|
.block-editor-block-list__layout {
|
|
> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
.wp-block-woocommerce-checkout-totals-block,
|
|
.wp-block-woocommerce-checkout-fields-block {
|
|
.block-editor-block-list__layout {
|
|
display: block;
|
|
}
|
|
|
|
// Temporary fix after the appender button was positioned absolute
|
|
// See https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/5742#issuecomment-1032804168
|
|
.block-list-appender {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.is-large {
|
|
.wc-block-checkout__sidebar {
|
|
top: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.wc-lock-selected-block--move {
|
|
.block-editor-block-mover__move-button-container,
|
|
.block-editor-block-mover {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
body.wc-lock-selected-block--remove {
|
|
.block-editor-block-settings-menu__popover {
|
|
.components-menu-group:last-child {
|
|
display: none;
|
|
}
|
|
.components-menu-group:nth-last-child(2) {
|
|
margin-bottom: -12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.components-base-control--nested {
|
|
padding-left: 52px;
|
|
margin-top: -12px;
|
|
}
|
|
|
|
.components-panel__body-title .components-button {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout.is-editor-preview {
|
|
max-height: 1000px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-order-summary-block {
|
|
.block-editor-block-list__layout > div {
|
|
margin: 0 !important;
|
|
}
|
|
.wc-block-components-totals-wrapper {
|
|
box-sizing: border-box;
|
|
}
|
|
}
|