File size: 2,370 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | @import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/breakpoints";
.is-section-stepper {
.site-preview__wrapper {
margin: 0 0 16px;
flex-grow: 1;
@include break-large {
margin: 0 20px 20px 20px;
}
.preview-toolbar__toolbar {
display: none;
@include break-large {
display: block;
}
}
.web-preview__inner {
height: 680px;
@include break-large {
height: 100%;
}
}
.site-preview__web-preview.web-preview__inner.is-visible.is-phone {
height: 680px;
@include break-large {
height: 767px;
}
}
.is-phone .web-preview__placeholder {
margin: 0 auto;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07), 0 3px 10px rgba(0, 0, 0, 0.04);
background: var(--color-print);
border-radius: 40px; /* stylelint-disable-line scales/radii */
transition: max-width 0.2s linear;
@include break-large {
max-width: 340px;
height: 713px;
}
}
.is-tablet .web-preview__placeholder {
@include break-large {
max-width: 783px;
}
}
.web-preview__placeholder {
overflow-y: visible;
max-width: 100%;
box-shadow: 0 5px 15px rgba(0 0 0 / 7%), 0 3px 10px rgba(0 0 0 / 4%);
border-radius: 40px; /* stylelint-disable-line scales/radii */
width: 95%;
margin: 0 auto;
transition: max-width 0.2s linear;
display: flex;
flex-direction: column;
@include break-large {
width: 95%;
border-radius: 20px; /* stylelint-disable-line scales/radii */
}
}
.preview-toolbar__devices {
margin-bottom: 28px;
}
.is-phone .web-preview__frame-wrapper.is-resizable {
@include break-large {
margin: 0 auto;
}
}
.web-preview__frame-wrapper.is-resizable {
transition: max-width 0.2s linear;
margin: 0;
padding: 0;
background-color: transparent;
position: relative;
}
.web-preview__frame {
border: 10px solid var(--color-print);
border-radius: 40px; /* stylelint-disable-line scales/radii */
box-sizing: border-box;
@include break-large {
margin-top: 0;
border-radius: 20px; /* stylelint-disable-line scales/radii */
}
}
.is-phone .web-preview__frame-wrapper.is-resizable .web-preview__frame {
margin: 0 auto;
max-width: 100%;
@include break-large {
border-radius: 40px; /* stylelint-disable-line scales/radii */
}
}
.spinner-line {
display: none;
}
}
}
|