2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-sidebar-layout {
|
2020-03-12 09:41:35 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-04-24 12:23:25 +00:00
|
|
|
margin: 0 auto $gap;
|
2020-05-05 08:10:02 +00:00
|
|
|
position: relative;
|
2020-03-12 09:41:35 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-main {
|
2020-09-07 15:39:53 +00:00
|
|
|
box-sizing: border-box;
|
2020-03-12 09:41:35 +00:00
|
|
|
margin: 0;
|
2021-08-24 11:37:43 +00:00
|
|
|
padding-right: percentage(math.div($gap-largest, 1060px)); // ~1060px is the default width of the content area in Storefront.
|
2020-04-03 13:17:09 +00:00
|
|
|
width: 65%;
|
2020-03-12 09:41:35 +00:00
|
|
|
}
|
2020-03-13 15:49:33 +00:00
|
|
|
}
|
2020-03-12 09:41:35 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-sidebar {
|
2020-09-07 15:39:53 +00:00
|
|
|
box-sizing: border-box;
|
2020-03-13 15:49:33 +00:00
|
|
|
margin: 0;
|
2021-08-24 11:37:43 +00:00
|
|
|
padding-left: percentage(math.div($gap-large, 1060px));
|
2020-04-03 13:17:09 +00:00
|
|
|
width: 35%;
|
2020-03-12 09:41:35 +00:00
|
|
|
|
2021-02-17 13:48:53 +00:00
|
|
|
.wc-block-components-panel > h2 {
|
2021-02-09 08:10:45 +00:00
|
|
|
@include font-size(regular);
|
|
|
|
@include reset-box();
|
2020-04-14 11:43:10 +00:00
|
|
|
}
|
2020-03-12 09:41:35 +00:00
|
|
|
}
|
|
|
|
|
2020-05-05 08:10:02 +00:00
|
|
|
.is-medium,
|
|
|
|
.is-small,
|
|
|
|
.is-mobile {
|
2020-06-17 09:53:42 +00:00
|
|
|
&.wc-block-components-sidebar-layout {
|
2020-04-03 13:17:09 +00:00
|
|
|
flex-direction: column;
|
2020-05-14 09:07:21 +00:00
|
|
|
margin: 0 auto $gap;
|
2020-03-12 09:41:35 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-main {
|
2020-03-12 09:41:35 +00:00
|
|
|
padding: 0;
|
2020-04-03 13:17:09 +00:00
|
|
|
width: 100%;
|
2020-03-12 09:41:35 +00:00
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-sidebar {
|
2020-03-12 09:41:35 +00:00
|
|
|
padding: 0;
|
2020-04-03 13:17:09 +00:00
|
|
|
width: 100%;
|
2020-06-05 10:00:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-12 09:41:35 +00:00
|
|
|
|
2020-06-05 10:00:19 +00:00
|
|
|
.is-large {
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-sidebar {
|
|
|
|
.wc-block-components-totals-item,
|
2021-02-17 13:48:53 +00:00
|
|
|
.wc-block-components-panel {
|
2020-06-05 10:00:19 +00:00
|
|
|
padding-left: $gap;
|
|
|
|
padding-right: $gap;
|
2020-03-12 09:41:35 +00:00
|
|
|
}
|
2021-07-07 12:20:26 +00:00
|
|
|
|
|
|
|
.wc-block-components-panel {
|
|
|
|
.wc-block-components-totals-item {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-03-12 09:41:35 +00:00
|
|
|
}
|
|
|
|
}
|
2020-06-05 10:00:19 +00:00
|
|
|
|
2021-05-17 14:00:57 +00:00
|
|
|
.wc-block-components-sidebar .wc-block-components-panel > h2 {
|
|
|
|
@include reset-typography();
|
|
|
|
.wc-block-components-panel__button {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-05 10:00:19 +00:00
|
|
|
// For Twenty Twenty we need to increase specificity a bit more.
|
|
|
|
.theme-twentytwenty {
|
2021-02-17 13:48:53 +00:00
|
|
|
.wc-block-components-sidebar .wc-block-components-panel > h2 {
|
2020-06-05 10:00:19 +00:00
|
|
|
@include font-size(large);
|
|
|
|
@include reset-box();
|
|
|
|
}
|
|
|
|
}
|