PluginProbe ʕ •ᴥ•ʔ
Jetpack – WP Security, Backup, Speed, & Growth / 12.3.2
Jetpack – WP Security, Backup, Speed, & Growth v12.3.2
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 14.5.1 14.6.1 14.7.1 14.8.1 14.9.2 15.0.3 15.1.2 15.2.1 15.3.2 15.4.1 15.5.1 15.6.1 15.7.2 15.8.1 15.9.2 16.0.2 16.1.3 16.2-a.5 16.2-a.3 16.1.2 16.2-a.1 16.1.1 16.1 16.1-beta 16.1-beta.2 16.1-beta.3 16.1-a.5 16.1-a.3 16.0.1 16.1-a.1 16.0 16.0-beta 16.0-a.7 16.0-a.5 15.9.1 16.0-a.3 16.0-a.1 15.9 15.9-beta 15.9-a.7 15.9-a.5 15.9-a.3 15.9-a.1 15.8 15.8-beta 15.8-a.7 15.8-a.5 5.2.5 5.3.4 5.4.4 5.5.5 5.6.5 5.7.5 5.8.4 5.9.4 6.0.4 6.1 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.3 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.4 6.4.1 6.4.2 6.4.3 6.4.4 6.4.5 6.4.6 6.5 6.5.1 6.5.2 6.5.3 6.5.4 6.6 6.6.1 6.6.2 6.6.3 6.6.4 6.6.5 6.7 6.7.1 6.7.2 6.7.3 6.7.4 6.8 6.8.1 6.8.2 6.8.3 6.8.4 6.8.5 6.9 6.9.1 6.9.2 6.9.3 6.9.4 7.0 7.0.1 7.0.2 7.0.3 7.0.4 7.0.5 7.1 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.2 7.2.1 7.2.1.1 7.2.2 7.2.3 7.2.4 7.2.5 7.3 7.3.0.1 7.3.1 7.3.1.1 7.3.2 7.3.3 7.3.4 7.3.5 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.5 7.5.0.1 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.5.6 7.5.7 7.6 7.6.1 7.6.2 7.6.3 7.6.4 7.7 7.7.1 7.7.2 7.7.3 7.7.4 7.7.5 7.7.6 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.9 7.9.1 7.9.2 7.9.3 7.9.4 8.0 8.0.1 8.0.2 8.0.3 8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.2 8.2.0.1 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.2.6 8.3 8.3.1 8.3.2 8.3.3 8.4 8.4.1 8.4.2 8.4.3 8.4.4 8.4.5 8.5 8.5.1 8.5.2 8.5.3 8.6 8.6.1 8.6.2 8.6.3 8.6.4 8.7 8.7.0.1 8.7.1 8.7.2 8.7.3 8.7.4 8.8 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.9 8.9.1 8.9.2 8.9.3 8.9.4 9.0 9.0.1 9.0.2 9.0.3 9.0.4 9.0.5 9.1 9.1.1 9.1.2 9.1.3 9.2 9.2.1 9.2.2 9.2.3 9.2.4 9.3 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.4 9.4.1 9.4.2 9.4.3 9.4.4 9.5 9.5.1 9.5.2 9.5.3 9.5.4 9.5.5 9.6 9.6.1 9.6.2 9.6.3 9.6.4 9.7 9.7.1 9.7.2 15.7-beta.2 9.7.3 15.7.1 9.8 15.8-a.1 9.8.1 15.8-a.3 9.8.2 2.0.9 9.8.3 2.1.7 9.9 2.2.10 9.9.1 2.3.10 9.9.2 2.4.7 9.9.3 2.5.5 2.6.6 2.7.5 2.8.5 2.9.6 3.0.6 3.1.5 3.2.5 3.3.6 3.4.6 3.5.6 3.6.4 3.7.5 3.8.5 3.9.10 4.0.7 4.1.4 4.2.5 4.3.5 4.4.5 4.5.3 4.6.3 4.7.4 4.8.5 4.9.3 5.0.3 5.1.4 trunk 10.0 10.0.1 10.0.2 10.1 10.1.1 10.1.2 10.2 10.2.1 10.2.2 10.2.3 10.3 10.3.1 10.3.2 10.4 10.4.1 10.4.2 10.5 10.5.1 10.5.2 10.5.3 10.6 10.6.1 10.6.2 10.7 10.7.1 10.7.2 10.8 10.8.1 10.8.2 10.9 10.9.1 10.9.2 10.9.3 11.0 11.0.1 11.0.2 11.1 11.1.1 11.1.2 11.1.3 11.1.4 11.2 11.2.1 11.2.2 11.3 11.3.1 11.3.2 11.3.3 11.3.4 11.4 11.4.1 11.4.2 11.5 11.5.1 11.5.2 11.5.3 11.6 11.6.1 11.6.2 11.7 11.7.1 11.7.2 11.7.3 11.8 11.8.3 11.8.4 11.8.5 11.8.6 11.9 11.9.1 11.9.2 11.9.3 12.0 12.0.1 12.0.2 12.1 12.1.1 12.1.2 12.2 12.2.1 12.2.2 12.3 12.3.1 12.4 12.4.1 12.5 12.5.1 12.6 12.6.1 12.6.2 12.6.3 12.7 12.7.1 12.7.2 12.8 12.8.1 12.8.2 12.9 12.9.1 12.9.2 12.9.3 12.9.4 13.0 13.0.1 13.1 13.1.1 13.1.2 13.1.3 13.1.4 13.2 13.2.1 13.2.2 13.2.3 13.3 13.3.1 13.3.2 13.4 13.4.1 13.4.2 13.4.3 13.4.4 13.5 13.5.1 13.6 13.6.1 13.7 13.7.1 13.8 13.8.1 13.8.2 13.9 13.9.1 14.0 14.1 14.2 14.2.1 14.3 14.4 14.4.1 14.5 14.6 14.7 14.8 14.9 14.9.1 15.0 15.0.1 15.0.2 15.1 15.1.1 15.2 15.3 15.3.1 15.4 15.5 15.6 15.7 15.7-a.1 15.7-a.3 15.7-a.5 15.7-a.7 15.7-beta
jetpack / modules / contact-form / css / grunion.css
jetpack / modules / contact-form / css Last commit date
editor-inline-editing-style-rtl.css 3 years ago editor-inline-editing-style-rtl.min.css 3 years ago editor-inline-editing-style.css 3 years ago editor-inline-editing-style.min.css 3 years ago editor-style-rtl.css 3 years ago editor-style-rtl.min.css 3 years ago editor-style.css 3 years ago editor-style.min.css 3 years ago editor-ui-rtl.css 4 years ago editor-ui-rtl.min.css 4 years ago editor-ui.css 5 years ago editor-ui.min.css 4 years ago grunion-admin.css 3 years ago grunion-rtl.css 3 years ago grunion.css 3 years ago jquery-ui-datepicker.css 5 years ago jquery-ui-selectmenu.css 3 years ago
grunion.css
588 lines
1 :root {
2 --jetpack--contact-form--border: 1px solid #8c8f94;
3 --jetpack--contact-form--border-color: #8c8f94;
4 --jetpack--contact-form--border-size: 1px;
5 --jetpack--contact-form--border-style: solid;
6 --jetpack--contact-form--border-radius: 0px;
7 --jetpack--contact-form--input-padding: 16px;
8 --jetpack--contact-form--font-size: 16px;
9 }
10
11 .contact-form .clear-form {
12 clear: both;
13 }
14
15 .contact-form input::placeholder {
16 transition: opacity 0.3s ease-out;
17 }
18 .contact-form input:hover::placeholder {
19 opacity: 0.5;
20 }
21 .contact-form input:focus::placeholder {
22 opacity: 0.3;
23 }
24
25 /*
26 Using :where we will keep a lower CSS specificity,
27 allowing themes to easily override these styles
28 */
29 :where(
30 .contact-form input[type='text'],
31 .contact-form input[type='email'],
32 .contact-form input[type='tel'],
33 .contact-form input[type='url'],
34 .contact-form textarea
35 ) {
36 box-sizing: border-box;
37 width: 100%;
38 padding: 16px;
39 font: inherit;
40 border: 1px solid #8c8f94;
41 border-radius: 0;
42 }
43
44 :where(.contact-form textarea) {
45 height: 200px;
46 }
47
48 .contact-form :where(.grunion-field[type="text"], .grunion-field.textarea) {
49 padding-left: max(var(--jetpack--contact-form--input-padding-left, 16px), var(--jetpack--contact-form--border-radius));
50 padding-right: max(var(--jetpack--contact-form--input-padding-left, 16px), var(--jetpack--contact-form--border-radius));
51 }
52
53 .contact-form .grunion-field-wrap input,
54 .contact-form .grunion-field-wrap textarea {
55 margin: 0;
56 }
57
58 .contact-form select {
59 padding: 14px 7px;
60 min-width: 150px;
61 }
62
63 .contact-form :where(input[type='radio'], input[type='checkbox']) {
64 width: 1rem;
65 height: 1rem;
66 float: none;
67 }
68
69 .contact-form input[type='radio'],
70 .contact-form input[type='checkbox'] {
71 margin: 0 0.75rem 0 0;
72 }
73
74 .contact-form input[type='checkbox'] {
75 top: 0;
76 margin-left: 0;
77 }
78
79 .contact-form label {
80 margin-bottom: 0.25em;
81 float: none;
82 font-weight: bold;
83 display: block;
84 }
85
86 .contact-form label.consent {
87 font-size: 13px;
88 font-weight: normal;
89 text-transform: uppercase;
90 display: flex;
91 align-items: center;
92 }
93
94 .contact-form label.consent-implicit input {
95 display: none;
96 }
97
98 .contact-form label.checkbox,
99 .contact-form label.checkbox-multiple,
100 .contact-form label.radio {
101 margin-bottom: 0;
102 float: none;
103 font-weight: normal;
104 display: inline-flex;
105 align-items: center;
106 line-height: 1;
107 }
108
109 .contact-form .grunion-checkbox-multiple-options,
110 .contact-form .grunion-radio-options {
111 display: flex;
112 flex-direction: column;
113 gap: 12px;
114 }
115
116 .contact-form label span {
117 font-size: 85%;
118 margin-left: 0.25em;
119 font-weight: normal;
120 opacity: 0.45;
121 }
122
123 .contact-form-submission {
124 margin-bottom: 4em;
125 padding: 1.5em 1em;
126 width: 100%;
127 border-top: 1px solid #000;
128 border-bottom: 1px solid #000;
129 }
130
131 .contact-form-submission p {
132 margin: 0 auto;
133 word-wrap: break-word;
134 }
135
136 .contact-form-submission h4 {
137 margin-top: 32px;
138 margin-bottom: 32px;
139 font-weight: 200;
140 }
141
142 .contact-form-submission .go-back-message {
143 margin-top: 20px;
144 margin-bottom: 32px;
145 text-align: left;
146 }
147
148 .contact-form-submission .go-back-message .link {
149 font-weight: 200;
150 color: #000;
151 }
152
153 .contact-form-submission .field-name {
154 font-weight: 200;
155 }
156
157 .contact-form-submission .field-value {
158 margin-bottom: 20px;
159 font-weight: 600;
160 }
161
162 .form-errors .form-error-message {
163 color: red;
164 }
165
166 .textwidget .contact-form input[type='text'],
167 .textwidget .contact-form input[type='email'],
168 .textwidget .contact-form input[type='tel'],
169 .textwidget .contact-form input[type='url'],
170 .textwidget .contact-form textarea,
171 .wp-block-column .contact-form input[type='text'],
172 .wp-block-column .contact-form input[type='email'],
173 .wp-block-column .contact-form input[type='tel'],
174 .wp-block-column .contact-form input[type='url'],
175 .wp-block-column .contact-form textarea {
176 width: 100%;
177 }
178
179 #jetpack-check-feedback-spam {
180 margin: 1px 8px 0px 0px;
181 }
182
183 .jetpack-check-feedback-spam-spinner {
184 display: inline-block;
185 margin-top: 7px;
186 }
187
188 .wp-block-jetpack-contact-form {
189 display: flex;
190 flex-wrap: wrap;
191 justify-content: flex-start;
192 flex-direction: row;
193 flex-grow: 1;
194 gap: var(--wp--style--block-gap, 1.5rem);
195 }
196
197 .wp-block-jetpack-contact-form > * {
198 flex: 0 0 100%;
199 box-sizing: border-box;
200 }
201
202 /* Added circa Nov 2022: container class assigned to topmost block div */
203 .wp-block-jetpack-contact-form-container.alignfull .wp-block-jetpack-contact-form {
204 padding-right: 0;
205 padding-left: 0;
206 }
207
208 .wp-block-jetpack-button.alignright button {
209 float: right;
210 }
211
212 .wp-block-jetpack-contact-form .grunion-field-wrap {
213 box-sizing: border-box;
214 }
215
216 .wp-block-jetpack-contact-form .grunion-field-width-25-wrap {
217 flex: 1 1 calc( 25% - calc(var(--wp--style--block-gap, 1.5rem) * 1) );
218 max-width: 25%;
219 }
220
221 .wp-block-jetpack-contact-form .grunion-field-width-50-wrap {
222 flex: 1 1 calc( 50% - calc(var(--wp--style--block-gap, 1.5rem) * 1) );
223 max-width: 50%;
224 }
225
226 .wp-block-jetpack-contact-form .grunion-field-width-75-wrap {
227 flex: 1 1 calc( 75% - calc(var(--wp--style--block-gap, 1.5rem) * 1) );
228 max-width: 75%;
229 }
230
231 .grunion-field-checkbox-wrap,
232 .grunion-field-consent-wrap {
233 align-self: center;
234 }
235
236 @media only screen and ( min-width: 600px ) {
237 .contact-form input[type='text'],
238 .contact-form input[type='email'],
239 .contact-form input[type='tel'],
240 .contact-form input[type='url'] {
241 width: 50%;
242 }
243
244 /****
245 * Older users keep the 50% width to avoid breaking
246 * designs, but newer users using the contact
247 * form block get 100% width.
248 */
249 .wp-block-jetpack-contact-form input[type='text'],
250 .wp-block-jetpack-contact-form input[type='email'],
251 .wp-block-jetpack-contact-form input[type='tel'],
252 .wp-block-jetpack-contact-form input[type='url'] {
253 width: 100%;
254 }
255 }
256
257 /** For the "Empty Spam" button on /wp-admin/edit.php?post_status=spam&post_type=feedback **/
258 .jetpack-empty-spam-container {
259 display: inline-block;
260 }
261 .jetpack-empty-spam {
262 display: inline-block;
263 }
264 .jetpack-empty-spam-spinner {
265 display: inline-block;
266 margin-top: 7px;
267 }
268
269 /* Make sure the set height of the Spacer block nested inside the Contact Form block is respected */
270 .wp-block-jetpack-contact-form .wp-block-spacer {
271 width: 100%;
272 }
273
274 .contact-form .contact-form-dropdown__button.ui-button {
275 width: 100%;
276 box-sizing: border-box;
277 display: flex;
278 align-items: center;
279 flex-direction: row-reverse;
280 justify-content: space-between;
281 border: var(--jetpack--contact-form--border);
282 border-color: var(--jetpack--contact-form--border-color);
283 border-style: var(--jetpack--contact-form--border-style);
284 border-width: var(--jetpack--contact-form--border-size);
285 border-radius: var(--jetpack--contact-form--border-radius);
286 background-color: var(--jetpack--contact-form--input-background);
287 color: var(--jetpack--contact-form--text-color);
288 font-size: var(--jetpack--contact-form--font-size);
289 font-family: var(--jetpack--contact-form--font-family);
290 line-height: var(--jetpack--contact-form--line-height);
291 padding: var(--jetpack--contact-form--input-padding);
292 }
293
294 .contact-form .contact-form-dropdown__button.ui-button .ui-selectmenu-icon.ui-icon {
295 background: none;
296 }
297
298 .contact-form .contact-form-dropdown__button .ui-selectmenu-icon,
299 .contact-form .contact-form-dropdown__button.ui-selectmenu-button-open .ui-selectmenu-icon {
300 width: 0.8em;
301 height: 0.8em;
302 position: relative;
303 display: flex;
304 align-items: center;
305 justify-content: center;
306 box-sizing: border-box;
307 border: 2px solid transparent;
308 overflow: visible;
309 margin-right: 4px;
310 }
311
312 .contact-form .contact-form-dropdown__button .ui-selectmenu-icon::after {
313 content: "";
314 display: block;
315 box-sizing: border-box;
316 width: 100%;
317 height: 100%;
318 border-bottom: 2px solid;
319 border-right: 2px solid;
320 transform: rotate(45deg);
321 margin-top: -5px;
322 transition: all 0.2s ease-in-out;
323 }
324
325 .contact-form .contact-form-dropdown__button.ui-selectmenu-button-open .ui-selectmenu-icon::after {
326 transform: rotate(225deg);
327 margin-top: 8px;
328 }
329 .contact-form .contact-form-dropdown__menu {
330 z-index: 1;
331 }
332
333 .contact-form .contact-form-dropdown__menu ul.ui-menu {
334 border: var(--jetpack--contact-form--border);
335 border-color: var(--jetpack--contact-form--border-color);
336 border-style: var(--jetpack--contact-form--border-style);
337 border-width: var(--jetpack--contact-form--border-size);
338 border-radius: var(--jetpack--contact-form--border-radius);
339 background-color: var(--jetpack--contact-form--input-background-fallback);
340 color: var(--jetpack--contact-form--text-color);
341 font-size: var(--jetpack--contact-form--font-size);
342 font-family: var(--jetpack--contact-form--font-family);
343 max-height: 230px;
344 overflow: auto;
345 padding: 0;
346 line-height: normal;
347 box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
348 list-style: none;
349 margin: 0;
350 }
351
352 .contact-form .contact-form-dropdown__menu .ui-menu-item {
353 margin: 0;
354 }
355
356 .contact-form .contact-form-dropdown__menu .ui-menu {
357 margin-top: 8px;
358 }
359
360 .contact-form .contact-form-dropdown__menu .ui-menu .ui-menu-item-wrapper {
361 padding: var(--jetpack--contact-form--input-padding);
362 }
363
364 .contact-form .contact-form-dropdown__menu .ui-menu .ui-menu-item-wrapper.ui-state-active {
365 position: relative;
366 border: none;
367 color: var(--jetpack--contact-form--input-background-fallback);
368 background-color: var(--jetpack--contact-form--text-color);
369 }
370
371
372 .contact-form .is-style-outlined .grunion-field-wrap:not(.grunion-field-checkbox-wrap):not(.grunion-field-consent-wrap),
373 .contact-form .is-style-animated .grunion-field-wrap:not(.grunion-field-checkbox-wrap):not(.grunion-field-consent-wrap) {
374 --notch-width: max(var(--jetpack--contact-form--input-padding-left, 16px), var(--jetpack--contact-form--border-radius));
375 position: relative;
376 display: flex;
377 flex-direction: row-reverse;
378 }
379
380 .contact-form .is-style-outlined .grunion-field-checkbox-multiple-wrap,
381 .contact-form .is-style-outlined .grunion-field-radio-wrap {
382 background-color: var(--jetpack--contact-form--input-background);
383 }
384
385 .contact-form .is-style-outlined .grunion-field-wrap .grunion-checkbox-multiple-options,
386 .contact-form .is-style-outlined .grunion-field-wrap .grunion-radio-options
387 {
388 padding: var(--jetpack--contact-form--input-padding, 16px);
389 padding-top: calc(var(--jetpack--contact-form--input-padding-top, 16px) + 4px);
390 flex-grow: 1;
391 }
392
393 .contact-form .is-style-outlined .grunion-field-wrap .notched-label {
394 position: absolute;
395 right: 0;
396 left: 0;
397 width: 100%;
398 max-width: 100%;
399 height: 100%;
400 display: flex;
401 box-sizing: border-box;
402 text-align: left;
403 pointer-events: none;
404 }
405
406 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__leading {
407 width: var(--notch-width);
408 border-radius: var(--jetpack--contact-form--border-radius);
409 border: var(--jetpack--contact-form--border);
410 border-color: var(--jetpack--contact-form--border-color);
411 border-style: var(--jetpack--contact-form--border-style);
412 border-width: var(--jetpack--contact-form--border-size);
413 border-right: none;
414 border-top-right-radius: unset;
415 border-bottom-right-radius: unset;
416 }
417
418 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__notch {
419 border-radius: unset;
420 border: var(--jetpack--contact-form--border);
421 border-color: var(--jetpack--contact-form--border-color);
422 border-style: var(--jetpack--contact-form--border-style);
423 border-width: var(--jetpack--contact-form--border-size);
424 padding: 0 4px;
425 transition: border 150ms linear;
426 }
427
428 /*
429 For some reason, when keeping the rule below together with the above selector,
430 on production builds, the attributes are being reordered, causing side-effects
431 */
432 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__notch {
433 border-left: none;
434 border-right: none;
435 }
436
437 .contact-form .is-style-outlined .grunion-field-wrap.no-label .notched-label__notch {
438 padding: 0;
439 }
440
441 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__label {
442 position: relative;
443 top: 50%;
444 transform: translateY(-50%);
445 pointer-events: none;
446 will-change: transform;
447 transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
448 margin: 0;
449 font-weight: 300;
450 }
451
452 .contact-form .is-style-outlined .grunion-field-textarea-wrap .notched-label .notched-label__label {
453 top: var(--jetpack--contact-form--input-padding-top, 16px);
454 transform: unset;
455 }
456
457 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__trailing {
458 flex-grow: 1;
459 border-radius: var(--jetpack--contact-form--border-radius);
460 border: var(--jetpack--contact-form--border);
461 border-color: var(--jetpack--contact-form--border-color);
462 border-style: var(--jetpack--contact-form--border-style);
463 border-width: var(--jetpack--contact-form--border-size);
464 border-left: none;
465 border-top-left-radius: unset;
466 border-bottom-left-radius: unset;
467 }
468
469 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:focus ~ .notched-label .notched-label__notch,
470 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .notched-label .notched-label__notch,
471 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field.has-placeholder ~ .notched-label .notched-label__notch,
472 .contact-form .is-style-outlined .grunion-field-wrap .grunion-checkbox-multiple-options ~ .notched-label .notched-label__notch,
473 .contact-form .is-style-outlined .grunion-field-wrap .grunion-radio-options ~ .notched-label .notched-label__notch
474 {
475 border-top-color: transparent;
476 }
477
478 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:focus ~ .notched-label .notched-label__label,
479 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .notched-label .notched-label__label,
480 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field.has-placeholder ~ .notched-label .notched-label__label,
481 .contact-form .is-style-outlined .grunion-field-wrap .grunion-checkbox-multiple-options ~ .notched-label .notched-label__label,
482 .contact-form .is-style-outlined .grunion-field-wrap .grunion-radio-options ~ .notched-label .notched-label__label
483 {
484 top: calc(var(--jetpack--contact-form--border-size) * -1);
485 transform: translateY(-50%);
486 font-size: 0.8em;
487 }
488
489 .contact-form .is-style-outlined .grunion-field-wrap > input,
490 .contact-form .is-style-outlined .grunion-field-wrap > textarea,
491 .contact-form .is-style-outlined .grunion-field-wrap .contact-form-dropdown__button
492 {
493 border-color: transparent !important; /* Need to override styles coming from the style attribute*/
494 outline: none;
495 padding-left: calc(var(--notch-width) + 4px);
496 padding-right: calc(var(--notch-width) + 4px);
497 }
498
499 .contact-form .is-style-outlined .grunion-field-wrap textarea {
500 padding: var(--jetpack--contact-form--input-padding, 16px);
501 padding-left: calc(var(--notch-width) + 4px);
502 padding-right: calc(var(--notch-width) + 4px);
503 }
504
505 .contact-form .is-style-outlined .contact-form-dropdown__menu .ui-menu-item-wrapper {
506 padding-left: calc(var(--notch-width) + 4px);
507 padding-right: calc(var(--notch-width) + 4px);
508 }
509
510 .contact-form .is-style-animated .grunion-field-wrap {
511 --left-offset: calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));
512 --label-left: max(var(--left-offset), var(--jetpack--contact-form--border-radius));
513 --field-padding: calc(var(--label-left) - var(--jetpack--contact-form--border-size));
514 }
515
516 .contact-form .is-style-animated .grunion-field-wrap input {
517 outline: none;
518 }
519
520 .contact-form .is-style-animated .grunion-field-wrap textarea {
521 padding: var(--jetpack--contact-form--input-padding, 16px);
522 outline: none;
523 }
524
525 .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) > input,
526 .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) > textarea,
527 .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) .contact-form-dropdown__button
528 {
529 padding-top: 1.4em;
530 padding-left: var(--field-padding);
531 padding-right: var(--field-padding);
532 }
533
534 .contact-form .is-style-animated .grunion-field-wrap .contact-form-dropdown__menu .ui-menu-item-wrapper {
535 padding-left: var(--field-padding);
536 padding-right: var(--field-padding);
537 }
538
539 .contact-form .is-style-animated .grunion-field-checkbox-multiple-wrap,
540 .contact-form .is-style-animated .grunion-field-radio-wrap {
541 background-color: var(--jetpack--contact-form--input-background);
542 }
543
544 .contact-form .is-style-animated .grunion-field-checkbox-multiple-wrap .grunion-checkbox-multiple-options,
545 .contact-form .is-style-animated .grunion-field-radio-wrap .grunion-radio-options {
546 padding-bottom: var(--jetpack--contact-form--input-padding, 16px);
547 padding-top: 1.8em;
548 flex-grow: 1
549 }
550
551 .contact-form .is-style-animated .grunion-field-wrap .animated-label__label {
552 position: absolute;
553 top: 50%;
554 left: var(--label-left);
555 width: 100%;
556 max-width: 100%;
557 box-sizing: border-box;
558 pointer-events: none;
559 margin: 0;
560 transform: translateY(-50%);
561 transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
562 }
563
564 .contact-form .is-style-animated .grunion-field-textarea-wrap .animated-label__label {
565 transform: unset;
566 top: var(--jetpack--contact-form--input-padding-top, 16px);
567 }
568
569 .contact-form .is-style-animated .grunion-field-wrap .grunion-field:focus ~ .animated-label__label,
570 .contact-form .is-style-animated .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .animated-label__label,
571 .contact-form .is-style-animated .grunion-field-wrap .grunion-field.has-placeholder ~ .animated-label__label
572 {
573 font-size: 0.75em;
574 transform: translateY(0);
575 top: calc(2px + var(--jetpack--contact-form--border-size));
576 }
577
578 .contact-form .is-style-animated .grunion-field-wrap .grunion-checkbox-multiple-options ~ .animated-label__label,
579 .contact-form .is-style-animated .grunion-field-wrap .grunion-radio-options ~ .animated-label__label {
580 top: 0;
581 left: 0;
582 transform: translateY(0);
583 }
584
585 .contact-form .is-style-below .grunion-field-wrap .below-label__label {
586 margin-left: var(--jetpack--contact-form--border-size);
587 }
588