PluginProbe ʕ •ᴥ•ʔ
Jetpack – WP Security, Backup, Speed, & Growth / 12.7.3
Jetpack – WP Security, Backup, Speed, & Growth v12.7.3
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 2 years ago editor-inline-editing-style-rtl.min.css 2 years ago editor-inline-editing-style.css 3 years ago editor-inline-editing-style.min.css 2 years ago editor-style-rtl.css 2 years ago editor-style-rtl.min.css 2 years ago editor-style.css 3 years ago editor-style.min.css 2 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
603 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 /*
64 On Grunion Forms, the regular HTML select is replaced by a custom select by jQuery UI.
65 To keep the required validation working the select can't be 'display: none'
66 This solution will keep the select hidden without using 'display: none'
67 */
68 .contact-form .contact-form-dropdown[aria-hidden="true"] {
69 position: absolute;
70 z-index: -1;
71 width: 100%;
72 display: block !important;
73 opacity: 0;
74 pointer-events: none;
75 }
76
77 .contact-form :where(input[type='radio'], input[type='checkbox']) {
78 width: 1rem;
79 height: 1rem;
80 float: none;
81 }
82
83 .contact-form input[type='radio'],
84 .contact-form input[type='checkbox'] {
85 margin: 0 0.75rem 0 0;
86 }
87
88 .contact-form input[type='checkbox'] {
89 top: 0;
90 margin-left: 0;
91 }
92
93 .contact-form label {
94 margin-bottom: 0.25em;
95 float: none;
96 font-weight: bold;
97 display: block;
98 }
99
100 .contact-form label.consent {
101 font-size: 13px;
102 font-weight: normal;
103 text-transform: uppercase;
104 display: flex;
105 align-items: center;
106 }
107
108 .contact-form label.consent-implicit input {
109 display: none;
110 }
111
112 .contact-form label.checkbox,
113 .contact-form label.checkbox-multiple,
114 .contact-form label.radio {
115 margin-bottom: 0;
116 float: none;
117 font-weight: normal;
118 display: inline-flex;
119 align-items: center;
120 line-height: 1;
121 }
122
123 .contact-form .grunion-checkbox-multiple-options,
124 .contact-form .grunion-radio-options {
125 display: flex;
126 flex-direction: column;
127 gap: 12px;
128 }
129
130 .contact-form label span {
131 font-size: 85%;
132 margin-left: 0.25em;
133 font-weight: normal;
134 opacity: 0.45;
135 }
136
137 .contact-form-submission {
138 margin-bottom: 4em;
139 padding: 1.5em 1em;
140 width: 100%;
141 border-top: 1px solid #000;
142 border-bottom: 1px solid #000;
143 }
144
145 .contact-form-submission p {
146 margin: 0 auto;
147 word-wrap: break-word;
148 }
149
150 .contact-form-submission h4 {
151 margin-top: 32px;
152 margin-bottom: 32px;
153 font-weight: 200;
154 }
155
156 .contact-form-submission .go-back-message {
157 margin-top: 20px;
158 margin-bottom: 32px;
159 text-align: left;
160 }
161
162 .contact-form-submission .go-back-message .link {
163 font-weight: 200;
164 color: #000;
165 }
166
167 .contact-form-submission .field-name {
168 font-weight: 200;
169 }
170
171 .contact-form-submission .field-value {
172 margin-bottom: 20px;
173 font-weight: 600;
174 }
175
176 .form-errors .form-error-message {
177 color: red;
178 }
179
180 .textwidget .contact-form input[type='text'],
181 .textwidget .contact-form input[type='email'],
182 .textwidget .contact-form input[type='tel'],
183 .textwidget .contact-form input[type='url'],
184 .textwidget .contact-form textarea,
185 .wp-block-column .contact-form input[type='text'],
186 .wp-block-column .contact-form input[type='email'],
187 .wp-block-column .contact-form input[type='tel'],
188 .wp-block-column .contact-form input[type='url'],
189 .wp-block-column .contact-form textarea {
190 width: 100%;
191 }
192
193 #jetpack-check-feedback-spam {
194 margin: 1px 8px 0px 0px;
195 }
196
197 .jetpack-check-feedback-spam-spinner {
198 display: inline-block;
199 margin-top: 7px;
200 }
201
202 .wp-block-jetpack-contact-form {
203 display: flex;
204 flex-wrap: wrap;
205 justify-content: flex-start;
206 flex-direction: row;
207 flex-grow: 1;
208 gap: var(--wp--style--block-gap, 1.5rem);
209 }
210
211 .wp-block-jetpack-contact-form > * {
212 flex: 0 0 100%;
213 box-sizing: border-box;
214 }
215
216 /* Added circa Nov 2022: container class assigned to topmost block div */
217 .wp-block-jetpack-contact-form-container.alignfull .wp-block-jetpack-contact-form {
218 padding-right: 0;
219 padding-left: 0;
220 }
221
222 .wp-block-jetpack-button.alignright button {
223 float: right;
224 }
225
226 .wp-block-jetpack-contact-form .grunion-field-wrap {
227 box-sizing: border-box;
228 position: relative;
229 }
230
231 .wp-block-jetpack-contact-form .grunion-field-width-25-wrap {
232 flex: 1 1 calc( 25% - calc(var(--wp--style--block-gap, 1.5rem) * 1) );
233 max-width: 25%;
234 }
235
236 .wp-block-jetpack-contact-form .grunion-field-width-50-wrap {
237 flex: 1 1 calc( 50% - calc(var(--wp--style--block-gap, 1.5rem) * 1) );
238 max-width: 50%;
239 }
240
241 .wp-block-jetpack-contact-form .grunion-field-width-75-wrap {
242 flex: 1 1 calc( 75% - calc(var(--wp--style--block-gap, 1.5rem) * 1) );
243 max-width: 75%;
244 }
245
246 .grunion-field-checkbox-wrap,
247 .grunion-field-consent-wrap {
248 align-self: center;
249 }
250
251 @media only screen and ( min-width: 600px ) {
252 .contact-form input[type='text'],
253 .contact-form input[type='email'],
254 .contact-form input[type='tel'],
255 .contact-form input[type='url'] {
256 width: 50%;
257 }
258
259 /****
260 * Older users keep the 50% width to avoid breaking
261 * designs, but newer users using the contact
262 * form block get 100% width.
263 */
264 .wp-block-jetpack-contact-form input[type='text'],
265 .wp-block-jetpack-contact-form input[type='email'],
266 .wp-block-jetpack-contact-form input[type='tel'],
267 .wp-block-jetpack-contact-form input[type='url'] {
268 width: 100%;
269 }
270 }
271
272 /** For the "Empty Spam" button on /wp-admin/edit.php?post_status=spam&post_type=feedback **/
273 .jetpack-empty-spam-container {
274 display: inline-block;
275 }
276 .jetpack-empty-spam {
277 display: inline-block;
278 }
279 .jetpack-empty-spam-spinner {
280 display: inline-block;
281 margin-top: 7px;
282 }
283
284 /* Make sure the set height of the Spacer block nested inside the Contact Form block is respected */
285 .wp-block-jetpack-contact-form .wp-block-spacer {
286 width: 100%;
287 }
288
289 .contact-form .contact-form-dropdown__button.ui-button {
290 width: 100%;
291 box-sizing: border-box;
292 display: flex;
293 align-items: center;
294 flex-direction: row-reverse;
295 justify-content: space-between;
296 border: var(--jetpack--contact-form--border);
297 border-color: var(--jetpack--contact-form--border-color);
298 border-style: var(--jetpack--contact-form--border-style);
299 border-width: var(--jetpack--contact-form--border-size);
300 border-radius: var(--jetpack--contact-form--border-radius);
301 background-color: var(--jetpack--contact-form--input-background);
302 color: var(--jetpack--contact-form--text-color);
303 font-size: var(--jetpack--contact-form--font-size);
304 font-family: var(--jetpack--contact-form--font-family);
305 line-height: var(--jetpack--contact-form--line-height);
306 padding: var(--jetpack--contact-form--input-padding);
307 }
308
309 .contact-form .contact-form-dropdown__button.ui-button .ui-selectmenu-icon.ui-icon {
310 background: none;
311 }
312
313 .contact-form .contact-form-dropdown__button .ui-selectmenu-icon,
314 .contact-form .contact-form-dropdown__button.ui-selectmenu-button-open .ui-selectmenu-icon {
315 width: 0.8em;
316 height: 0.8em;
317 position: relative;
318 display: flex;
319 align-items: center;
320 justify-content: center;
321 box-sizing: border-box;
322 border: 2px solid transparent;
323 overflow: visible;
324 margin-right: 4px;
325 }
326
327 .contact-form .contact-form-dropdown__button .ui-selectmenu-icon::after {
328 content: "";
329 display: block;
330 box-sizing: border-box;
331 width: 100%;
332 height: 100%;
333 border-bottom: 2px solid;
334 border-right: 2px solid;
335 transform: rotate(45deg);
336 margin-top: -5px;
337 transition: all 0.2s ease-in-out;
338 }
339
340 .contact-form .contact-form-dropdown__button.ui-selectmenu-button-open .ui-selectmenu-icon::after {
341 transform: rotate(225deg);
342 margin-top: 8px;
343 }
344 .contact-form .contact-form-dropdown__menu {
345 z-index: 1;
346 }
347
348 .contact-form .contact-form-dropdown__menu ul.ui-menu {
349 border: var(--jetpack--contact-form--border);
350 border-color: var(--jetpack--contact-form--border-color);
351 border-style: var(--jetpack--contact-form--border-style);
352 border-width: var(--jetpack--contact-form--border-size);
353 border-radius: var(--jetpack--contact-form--border-radius);
354 background-color: var(--jetpack--contact-form--input-background-fallback);
355 color: var(--jetpack--contact-form--text-color);
356 font-size: var(--jetpack--contact-form--font-size);
357 font-family: var(--jetpack--contact-form--font-family);
358 max-height: 230px;
359 overflow: auto;
360 padding: 0;
361 line-height: normal;
362 box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
363 list-style: none;
364 margin: 0;
365 }
366
367 .contact-form .contact-form-dropdown__menu .ui-menu-item {
368 margin: 0;
369 }
370
371 .contact-form .contact-form-dropdown__menu .ui-menu {
372 margin-top: 8px;
373 }
374
375 .contact-form .contact-form-dropdown__menu .ui-menu .ui-menu-item-wrapper {
376 padding: var(--jetpack--contact-form--input-padding);
377 }
378
379 .contact-form .contact-form-dropdown__menu .ui-menu .ui-menu-item-wrapper.ui-state-active {
380 position: relative;
381 border: none;
382 color: var(--jetpack--contact-form--input-background-fallback);
383 background-color: var(--jetpack--contact-form--text-color);
384 }
385
386
387 .contact-form .is-style-outlined .grunion-field-wrap:not(.grunion-field-checkbox-wrap):not(.grunion-field-consent-wrap),
388 .contact-form .is-style-animated .grunion-field-wrap:not(.grunion-field-checkbox-wrap):not(.grunion-field-consent-wrap) {
389 --notch-width: max(var(--jetpack--contact-form--input-padding-left, 16px), var(--jetpack--contact-form--border-radius));
390 position: relative;
391 display: flex;
392 flex-direction: row-reverse;
393 }
394
395 .contact-form .is-style-outlined .grunion-field-checkbox-multiple-wrap,
396 .contact-form .is-style-outlined .grunion-field-radio-wrap {
397 background-color: var(--jetpack--contact-form--input-background);
398 }
399
400 .contact-form .is-style-outlined .grunion-field-wrap .grunion-checkbox-multiple-options,
401 .contact-form .is-style-outlined .grunion-field-wrap .grunion-radio-options
402 {
403 padding: var(--jetpack--contact-form--input-padding, 16px);
404 padding-top: calc(var(--jetpack--contact-form--input-padding-top, 16px) + 4px);
405 flex-grow: 1;
406 }
407
408 .contact-form .is-style-outlined .grunion-field-wrap .notched-label {
409 position: absolute;
410 right: 0;
411 left: 0;
412 width: 100%;
413 max-width: 100%;
414 height: 100%;
415 display: flex;
416 box-sizing: border-box;
417 text-align: left;
418 pointer-events: none;
419 }
420
421 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__leading {
422 width: var(--notch-width);
423 border-radius: var(--jetpack--contact-form--border-radius);
424 border: var(--jetpack--contact-form--border);
425 border-color: var(--jetpack--contact-form--border-color);
426 border-style: var(--jetpack--contact-form--border-style);
427 border-width: var(--jetpack--contact-form--border-size);
428 border-right: none;
429 border-top-right-radius: unset;
430 border-bottom-right-radius: unset;
431 }
432
433 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__notch {
434 border-radius: unset;
435 border: var(--jetpack--contact-form--border);
436 border-color: var(--jetpack--contact-form--border-color);
437 border-style: var(--jetpack--contact-form--border-style);
438 border-width: var(--jetpack--contact-form--border-size);
439 padding: 0 4px;
440 transition: border 150ms linear;
441 }
442
443 /*
444 For some reason, when keeping the rule below together with the above selector,
445 on production builds, the attributes are being reordered, causing side-effects
446 */
447 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__notch {
448 border-left: none;
449 border-right: none;
450 }
451
452 .contact-form .is-style-outlined .grunion-field-wrap.no-label .notched-label__notch {
453 padding: 0;
454 }
455
456 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__label {
457 position: relative;
458 top: 50%;
459 transform: translateY(-50%);
460 pointer-events: none;
461 will-change: transform;
462 transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
463 margin: 0;
464 font-weight: 300;
465 }
466
467 .contact-form .is-style-outlined .grunion-field-textarea-wrap .notched-label .notched-label__label {
468 top: var(--jetpack--contact-form--input-padding-top, 16px);
469 transform: unset;
470 }
471
472 .contact-form .is-style-outlined .grunion-field-wrap .notched-label .notched-label__trailing {
473 flex-grow: 1;
474 border-radius: var(--jetpack--contact-form--border-radius);
475 border: var(--jetpack--contact-form--border);
476 border-color: var(--jetpack--contact-form--border-color);
477 border-style: var(--jetpack--contact-form--border-style);
478 border-width: var(--jetpack--contact-form--border-size);
479 border-left: none;
480 border-top-left-radius: unset;
481 border-bottom-left-radius: unset;
482 }
483
484 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:focus ~ .notched-label .notched-label__notch,
485 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .notched-label .notched-label__notch,
486 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field.has-placeholder ~ .notched-label .notched-label__notch,
487 .contact-form .is-style-outlined .grunion-field-wrap .grunion-checkbox-multiple-options ~ .notched-label .notched-label__notch,
488 .contact-form .is-style-outlined .grunion-field-wrap .grunion-radio-options ~ .notched-label .notched-label__notch
489 {
490 border-top-color: transparent;
491 }
492
493 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:focus ~ .notched-label .notched-label__label,
494 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .notched-label .notched-label__label,
495 .contact-form .is-style-outlined .grunion-field-wrap .grunion-field.has-placeholder ~ .notched-label .notched-label__label,
496 .contact-form .is-style-outlined .grunion-field-wrap .grunion-checkbox-multiple-options ~ .notched-label .notched-label__label,
497 .contact-form .is-style-outlined .grunion-field-wrap .grunion-radio-options ~ .notched-label .notched-label__label
498 {
499 top: calc(var(--jetpack--contact-form--border-size) * -1);
500 transform: translateY(-50%);
501 font-size: 0.8em;
502 }
503
504 .contact-form .is-style-outlined .grunion-field-wrap > input,
505 .contact-form .is-style-outlined .grunion-field-wrap > textarea,
506 .contact-form .is-style-outlined .grunion-field-wrap .contact-form-dropdown__button
507 {
508 border-color: transparent !important; /* Need to override styles coming from the style attribute*/
509 outline: none;
510 padding-left: calc(var(--notch-width) + 4px);
511 padding-right: calc(var(--notch-width) + 4px);
512 }
513
514 .contact-form .is-style-outlined .grunion-field-wrap textarea {
515 padding: var(--jetpack--contact-form--input-padding, 16px);
516 padding-left: calc(var(--notch-width) + 4px);
517 padding-right: calc(var(--notch-width) + 4px);
518 }
519
520 .contact-form .is-style-outlined .contact-form-dropdown__menu .ui-menu-item-wrapper {
521 padding-left: calc(var(--notch-width) + 4px);
522 padding-right: calc(var(--notch-width) + 4px);
523 }
524
525 .contact-form .is-style-animated .grunion-field-wrap {
526 --left-offset: calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));
527 --label-left: max(var(--left-offset), var(--jetpack--contact-form--border-radius));
528 --field-padding: calc(var(--label-left) - var(--jetpack--contact-form--border-size));
529 }
530
531 .contact-form .is-style-animated .grunion-field-wrap input {
532 outline: none;
533 }
534
535 .contact-form .is-style-animated .grunion-field-wrap textarea {
536 padding: var(--jetpack--contact-form--input-padding, 16px);
537 outline: none;
538 }
539
540 .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) > input,
541 .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) > textarea,
542 .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) .contact-form-dropdown__button
543 {
544 padding-top: 1.4em;
545 padding-left: var(--field-padding);
546 padding-right: var(--field-padding);
547 }
548
549 .contact-form .is-style-animated .grunion-field-wrap .contact-form-dropdown__menu .ui-menu-item-wrapper {
550 padding-left: var(--field-padding);
551 padding-right: var(--field-padding);
552 }
553
554 .contact-form .is-style-animated .grunion-field-checkbox-multiple-wrap,
555 .contact-form .is-style-animated .grunion-field-radio-wrap {
556 background-color: var(--jetpack--contact-form--input-background);
557 }
558
559 .contact-form .is-style-animated .grunion-field-checkbox-multiple-wrap .grunion-checkbox-multiple-options,
560 .contact-form .is-style-animated .grunion-field-radio-wrap .grunion-radio-options {
561 padding-bottom: var(--jetpack--contact-form--input-padding, 16px);
562 padding-top: 1.8em;
563 flex-grow: 1
564 }
565
566 .contact-form .is-style-animated .grunion-field-wrap .animated-label__label {
567 position: absolute;
568 top: 50%;
569 left: var(--label-left);
570 width: 100%;
571 max-width: 100%;
572 box-sizing: border-box;
573 pointer-events: none;
574 margin: 0;
575 transform: translateY(-50%);
576 transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
577 }
578
579 .contact-form .is-style-animated .grunion-field-textarea-wrap .animated-label__label {
580 transform: unset;
581 top: var(--jetpack--contact-form--input-padding-top, 16px);
582 }
583
584 .contact-form .is-style-animated .grunion-field-wrap .grunion-field:focus ~ .animated-label__label,
585 .contact-form .is-style-animated .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .animated-label__label,
586 .contact-form .is-style-animated .grunion-field-wrap .grunion-field.has-placeholder ~ .animated-label__label
587 {
588 font-size: 0.75em;
589 transform: translateY(0);
590 top: calc(2px + var(--jetpack--contact-form--border-size));
591 }
592
593 .contact-form .is-style-animated .grunion-field-wrap .grunion-checkbox-multiple-options ~ .animated-label__label,
594 .contact-form .is-style-animated .grunion-field-wrap .grunion-radio-options ~ .animated-label__label {
595 top: 0;
596 left: 0;
597 transform: translateY(0);
598 }
599
600 .contact-form .is-style-below .grunion-field-wrap .below-label__label {
601 margin-left: var(--jetpack--contact-form--border-size);
602 }
603