2022-05-04 11:02:42 +00:00
|
|
|
:where(.wp-block-woocommerce-legacy-template) {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
.wp-block-woocommerce-classic-template__placeholder-warning {
|
|
|
|
border-left: 5px solid #2181d2;
|
|
|
|
padding-left: em(40px);
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-classic-template__placeholder .components-placeholder__fieldset {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-classic-template__placeholder-wireframe,
|
|
|
|
.wp-block-woocommerce-classic-template__placeholder-copy {
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-column-start: 1;
|
|
|
|
transition: 0.3s all ease;
|
|
|
|
}
|
2022-03-22 22:34:43 +00:00
|
|
|
.wp-block-woocommerce-classic-template__placeholder-copy {
|
2023-06-29 13:41:22 +00:00
|
|
|
border: 1px solid $gray-900;
|
|
|
|
background-color: #fff;
|
|
|
|
padding: $gap-large $gap-larger;
|
|
|
|
border-radius: 3px;
|
2023-05-10 11:02:33 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-11-02 14:42:07 +00:00
|
|
|
max-width: 900px;
|
2023-05-10 11:02:33 +00:00
|
|
|
width: 400px;
|
|
|
|
margin: auto;
|
2023-06-29 13:41:22 +00:00
|
|
|
opacity: 0;
|
|
|
|
z-index: 10;
|
2021-11-02 14:42:07 +00:00
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
.wp-block-woocommerce-classic-template__placeholder-copy__icon-container {
|
|
|
|
margin: 0 0 $gap;
|
2022-01-05 18:18:23 +00:00
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
span {
|
|
|
|
@include font-size(larger);
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.woo-icon {
|
|
|
|
color: #{$studio-woocommerce-purple};
|
|
|
|
@include font-size(large);
|
2021-11-02 14:42:07 +00:00
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0 0 $gap;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-classic-template__placeholder-migration-button-container {
|
|
|
|
justify-content: center;
|
|
|
|
margin: $gap 0;
|
2021-11-02 14:42:07 +00:00
|
|
|
}
|
|
|
|
}
|
2023-06-29 13:41:22 +00:00
|
|
|
.wp-block-woocommerce-classic-template__placeholder-wireframe {
|
|
|
|
pointer-events: none;
|
2021-11-02 14:42:07 +00:00
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
// Image based placeholders should fill horizontal width.
|
|
|
|
> img {
|
|
|
|
width: 100%;
|
2021-11-02 14:42:07 +00:00
|
|
|
}
|
|
|
|
}
|
2022-06-06 14:49:19 +00:00
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
.wp-block-woocommerce-legacy-template {
|
|
|
|
.components-placeholder {
|
|
|
|
box-shadow: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-06-06 14:49:19 +00:00
|
|
|
}
|
2023-06-29 13:41:22 +00:00
|
|
|
.wp-block-woocommerce-legacy-template.is-selected {
|
|
|
|
.wp-block-woocommerce-classic-template__placeholder-wireframe {
|
|
|
|
filter: blur(3px);
|
|
|
|
opacity: 0.5;
|
2023-05-10 11:02:33 +00:00
|
|
|
|
2023-06-29 13:41:22 +00:00
|
|
|
* {
|
|
|
|
color: $gray-200 !important;
|
|
|
|
border-color: $gray-200 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-classic-template__placeholder-copy {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.components-placeholder {
|
|
|
|
box-shadow: inherit;
|
2023-05-10 11:02:33 +00:00
|
|
|
}
|
|
|
|
}
|