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