File size: 2,685 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 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
@import "@automattic/onboarding/styles/mixins";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/variables";
@mixin woocommerce-install-two-column-layout {
min-height: 95vh;
display: flex;
align-items: center;
@media (max-width: 660px) {
min-height: 0;
}
// Two column layout.
.step-wrapper {
display: flex;
.step-wrapper__header {
@media (min-width: 660px) {
margin-top: 0 !important;
}
.formatted-header {
text-align: inherit;
@media (min-width: 1024px) {
margin-left: 24px;
}
.formatted-header__title {
text-align: inherit;
@media (max-width: 660px) {
padding: 0 10px 0 0;
}
}
.formatted-header__subtitle {
@media (max-width: 660px) {
margin-top: 8px;
padding: 0 10px 0 0;
}
margin-top: 20px;
text-align: inherit;
max-width: 448px;
}
}
}
}
.is-wide-layout {
max-width: 1024px;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: flex-start;
justify-content: center;
column-gap: 2%;
@media (max-width: 660px) {
max-width: 90vw;
grid-template-columns: 1fr;
}
}
.step-wrapper__content {
display: flex;
margin: 0 24px;
.step-business-info__instructions-container,
.step-store-address__instructions-container,
.confirm__instructions-container {
flex: 1 1 auto;
font-size: 0.875rem;
letter-spacing: -0.16px;
color: var(--studio-gray-60);
flex-direction: column;
max-width: 520px;
min-width: 380px;
@media (max-width: 660px) {
max-width: 90vw;
}
p {
margin-top: 16px;
}
.components-base-control {
font-size: $default-font-size;
line-height: $default-line-height;
margin-bottom: $grid-unit-30;
.components-base-control__label,
.components-input-control__label {
font-size: $editor-font-size;
margin-bottom: $grid-unit;
padding: 0;
}
.components-checkbox-control__label,
.components-select-control__input,
.components-text-control__input,
.components-combobox-control__input {
color: var(--color-neutral-70);
}
.components-combobox-control__suggestions-container,
.components-select-control__input,
.components-text-control__input {
height: auto;
line-height: 18px;
padding: $grid-unit-15 $grid-unit-20;
}
.components-select-control__input {
box-sizing: initial;
height: auto;
line-height: 20px;
min-height: auto;
}
.components-combobox-control__input {
padding: 0;
}
}
.components-text-control__input {
box-sizing: border-box;
}
}
}
}
|