2023-04-14 08:44:09 +00:00
|
|
|
// Extra classes added for specificity, so we get rid of a top margin added by GB.
|
|
|
|
.editor-styles-wrapper .wc-block-editor-mini-cart-contents__wrapper.wc-block-editor-mini-cart-contents__wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
2022-01-08 00:51:20 +00:00
|
|
|
|
2023-04-14 08:44:09 +00:00
|
|
|
.editor-styles-wrapper .wp-block-woocommerce-mini-cart-contents {
|
2022-03-23 02:58:03 +00:00
|
|
|
.wp-block-woocommerce-empty-mini-cart-contents-block[hidden],
|
|
|
|
.wp-block-woocommerce-filled-mini-cart-contents-block[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-01-21 17:39:04 +00:00
|
|
|
.wp-block-woocommerce-filled-mini-cart-contents-block > .block-editor-inner-blocks > .block-editor-block-list__layout {
|
2021-12-20 07:57:55 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-06-15 08:18:50 +00:00
|
|
|
height: 100vh;
|
2021-12-20 07:57:55 +00:00
|
|
|
}
|
|
|
|
|
2022-01-21 17:39:04 +00:00
|
|
|
.wp-block-woocommerce-mini-cart-items-block {
|
|
|
|
display: grid;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-bottom: $gap;
|
|
|
|
padding: 0 $gap;
|
|
|
|
|
|
|
|
> .block-editor-inner-blocks > .block-editor-block-list__layout {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2022-02-10 10:33:48 +00:00
|
|
|
|
|
|
|
// 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;
|
|
|
|
}
|
|
|
|
|
2022-01-21 17:39:04 +00:00
|
|
|
}
|
2022-01-08 00:51:20 +00:00
|
|
|
|
2022-01-21 17:39:04 +00:00
|
|
|
.wp-block-woocommerce-mini-cart-products-table-block {
|
|
|
|
margin-bottom: auto;
|
|
|
|
margin-top: $gap;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.wc-block-mini-cart__title {
|
|
|
|
@include font-size(larger);
|
2023-04-14 07:21:21 +00:00
|
|
|
|
|
|
|
.block-editor-block-list__layout {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
2022-01-21 17:39:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table.wc-block-cart-items {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-editor-button-block-appender {
|
|
|
|
box-shadow: inset 0 0 0 1px;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2022-02-01 16:19:41 +00:00
|
|
|
|
|
|
|
.wp-block-woocommerce-empty-mini-cart-contents-block {
|
2022-05-06 11:05:54 +00:00
|
|
|
min-height: 100vh;
|
2022-02-01 16:19:41 +00:00
|
|
|
overflow-y: unset;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
> .block-editor-inner-blocks {
|
2022-05-06 11:05:54 +00:00
|
|
|
box-sizing: border-box;
|
2022-02-01 16:19:41 +00:00
|
|
|
max-height: 100vh;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: $gap-largest $gap $gap;
|
|
|
|
}
|
2022-02-10 10:33:48 +00:00
|
|
|
|
|
|
|
// 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 {
|
2022-05-06 11:05:54 +00:00
|
|
|
margin-top: $gap;
|
2022-02-10 10:33:48 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
2022-03-29 13:48:59 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-mini-cart__shopping-button a {
|
|
|
|
color: currentColor;
|
2022-02-01 16:19:41 +00:00
|
|
|
}
|
2021-12-20 07:57:55 +00:00
|
|
|
}
|
2023-02-17 10:45:42 +00:00
|
|
|
|
|
|
|
.editor-styles-wrapper .wp-block-woocommerce-mini-cart-contents,
|
|
|
|
.editor-styles-wrapper .wp-block-woocommerce-filled-mini-cart-contents-block {
|
|
|
|
height: auto;
|
|
|
|
min-height: 500px;
|
|
|
|
}
|