woocommerce/plugins/woocommerce-admin/client/customize-store/transitional/style.scss

271 lines
4.8 KiB
SCSS
Raw Normal View History

.woocommerce-customize-store__transitional {
display: flex;
flex-direction: column;
width: 100vw;
height: 100vh;
.edit-site-site-hub.edit-site-layout__hub {
height: 64px;
padding: 16px;
gap: 12px;
width: 100%;
position: initial;
.edit-site-site-hub__view-mode-toggle-container,
.edit-site-site-icon__image,
svg {
height: 32px;
width: 32px;
background: transparent;
}
.edit-site-site-hub__site-title {
margin-left: 12px;
color: $gray-900;
font-size: 13px;
font-style: normal;
font-weight: 500;
line-height: 20px; /* 153.846% */
}
}
.woocommerce-customize-store__transitional-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 40px;
}
.woocommerce-customize-store__transitional-heading {
color: $gray-900;
text-align: center;
font-feature-settings: 'clig' off, 'liga' off;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: 60px; /* 187.5% */
letter-spacing: -0.32px;
margin: 0;
}
.woocommerce-customize-store__transitional-subheading {
color: $gray-700;
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
letter-spacing: -0.1px;
margin: 4px 0 0;
width: 560px;
}
.woocommerce-customize-store__transitional-main-actions {
margin: 20px 0 0;
display: flex;
gap: 20px;
flex-direction: row;
.components-button {
padding: 8px 16px;
height: 40px;
}
}
.woocommerce-customize-store__transitional-site-preview-container {
border-radius: 16px;
margin-top: 50px;
background: #f6f7f7;
box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.02), 0 13px 10px 0 rgba(0, 0, 0, 0.03), 0 15px 20px 0 rgba(0, 0, 0, 0.04);
width: 600px;
height: 371px;
div {
position: relative;
border-radius: 24px;
}
.woocommerce-customize-store__edit-site-editor {
height: 100%;
}
.woocommerce-customize-store__block-editor {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.interface-navigable-region {
overflow: hidden;
}
.auto-block-preview__container,
.block-editor-block-preview__content {
width: 588px;
height: 363px;
position: relative;
}
iframe {
border-radius: 24px;
width: 1176px;
height: 726px;
transform: scale(0.5);
left: -50%;
position: relative;
top: -50%;
}
&.is-loading {
@include placeholder();
iframe {
visibility: hidden;
opacity: 0.5;
}
}
}
.woocommerce-customize-store__transitional-actions {
display: flex;
flex-direction: row;
margin-top: 50px;
gap: 40px;
.woocommerce-customize-store__transitional-action {
display: flex;
flex-direction: column;
width: 280px;
h3 {
color: $gray-900;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 150% */
margin: 0;
}
p {
margin: 5px 0 0;
color: $gray-700;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 123.077% */
height: 48px;
}
.components-button {
margin-top: 16px;
padding: 0;
margin-left: 0;
height: 20px;
width: fit-content;
&:hover {
background: transparent;
}
}
}
}
}
.woocommerce-ai-survey-modal {
max-height: 100%;
max-width: 620px;
.components-modal__header {
padding: 32px 32px 24px 32px;
.components-modal__header-heading {
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 28px; /* 140% */
}
}
.components-modal__content {
padding-top: 0;
padding-bottom: 16px;
}
}
.woocommerce-ai-survey-form {
.woocommerce-ai-survey-form__description {
margin: 0 0 12px;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 153.846% */
}
h4 {
font-size: 13px;
font-style: normal;
font-weight: 600;
line-height: 16px; /* 123.077% */
margin-top: 0;
margin-bottom: 12px;
}
.woocommerce-survey-star-rating {
button {
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
padding: 0 6px 0 0;
font-size: 20px;
}
.woocommerce-survey-star-rating__button-on {
color: #000;
}
.woocommerce-survey-star-rating__button-off {
color: var(--gray-gray-5, #dcdcde);
}
}
hr {
color: var(--gutenberg-gray-100, #f0f0f0);
margin: 20px 0;
}
.components-checkbox-control__input {
border: 1px solid $gray-600;
border-radius: 2px;
}
.components-checkbox-control:last-child {
margin-bottom: 4px;
}
.buttons {
display: flex;
justify-content: flex-end;
gap: 12px;
.components-button {
padding: 8px 16px;
}
}
.components-textarea-control__input {
resize: none;
height: 72px;
margin-bottom: 20px;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 16px; /* 123.077% */
color: $gray-900;
}
}