UNPKG

12.6 kBCSSView Raw
1.next-sr-only {
2 position: absolute;
3 width: 1px;
4 height: 1px;
5 padding: 0;
6 overflow: hidden;
7 clip: rect(0, 0, 0, 0);
8 white-space: nowrap;
9 border: 0;
10 top: 0;
11 margin: -1px; }
12
13.next-form {
14 box-sizing: border-box; }
15 .next-form *,
16 .next-form *:before,
17 .next-form *:after {
18 box-sizing: border-box; }
19 .next-form-preview.next-form-item .next-form-item-label {
20 color: #666666;
21 color: var(--form-element-preview-label-color, #666666); }
22 .next-form-preview.next-form-item .next-form-preview {
23 color: #333333;
24 color: var(--form-element-preview-text-color, #333333); }
25 .next-form-preview.next-form-item.next-medium .next-form-item-label {
26 font-size: 12px;
27 font-size: var(--form-element-medium-preview-label-font-size, 12px);
28 line-height: 28px;
29 line-height: var(--form-element-medium-preview-height, 28px); }
30 .next-form-preview.next-form-item.next-small .next-form-item-label {
31 font-size: 12px;
32 font-size: var(--form-element-small-preview-label-font-size, 12px);
33 line-height: 20px;
34 line-height: var(--form-element-small-preview-height, 20px); }
35 .next-form-preview.next-form-item.next-large .next-form-item-label {
36 font-size: 16px;
37 font-size: var(--form-element-large-preview-label-font-size, 16px);
38 line-height: 40px;
39 line-height: var(--form-element-large-preview-height, 40px); }
40 .next-form-responsive-grid .next-form-item-control {
41 flex: 1; }
42 .next-form-responsive-grid .next-form-item {
43 margin-bottom: 0; }
44 .next-form-responsive-grid .next-form-item.next-left {
45 display: flex; }
46 .next-form-responsive-grid.next-small .next-responsive-grid {
47 gap: 16px;
48 gap: var(--form-inline-s-item-margin-r, 16px); }
49 .next-form-responsive-grid.next-small .next-form-item.next-left .next-form-item-label {
50 line-height: 1.4;
51 margin-top: 4px;
52 margin-top: calc(var(--form-element-small-height, 20px)/2 - var(--form-element-small-font-size, 12px)/2);
53 margin-bottom: 4px;
54 margin-bottom: calc(var(--form-element-small-height, 20px)/2 - var(--form-element-small-font-size, 12px)/2); }
55 .next-form-responsive-grid.next-medium .next-responsive-grid {
56 gap: 20px;
57 gap: var(--form-inline-m-item-margin-r, 20px); }
58 .next-form-responsive-grid.next-medium .next-form-item.next-left .next-form-item-label {
59 line-height: 1.4;
60 margin-top: 8px;
61 margin-top: calc(var(--form-element-medium-height, 28px)/2 - var(--form-element-medium-font-size, 12px)/2);
62 margin-bottom: 8px;
63 margin-bottom: calc(var(--form-element-medium-height, 28px)/2 - var(--form-element-medium-font-size, 12px)/2); }
64 .next-form-responsive-grid.next-large .next-responsive-grid {
65 gap: 24px;
66 gap: var(--form-inline-l-item-margin-r, 24px); }
67 .next-form-responsive-grid.next-large .next-form-item.next-left .next-form-item-label {
68 line-height: 1.4;
69 margin-top: 12px;
70 margin-top: calc(var(--form-element-large-height, 40px)/2 - var(--form-element-large-font-size, 16px)/2);
71 margin-bottom: 12px;
72 margin-bottom: calc(var(--form-element-large-height, 40px)/2 - var(--form-element-large-font-size, 16px)/2); }
73 .next-form-item {
74 /* medium */
75 margin-bottom: 16px;
76 margin-bottom: var(--form-item-m-margin-b, 16px); }
77 .next-form-item.has-error > .next-form-item-control > .next-form-item-help {
78 color: #FF3000;
79 color: var(--form-error-color, #FF3000); }
80 .next-form-item.has-warning > .next-form-item-control > .next-form-item-help {
81 color: #FF9300;
82 color: var(--form-warning-color, #FF9300); }
83 .next-form-item .next-form-item-label, .next-form-item .next-form-text-align, .next-form-item p {
84 line-height: 28px;
85 line-height: var(--form-element-medium-height, 28px); }
86 .next-form-item .next-form-text-align, .next-form-item p {
87 margin: 0; }
88 .next-form-item .next-rating,
89 .next-form-item .next-checkbox-wrapper,
90 .next-form-item .next-checkbox-group,
91 .next-form-item .next-radio-wrapper,
92 .next-form-item .next-radio-group {
93 line-height: 24px;
94 line-height: calc(var(--form-element-medium-height, 28px) - 4px); }
95 .next-form-item .next-form-preview {
96 font-size: 12px;
97 font-size: var(--form-element-medium-preview-font-size, 12px);
98 line-height: 28px;
99 line-height: var(--form-element-medium-preview-height, 28px); }
100 .next-form-item .next-form-preview.next-input-textarea > p {
101 font-size: 12px;
102 font-size: var(--form-element-medium-preview-font-size, 12px);
103 text-align: justify;
104 min-height: 16.8px;
105 min-height: calc(var(--form-element-medium-preview-font-size, 12px)*1.4);
106 line-height: 1.4;
107 margin-top: 5.6px;
108 margin-top: calc(var(--form-element-medium-preview-height, 28px)/2 - var(--form-element-medium-preview-font-size, 12px)*1.4/2); }
109 .next-form-item .next-form-item-label {
110 font-size: 12px;
111 font-size: var(--form-element-medium-font-size, 12px); }
112 .next-form-item .next-form-item-label > label {
113 display: inline-block;
114 line-height: 1.5;
115 line-height: var(--font-lineheight-2, 1.5); }
116 .next-form-item.next-large {
117 margin-bottom: 20px;
118 margin-bottom: var(--form-item-l-margin-b, 20px); }
119 .next-form-item.next-large .next-form-item-label, .next-form-item.next-large .next-form-text-align, .next-form-item.next-large p {
120 line-height: 40px;
121 line-height: var(--form-element-large-height, 40px); }
122 .next-form-item.next-large .next-rating,
123 .next-form-item.next-large .next-checkbox-wrapper,
124 .next-form-item.next-large .next-checkbox-group,
125 .next-form-item.next-large .next-radio-wrapper,
126 .next-form-item.next-large .next-radio-group {
127 line-height: 39px;
128 line-height: calc(var(--form-element-large-height, 40px) - 1px); }
129 .next-form-item.next-large .next-form-preview {
130 font-size: 16px;
131 font-size: var(--form-element-large-preview-font-size, 16px);
132 line-height: 40px;
133 line-height: var(--form-element-large-preview-height, 40px); }
134 .next-form-item.next-large .next-form-preview.next-input-textarea > p {
135 font-size: 16px;
136 font-size: var(--form-element-large-preview-font-size, 16px);
137 text-align: justify;
138 min-height: 22.4px;
139 min-height: calc(var(--form-element-large-preview-font-size, 16px)*1.4);
140 line-height: 1.4;
141 margin-top: 8.8px;
142 margin-top: calc(var(--form-element-large-preview-height, 40px)/2 - var(--form-element-large-preview-font-size, 16px)*1.4/2); }
143 .next-form-item.next-large .next-switch {
144 margin-top: 7px;
145 margin-top: calc(var(--form-element-large-height, 40px)/2 - 13px); }
146 .next-form-item.next-large .next-form-item-label {
147 font-size: 16px;
148 font-size: var(--form-element-large-font-size, 16px); }
149 .next-form-item.next-small {
150 margin-bottom: 12px;
151 margin-bottom: var(--form-item-s-margin-b, 12px); }
152 .next-form-item.next-small .next-form-item-label, .next-form-item.next-small .next-form-text-align, .next-form-item.next-small p {
153 line-height: 20px;
154 line-height: var(--form-element-small-height, 20px); }
155 .next-form-item.next-small .next-rating,
156 .next-form-item.next-small .next-checkbox-wrapper,
157 .next-form-item.next-small .next-checkbox-group,
158 .next-form-item.next-small .next-radio-wrapper,
159 .next-form-item.next-small .next-radio-group {
160 line-height: 20px;
161 line-height: var(--form-element-small-height, 20px); }
162 .next-form-item.next-small .next-form-preview {
163 font-size: 12px;
164 font-size: var(--form-element-small-preview-font-size, 12px);
165 line-height: 20px;
166 line-height: var(--form-element-small-preview-height, 20px); }
167 .next-form-item.next-small .next-form-preview.next-input-textarea > p {
168 font-size: 12px;
169 font-size: var(--form-element-small-preview-font-size, 12px);
170 text-align: justify;
171 min-height: 16.8px;
172 min-height: calc(var(--form-element-small-preview-font-size, 12px)*1.4);
173 line-height: 1.4;
174 margin-top: 1.6px;
175 margin-top: calc(var(--form-element-small-preview-height, 20px)/2 - var(--form-element-small-preview-font-size, 12px)*1.4/2); }
176 .next-form-item.next-small .next-form-item-label {
177 font-size: 12px;
178 font-size: var(--form-element-small-font-size, 12px); }
179 .next-form-item.next-top > .next-form-item-label {
180 margin-bottom: 2px;
181 margin-bottom: var(--form-top-label-margin-b, 2px); }
182 .next-form-item.next-inset .next-form-item-label {
183 padding-right: 0;
184 padding-left: 0;
185 line-height: inherit; }
186 .next-form-item-control .next-form-text-align {
187 margin: 0; }
188 .next-form-item-control > .next-input-group, .next-form-item-control > .next-input {
189 width: 100%; }
190 .next-form-item-fullwidth .next-form-item-control > .next-input-group,
191 .next-form-item-fullwidth .next-form-item-control > .next-input,
192 .next-form-item-fullwidth .next-form-item-control > .next-select,
193 .next-form-item-fullwidth .next-form-item-control > .next-date-picker,
194 .next-form-item-fullwidth .next-form-item-control > .next-month-picker,
195 .next-form-item-fullwidth .next-form-item-control > .next-year-picker,
196 .next-form-item-fullwidth .next-form-item-control > .next-range-picker,
197 .next-form-item-fullwidth .next-form-item-control > .next-time-picker {
198 width: 100%; }
199 .next-form-item-fullwidth .next-form-item-control > .next-date-picker2 .next-date-picker2-input input {
200 width: inherit; }
201 .next-form-item-label {
202 display: inline-block;
203 vertical-align: top;
204 color: #666666;
205 color: var(--form-label-color, #666666);
206 text-align: right;
207 padding-right: 12px;
208 padding-right: var(--form-label-padding-r, 12px); }
209 .next-form-item-label label[required]:before {
210 margin-right: 4px;
211 content: "*";
212 color: #FF3000;
213 color: var(--form-error-color, #FF3000); }
214 .next-form-item-label.has-colon label::after {
215 content: ":";
216 position: relative;
217 top: -.5px;
218 margin: 0 0 0 2px; }
219 .next-form-item-label.next-left {
220 text-align: left; }
221 .next-form-item-label.next-left > label[required]::before {
222 display: none; }
223 .next-form-item-label.next-left > label[required]::after {
224 margin-left: 4px;
225 content: "*";
226 color: #FF3000;
227 color: var(--form-error-color, #FF3000); }
228 .next-form-item-help {
229 margin-top: 4px;
230 margin-top: var(--form-help-margin-top, 4px);
231 font-size: 12px;
232 font-size: var(--form-help-font-size, 12px);
233 line-height: 1.5;
234 line-height: var(--font-lineheight-2, 1.5);
235 color: #999999;
236 color: var(--form-help-color, #999999); }
237 .next-form.next-inline .next-form-item {
238 display: inline-block;
239 vertical-align: top;
240 /* label on left */ }
241 .next-form.next-inline .next-form-item.next-left .next-form-item-control {
242 display: inline-block;
243 vertical-align: top;
244 line-height: 0; }
245 .next-form.next-inline .next-form-item:not(:last-child) {
246 margin-right: 20px;
247 margin-right: var(--form-inline-m-item-margin-r, 20px); }
248 .next-form.next-inline .next-form-item.next-large:not(:last-child) {
249 margin-right: 24px;
250 margin-right: var(--form-inline-l-item-margin-r, 24px); }
251 .next-form.next-inline .next-form-item.next-small:not(:last-child) {
252 margin-right: 16px;
253 margin-right: var(--form-inline-s-item-margin-r, 16px); }
254
255@media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
256 .next-form-item.next-left > .next-form-item-label {
257 display: table-cell; }
258 .next-form.next-inline .next-form-item.next-left .next-form-item-control {
259 display: table-cell; } }
260
261.next-form[dir="rtl"] .next-form-item-label {
262 text-align: left;
263 padding-left: 12px;
264 padding-left: var(--form-label-padding-r, 12px);
265 padding-right: 0; }
266
267.next-form[dir="rtl"].next-inline .next-form-item:not(:last-child) {
268 margin-left: 20px;
269 margin-left: var(--form-inline-m-item-margin-r, 20px);
270 margin-right: 0; }
271
272.next-form[dir="rtl"].next-inline .next-form-item.next-large:not(:last-child) {
273 margin-left: 24px;
274 margin-left: var(--form-inline-l-item-margin-r, 24px);
275 margin-right: 0; }
276
277.next-form[dir="rtl"].next-inline .next-form-item.next-small:not(:last-child) {
278 margin-left: 16px;
279 margin-left: var(--form-inline-s-item-margin-r, 16px);
280 margin-right: 0; }