PluginProbe
Contact Forms by Cimatti / trunk
Contact Forms by Cimatti vtrunk
2.3.6 2.3.5 2.3.0 2.2.32 2.2.4 2.2.0 2.1.2 2.1.1 trunk 1.0 1.1 1.2 1.2.1 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 All 62 releases
contact-forms / assets / css / admin.css

admin.css in Contact Forms by Cimatti trunk, at assets/css/admin.css

1,573 lines 42.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Modern accessible admin styles */
2
3 /* Hide duplicate h2 inside tokens list when already wrapped in a postbox */
4 .postbox .accua_forms_token_list > h2 {
5 display: none;
6 }
7
8 /* Form edit page: title field (mirrors WP core #poststuff #titlediv styling) */
9 #accua_forms_edit_page #titlediv {
10 margin-top: 10px;
11 margin-bottom: 20px;
12 }
13
14 #accua_forms_edit_page #titlediv #title {
15 padding: 3px 8px;
16 font-size: 1.7em;
17 line-height: 100%;
18 height: 1.7em;
19 width: 100%;
20 outline: none;
21 margin: 0;
22 background-color: #fff;
23 }
24
25 /* ==========================================================================
26 Widget Accordion Animation (form field editor)
27 Uses CSS transitions instead of jQuery slideDown/slideUp for smoother UX
28 ========================================================================== */
29
30 /* Widget-inside: collapsed state (default) - use display:none like original */
31 #accua_forms_edit_page #widgets-right .widget .widget-inside {
32 display: none;
33 }
34
35 /* Widget-inside: expanded state (.open class on parent .widget) */
36 #accua_forms_edit_page #widgets-right .widget.open .widget-inside {
37 display: block;
38 }
39
40 /* Rotate caret icon when widget is open */
41 #accua_forms_edit_page #widgets-right .widget.open a.widget-action:after {
42 transform: rotate(90deg);
43 }
44
45 /* Respect reduced motion preference for accessibility */
46 @media (prefers-reduced-motion: reduce) {
47 #accua_forms_edit_page #widgets-right a.widget-action:after {
48 transition: none;
49 }
50 }
51
52 input[type="text"].accua_form_value, textarea.accua_form_value {
53 width: 95%;
54 margin-right: 5%;
55 }
56
57
58 #accua_forms_edit_page .sidebar-name-arrow {
59 display: none !important;
60 }
61
62 #accua_forms_edit_page .widget-control-actions br.clear {
63 display: none;
64 }
65 /*
66 #accua_forms_edit_page #widgets-left .widget-holder, #accua_forms_edit_page #widgets-right .widgets-sortables {
67 overflow-y: scroll !important;
68 overflow-x: hidden !important;
69 height: 400px;
70 min-height: 400px;
71 }*/
72
73 #accua_forms_edit_page .widget-liquid-left {
74 width: 100% !important;
75 }
76
77 #accua_forms_edit_page #widgets-left .widget {
78 width: 98% !important;
79 margin-bottom: 7px !important;
80 float: none !important;
81 }
82
83 .accua-form-widget-scroll-wrapper {
84 width: 100% !important;
85 }
86
87 .accua-form-widget-scroll-wrapper .ui-resizable-handle, #accua_form_preview_area_wrapper .ui-resizable-handle {
88 background: #ddd;
89 bottom: -10px;
90 height: 7px;
91 border-radius: 3px;
92 }
93
94 .accua-form-widget-scroll-wrapper.ui-resizable > *:first-child {
95 /*min-height: auto !important;
96 height: 100% !important;
97 max-height: none !important;*/
98 width: auto !important;
99 /*overflow-y: scroll !important;
100 overflow-x: hidden !important;*/
101 margin: 0 !important;
102 padding: 0 !important;
103 }
104
105 .accua-form-widget-scroll-wrapper > *:first-child p.description {
106 padding-top: 5px;
107 }
108
109 /* Widget header - flex layout for proper centering */
110 #accua_forms_edit_page #widgets-right .widget-top {
111 display: flex;
112 align-items: center;
113 }
114
115 #accua_forms_edit_page #widgets-right .widget-title-action {
116 position: static;
117 order: 2;
118 display: flex;
119 align-items: center;
120 height: auto;
121 flex-shrink: 0;
122 }
123
124 #accua_forms_edit_page #widgets-right .widget-title {
125 flex: 1;
126 min-width: 0;
127 order: 1;
128 }
129
130 /* Widget toggle button */
131 #accua_forms_edit_page #widgets-right a.widget-action {
132 position: static;
133 display: flex;
134 align-items: center;
135 justify-content: center;
136 width: 2.5rem;
137 color: #555d66;
138 text-decoration: none;
139 box-shadow: none;
140 outline: none;
141 }
142
143 #accua_forms_edit_page #widgets-right a.widget-action:hover,
144 #accua_forms_edit_page #widgets-right a.widget-action:focus,
145 #accua_forms_edit_page #widgets-right a.widget-action:active {
146 color: #23282d;
147 text-decoration: none;
148 box-shadow: none;
149 }
150
151 #accua_forms_edit_page #widgets-right a.widget-action:after {
152 content: "\f140";
153 font: 400 1.25rem/1 dashicons;
154 -webkit-font-smoothing: antialiased;
155 -moz-osx-font-smoothing: grayscale;
156 }
157
158 #accua_forms_edit_page #widgets-right a.widget-action:focus:after {
159 box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
160 border-radius: 50%;
161 }
162
163 /* Add field button (+) in available fields list */
164 #accua_forms_edit_page #widget-list .widget-title-action {
165 position: static;
166 display: flex;
167 align-items: center;
168 height: auto;
169 order: 2;
170 flex-shrink: 0;
171 }
172
173 #accua_forms_edit_page #widget-list .widget-top {
174 display: flex;
175 align-items: center;
176 }
177
178 #accua_forms_edit_page #widget-list .widget-title {
179 flex: 1;
180 min-width: 0;
181 order: 1;
182 }
183
184 /* Hide expand caret in available fields list (not needed there) */
185 #accua_forms_edit_page #widget-list a.widget-action {
186 display: none;
187 }
188
189 #accua_forms_edit_page #widget-list a.widget-add-action {
190 display: flex;
191 align-items: center;
192 justify-content: center;
193 width: 2.5rem;
194 color: #50575e;
195 text-decoration: none;
196 box-shadow: none;
197 outline: none;
198 }
199
200 #accua_forms_edit_page #widget-list a.widget-add-action:hover,
201 #accua_forms_edit_page #widget-list a.widget-add-action:focus {
202 color: #135e96;
203 }
204
205 #accua_forms_edit_page #widget-list a.widget-add-action:after {
206 content: "\f502";
207 font: 400 1.25rem/1 dashicons;
208 -webkit-font-smoothing: antialiased;
209 -moz-osx-font-smoothing: grayscale;
210 }
211
212 #accua_forms_edit_page #widget-list a.widget-add-action:focus:after {
213 box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
214 border-radius: 50%;
215 }
216
217 #accua_forms_edit_page .sidebar-name {
218 cursor: auto !important;
219 }
220
221
222 /* ==========================================================================
223 Tab component
224 ========================================================================== */
225
226 /* --- Shared base --- */
227
228 .accua-tabs:not(.is-initialized) > .accua-tabs__panel:not(:first-of-type) {
229 display: none;
230 }
231
232 /* High-specificity hide: prevent flash of customise/other panels before JS initializes */
233 #accua_forms_edit_page #accua_tabs:not(.is-initialized) > .accua-tabs__panel:not(:first-of-type) {
234 display: none !important;
235 }
236
237 .accua-tabs__panel[hidden] {
238 display: none !important;
239 }
240
241 .accua-tabs__tablist {
242 display: flex;
243 margin: 0;
244 padding: 0;
245 }
246
247 .accua-tabs__tab {
248 background: none;
249 border: none;
250 cursor: pointer;
251 font-family: inherit;
252 font-size: 13px;
253 line-height: 1.4;
254 white-space: nowrap;
255 transition: color 0.15s ease, background-color 0.15s ease;
256 }
257
258 .accua-tabs__tab:focus-visible {
259 outline: 2px solid var(--wp-admin-theme-color, #3858e9);
260 outline-offset: -2px;
261 border-radius: 2px;
262 }
263
264 /* --- Primary variant (outer/main tabs) - underline indicator --- */
265
266 .accua-tabs--primary > .accua-tabs__tablist,
267 .accua-tabs--primary > .accua-tabs__header > .accua-tabs__tablist {
268 border-bottom: 1px solid #c3c4c7;
269 gap: 0;
270 }
271
272 .accua-tabs--primary .accua-tabs__tab {
273 padding: 12px 16px;
274 color: #50575e;
275 font-weight: 400;
276 border-bottom: 2px solid transparent;
277 margin-bottom: -1px;
278 }
279
280 .accua-tabs--primary .accua-tabs__tab:hover {
281 color: var(--wp-admin-theme-color, #3858e9);
282 }
283
284 .accua-tabs--primary .accua-tabs__tab[aria-selected="true"] {
285 color: #1d2327;
286 font-weight: 600;
287 border-bottom-color: var(--wp-admin-theme-color, #3858e9);
288 }
289
290 .accua-tabs--primary > .accua-tabs__panel, #accua_form_preview_pane {
291 padding: 1rem 0;
292 }
293
294 /* Form builder utility rules */
295 #accua_form_use_ajax .accua_form_value {
296 margin-right: 6px;
297 }
298
299 #accua_form_use_ajax label {
300 cursor: pointer;
301 }
302
303 #accua_form_use_ajax, #accua_form_layout {
304 clear: both;
305 line-height: 25px;
306 }
307
308 #accua_form_layout {
309 margin-bottom: 9px;
310 }
311
312 #accua_form_layout select {
313 display: block;
314 margin-top: 4px;
315 margin-left: 0;
316 width: 100%;
317 max-width: 280px;
318 }
319
320 #accua_forms_edit_page {
321 --fields-col-height: calc(100vh - 200px);
322 }
323
324 #accua_forms_edit_page #accua_tabs {
325 position: relative;
326 margin-top: 20px;
327 display: grid;
328 grid-template-columns: 1fr 1fr;
329 gap: 0 16px;
330 }
331
332 /* 3-column grid when Fields tab is active - preview is 50% of total width */
333 #accua_forms_edit_page #accua_tabs:has(> [data-tab="fields"]:not([hidden])) {
334 grid-template-columns: 3fr 7fr calc(50% - 8px);
335 }
336
337 /* Tablist header spans full width */
338 #accua_forms_edit_page #accua_tabs > .accua-tabs__header {
339 grid-column: 1 / -1;
340 }
341
342 /* Panels fill column 1 by default */
343 #accua_forms_edit_page #accua_tabs > .accua-tabs__panel {
344 grid-column: 1;
345 grid-row: 2;
346 }
347
348 /* Panels without preview span all columns */
349 #accua_forms_edit_page #accua_tabs > .accua-tabs__panel[data-tab="messages"],
350 #accua_forms_edit_page #accua_tabs > .accua-tabs__panel[data-tab="retention"],
351 #accua_forms_edit_page #accua_tabs > .accua-tabs__panel[data-tab="google_ads"],
352 #accua_forms_edit_page #accua_tabs > .accua-tabs__panel[data-tab="tokens"] {
353 grid-column: 1 / -1;
354 align-content: start;
355 }
356
357 /* Fields panel: dissolve into parent grid so children become grid items */
358 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) {
359 display: contents;
360 }
361
362 /* Available fields - column 1, scrollable */
363 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) > .widget-liquid-left {
364 grid-column: 1;
365 grid-row: 2;
366 width: auto;
367 float: none;
368 min-width: 0;
369 padding-top: 1rem;
370 padding-right: 4px;
371 max-height: var(--fields-col-height);
372 overflow-y: auto;
373 overflow-x: hidden;
374 align-self: start;
375 }
376
377 /* Available fields column: link to the Fields page, under the list */
378 #accua_forms_edit_page .accua-fields-create-link {
379 margin: 10px 0 0;
380 padding: 0 4px;
381 }
382
383 /* Drop zone - column 2 */
384 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) > .widget-liquid-right {
385 grid-column: 2;
386 grid-row: 2;
387 width: auto;
388 float: none;
389 margin: 0;
390 min-width: 0;
391 padding-top: 1rem;
392 align-self: start;
393 }
394
395 /* Column titles - consistent styling across all three columns */
396 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) > .widget-liquid-left > h2,
397 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) > .widget-liquid-right h2,
398 #accua_forms_edit_page .accua-form-preview-pane > h2 {
399 margin: 0 0 12px 0;
400 padding: 0;
401 font-size: 1.3em;
402 font-weight: 600;
403 color: #1d2327;
404 line-height: 1.4;
405 }
406
407 /* Available fields filter input */
408 .accua-fields-filter {
409 display: block;
410 width: 98%;
411 padding: 10px;
412 margin-bottom: 7px;
413 font-size: 14px;
414 border: 1px solid #dcdcde;
415 border-radius: 0;
416 box-sizing: border-box;
417 background: #fff;
418 }
419
420 .accua-fields-filter:focus {
421 border-color: #2271b1;
422 box-shadow: 0 0 0 1px #2271b1;
423 outline: none;
424 }
425
426 /* Preview pane - column 3 (or 2 for non-fields tabs), scrollable */
427 #accua_forms_edit_page .accua-form-preview-pane {
428 grid-column: 2;
429 grid-row: 2;
430 min-height: 200px;
431 border-left: 1px solid #e0e0e0;
432 padding-left: 16px;
433 align-self: start;
434 }
435
436 #accua_forms_edit_page #accua_tabs:has(> [data-tab="fields"]:not([hidden])) > .accua-form-preview-pane {
437 grid-column: 3;
438 grid-row: 2;
439 }
440
441 /* 3-column grid when Appearance tab is active - preview is 50% of total width */
442 #accua_forms_edit_page #accua_tabs:has(> [data-tab="customise"]:not([hidden])) {
443 grid-template-columns: 5fr 5fr calc(50% - 8px);
444 }
445
446 #accua_forms_edit_page #accua_tabs > [data-tab="customise"]:not([hidden]) {
447 display: contents;
448 }
449
450 #accua_forms_edit_page #accua_tabs > [data-tab="customise"]:not([hidden]) > .accua-customise-columns {
451 display: contents;
452 }
453
454 #accua_forms_edit_page #accua_tabs > [data-tab="customise"]:not([hidden]) > .accua-customise-columns > .accua-style-column:first-child {
455 grid-column: 1;
456 grid-row: 2;
457 min-width: 0;
458 padding-top: 16px;
459 }
460
461 #accua_forms_edit_page #accua_tabs > [data-tab="customise"]:not([hidden]) > .accua-customise-columns > .accua-style-column:last-child {
462 grid-column: 2;
463 grid-row: 2;
464 min-width: 0;
465 padding-top: 16px;
466 }
467
468 #accua_forms_edit_page #accua_tabs:has(> [data-tab="customise"]:not([hidden])) > .accua-form-preview-pane {
469 grid-column: 3;
470 grid-row: 2;
471 }
472
473 #accua_forms_edit_page .accua-form-preview-pane[hidden] {
474 display: none;
475 }
476
477 @media screen and (max-width: 1200px) {
478 #accua_forms_edit_page #accua_tabs {
479 grid-template-columns: 1fr;
480 }
481 /* Fields tab: 2-column grid (available | inserted), preview below */
482 #accua_forms_edit_page #accua_tabs:has(> [data-tab="fields"]:not([hidden])) {
483 grid-template-columns: 3fr 7fr;
484 }
485 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) > .widget-liquid-left {
486 grid-column: 1;
487 grid-row: 2;
488 max-height: none;
489 overflow-y: visible;
490 }
491 #accua_forms_edit_page #accua_tabs > [data-tab="fields"]:not([hidden]) > .widget-liquid-right {
492 grid-column: 2;
493 grid-row: 2;
494 max-height: none;
495 overflow-y: visible;
496 }
497 /* Customise tab: 2-column grid (style cols side by side), preview below */
498 #accua_forms_edit_page #accua_tabs:has(> [data-tab="customise"]:not([hidden])) {
499 grid-template-columns: 1fr 1fr;
500 }
501 #accua_forms_edit_page #accua_tabs > [data-tab="customise"]:not([hidden]) > .accua-customise-columns > .accua-style-column:first-child {
502 grid-column: 1;
503 grid-row: 2;
504 padding-top: 16px;
505 }
506 #accua_forms_edit_page #accua_tabs > [data-tab="customise"]:not([hidden]) > .accua-customise-columns > .accua-style-column:last-child {
507 grid-column: 2;
508 grid-row: 2;
509 padding-top: 16px;
510 }
511 #accua_forms_edit_page #accua_tabs > .accua-tabs__panel {
512 grid-column: 1;
513 }
514 #accua_forms_edit_page .accua-form-preview-pane,
515 #accua_forms_edit_page #accua_tabs:has(> [data-tab="fields"]:not([hidden])) > .accua-form-preview-pane,
516 #accua_forms_edit_page #accua_tabs:has(> [data-tab="customise"]:not([hidden])) > .accua-form-preview-pane {
517 grid-column: 1 / -1;
518 grid-row: 3;
519 border-left: none;
520 padding-left: 0;
521 border-top: 1px solid #e0e0e0;
522 padding-top: 16px;
523 max-height: none;
524 overflow-y: visible;
525 }
526 }
527
528 .accua-forms-metabox-holder {
529 float: left;
530 margin-right: 2%;
531 width: 47%;
532 }
533
534
535
536 /* Delete form button - modern WordPress destructive action */
537 #accua_forms_edit_page form#delete_form input[type="submit"] {
538 background: none;
539 border: none;
540 color: #d63638;
541 cursor: pointer;
542 font-size: 13px;
543 text-decoration: none;
544 padding: 4px 8px;
545 border-radius: 2px;
546 transition: color 0.15s ease, background-color 0.15s ease;
547 }
548
549 #accua_forms_edit_page form#delete_form input[type="submit"]:hover {
550 background: #d63638;
551 color: #fff;
552 }
553
554 #accua_forms_edit_page form#delete_form input[type="submit"]:focus-visible {
555 outline: 2px solid #d63638;
556 outline-offset: 1px;
557 }
558
559 /* Tab header actions alignment */
560 .accua_tabs_actions {
561 display: flex;
562 align-items: center;
563 gap: 12px;
564 padding-right: 4px;
565 }
566
567 /* Tabs header with flexbox layout - tablist + actions side-by-side */
568 .accua-tabs__header {
569 display: flex;
570 justify-content: space-between;
571 align-items: stretch;
572 margin-bottom: 0;
573 border-bottom: 1px solid #c3c4c7;
574 }
575
576 /* Override the shared tablist border-bottom - the header provides the full-width line instead */
577 .accua-tabs--primary > .accua-tabs__header > .accua-tabs__tablist {
578 border-bottom: none;
579 }
580
581 /* Default message preview - faithful rendering of email content */
582 [data-tab="messages"] .defalut_content_message {
583 margin-top: 8px;
584 padding: 0;
585 overflow: auto;
586 max-height: 300px;
587 }
588
589 [data-tab="messages"] .defalut_message {
590 padding-top: 12px;
591 font-weight: 600;
592 font-size: 13px;
593 color: #50575e;
594 }
595
596 [data-tab="messages"] .wp-editor-wrap {
597 margin-top: 10px;
598 }
599
600 [data-tab="messages"] input.accua_form_check_override[type="checkbox"] {
601 margin-right: 5px;
602 }
603
604 /* Radio group - vertical stack with clickable labels */
605 .accua-radio-group {
606 margin: 0;
607 padding: 0;
608 border: 0;
609 }
610
611 .accua-radio-group label {
612 display: block;
613 padding: 4px 0;
614 cursor: pointer;
615 }
616
617 .accua-radio-group input[type="radio"] {
618 margin: 0 6px 0 0;
619 vertical-align: middle;
620 }
621
622 [data-tab="messages"] .accua_form_value[disabled] {
623 color: #BBBBBB;
624 }
625
626 /* Submissions page: vertical spacing when action rows wrap */
627 #accua_forms_submissions_list_page .tablenav .actions {
628 margin-bottom: 6px;
629 }
630
631 /* Submissions page: expandable long values */
632 /* Single text copy: the link itself is truncated while collapsed. A duplicated
633 preview (the old <details>/<summary> structure) made browser find-in-page
634 count every match in these cells twice. */
635 .accua-expandable-cell {
636 display: flex;
637 align-items: baseline;
638 }
639
640 .accua-expandable-cell .accua-expandable-text {
641 flex: 0 1 auto;
642 min-width: 0;
643 overflow: hidden;
644 white-space: nowrap;
645 text-overflow: ellipsis;
646 }
647
648 .accua-expandable-cell .accua-expandable-toggle {
649 flex: none;
650 background: none;
651 border: 0;
652 padding: 0 0 0 3px;
653 cursor: pointer;
654 color: #2271b1;
655 font-size: 11px;
656 line-height: inherit;
657 }
658
659 /* Expanded: lift the truncation; pre-line keeps the line breaks of multi-line
660 values (URLs have none, they just wrap - anywhere handles unbroken strings) */
661 .accua-expandable-cell.open .accua-expandable-text {
662 overflow: visible;
663 white-space: pre-line;
664 overflow-wrap: anywhere;
665 }
666
667 .accua-expandable-cell.open .accua-expandable-toggle {
668 font-size: 13px;
669 }
670
671 #accua_form_preview_area_wrapper {
672 position: relative;
673 width: 100%;
674 overflow: unset;
675 }
676
677 #accua_form_preview_area_wrapper .ui-resizable-handle.ui-resizable-s{
678 display: none !important;
679 }
680
681 #accua_form_preview_area {
682 /* position: absolute;
683 top: 0;
684 left: 0;
685 bottom: 0;
686 right: 0;*/
687 width: 100%;
688 height: 100%;
689 border: none;
690 min-height: 400px;
691 }
692
693 /* Fields page: invalid-field highlight. Core only paints .form-invalid when
694 the wrapper is also .form-required, so cover every .form-field here. */
695 #accua_forms_fields_page .form-field.form-invalid input,
696 #accua_forms_fields_page .form-field.form-invalid textarea,
697 #accua_forms_fields_page .form-field.form-invalid select {
698 border-color: #d63638;
699 box-shadow: 0 0 0 1px #d63638;
700 }
701
702 /* Fields page: inline slug validation message */
703 #accua_forms_fields_page .accua-slug-feedback {
704 color: #d63638;
705 margin: 4px 0 0;
706 }
707
708 /* Fields page: separator above the essential-columns checkbox - the last
709 option of the editor, kept visually apart because it only affects the
710 submissions-list columns, never how the field renders in forms. */
711 #field-section-essential-column hr {
712 margin: 1.5em 0;
713 border: 0;
714 border-top: 1px solid #dcdcde;
715 }
716
717 /* Fields page: live preview panel (top of #col-right, above the list table).
718 The panel h3 keeps the default heading margin so "Live preview" aligns
719 with the editor heading in the left column. */
720 #accua-field-preview-panel {
721 margin: 0 0 24px;
722 }
723
724 #accua-field-preview-wrapper {
725 position: relative;
726 border: 1px solid #c3c4c7;
727 border-radius: 2px;
728 background: #fff;
729 overflow: hidden;
730 }
731
732 /* The frame starts compact (below the 80px measure floor, so the first
733 render can only grow it) and every height change animates: the preview
734 never appears oversized and never snaps - it grows to its measured size. */
735 #accua-field-preview {
736 display: block;
737 width: 100%;
738 height: 48px;
739 border: 0;
740 transition: height 0.25s ease, opacity 0.15s linear;
741 }
742
743 /* Preview loading state - Modern accessible design */
744 #accua_form_preview_area_wrapper.accua-form-preview-loading {
745 position: relative;
746 }
747
748 #accua_form_preview_area_wrapper.accua-form-preview-loading::after {
749 content: "";
750 position: absolute;
751 top: 0;
752 left: 0;
753 right: 0;
754 bottom: 0;
755 background: rgba(255, 255, 255, 0.85);
756 z-index: 10;
757 }
758
759 #accua_form_preview_area_wrapper.accua-form-preview-loading::before {
760 content: "";
761 position: absolute;
762 top: 50%;
763 left: 50%;
764 width: 28px;
765 height: 28px;
766 margin: -14px 0 0 -14px;
767 border: 3px solid #2271b1;
768 border-top-color: transparent;
769 border-radius: 50%;
770 z-index: 11;
771 animation: accua-form-loading-spin 0.75s linear infinite;
772 }
773
774 /* Fields page preview: subtler loading treatment than the form editor's
775 veil + large spinner - the frame keeps its size, the content is fully
776 hidden (the white wrapper shows through) and a small WP-size spinner
777 sits centered. Opacity 0 matters: the settle logic reveals the frame
778 only after its load event, i.e. with stylesheets applied, so a document
779 still loading its CSS can never flash unstyled. No layout impact. */
780 #accua-field-preview-wrapper.accua-form-preview-loading #accua-field-preview {
781 opacity: 0;
782 }
783
784 #accua-field-preview-wrapper.accua-form-preview-loading::before {
785 content: "";
786 position: absolute;
787 top: 50%;
788 left: 50%;
789 width: 16px;
790 height: 16px;
791 margin: -8px 0 0 -8px;
792 border: 2px solid #c3c4c7;
793 border-top-color: #2271b1;
794 border-radius: 50%;
795 z-index: 11;
796 animation: accua-form-loading-spin 0.75s linear infinite;
797 }
798
799 /* Reduce motion for users who prefer it (EAA/WCAG compliance) */
800 @media (prefers-reduced-motion: reduce) {
801 #accua_form_preview_area_wrapper.accua-form-preview-loading::before,
802 #accua-field-preview-wrapper.accua-form-preview-loading::before {
803 animation: none;
804 border-color: #2271b1;
805 opacity: 0.6;
806 }
807
808 #accua-field-preview {
809 transition: none;
810 }
811 }
812
813 @keyframes accua-form-loading-spin {
814 to {
815 transform: rotate(360deg);
816 }
817 }
818
819 #accua_forms_edit_page #dialog_token {
820 padding: 0 20px 20px;
821 }
822
823 #accua_forms_edit_page .defalut_content_message {
824 word-wrap: break-word;
825 overflow-wrap: break-word;
826 }
827
828 .accua_forms_admin_page textarea {
829 resize: vertical;
830 }
831 /*
832 .widget-content p{
833 width: 47%;
834 float: left;
835 margin-right: 5px;
836 }
837 */.widget-title h3, .widget-title h4 {
838 padding: 10px;
839 font-size: 14px;
840 min-width: 0;
841 word-wrap: break-word;
842 }
843
844 #accua_forms_edit_page .widget-title h4 {
845 white-space: normal;
846 overflow: visible;
847 text-overflow: clip;
848 }
849
850 .widget-control-remove.delete{
851 color: #b32d2e;
852 }
853
854
855 /* Save button states - WordPress-style inline feedback (DRY: shared between global and field save buttons) */
856 .accua_form_save_settings_button,
857 .accua-field-save-btn {
858 position: relative;
859 min-width: 80px;
860 transition: background-color 0.2s ease, border-color 0.2s ease;
861 }
862
863 /* Saving state - border spinner animation with visible text */
864 .accua_form_save_settings_button.accua-saving-active,
865 .accua-field-save-btn.accua-saving-active {
866 pointer-events: none;
867 border-color: transparent !important;
868 background-image: none;
869 animation: accua-btn-border-spin 0.8s linear infinite;
870 box-shadow: inset 0 0 0 2px #0073aa;
871 }
872
873 @keyframes accua-btn-border-spin {
874 0% { box-shadow: inset 0 0 0 2px #0073aa, inset 0 -20px 0 0 rgba(0, 115, 170, 0.1); }
875 25% { box-shadow: inset 0 0 0 2px #0073aa, inset 20px 0 0 0 rgba(0, 115, 170, 0.1); }
876 50% { box-shadow: inset 0 0 0 2px #0073aa, inset 0 20px 0 0 rgba(0, 115, 170, 0.1); }
877 75% { box-shadow: inset 0 0 0 2px #0073aa, inset -20px 0 0 0 rgba(0, 115, 170, 0.1); }
878 100% { box-shadow: inset 0 0 0 2px #0073aa, inset 0 -20px 0 0 rgba(0, 115, 170, 0.1); }
879 }
880
881 /* Saved state - green background with checkmark after text */
882 .accua_form_save_settings_button.accua-saved-active,
883 .accua-field-save-btn.accua-saved-active {
884 background-color: #00a32a !important;
885 border-color: #00a32a !important;
886 color: #fff !important;
887 }
888
889 .accua_form_save_settings_button.accua-saved-active::after,
890 .accua-field-save-btn.accua-saved-active::after {
891 content: ' ✓';
892 font-weight: bold;
893 }
894
895 /* Error state */
896 .accua_form_save_settings_button.accua-error,
897 .accua-field-save-btn.accua-error {
898 background-color: #d63638 !important;
899 border-color: #d63638 !important;
900 color: #fff !important;
901 }
902
903 /* Reduce motion for accessibility */
904 @media (prefers-reduced-motion: reduce) {
905 .accua_form_save_settings_button.accua-saving-active,
906 .accua-field-save-btn.accua-saving-active {
907 animation: none;
908 box-shadow: inset 0 0 0 2px #0073aa;
909 }
910 }
911
912 .widgets-holder-wrap.dashed{
913 border: 2px dashed #c3c4c7;
914 }
915 .widgets-holder-wrap.dashed h3 {
916 padding: 20px !important;
917 }
918 .widgets-holder-wrap.dashed .widgets-sortables.ui-sortable {
919 margin-top: 22px !important;
920 margin-bottom: 22px !important;
921 }
922
923 [data-tab="customise"] .accua_form_value[type="text"]{
924 width: 67%;
925 float: right;
926 }
927 [data-tab="customise"] .wp-picker-input-wrap .accua_form_value[type="text"]{
928 width: 100%;
929 float: right;
930 }
931
932 /* ============================================
933 Grafica e generali - Redesigned Style Editor
934 ============================================ */
935
936 /* Two-column layout */
937 .accua-customise-columns {
938 display: flex;
939 flex-wrap: wrap;
940 gap: 30px;
941 }
942
943 [data-tab="customise"] .accua-style-column {
944 flex: 1 1 calc(50% - 15px);
945 min-width: 280px;
946 box-sizing: border-box;
947 }
948
949 /* Section headers */
950 [data-tab="customise"] h2 {
951 font-size: 1.3em;
952 font-weight: 600;
953 color: #1d2327;
954 margin: 16px 0 12px 0;
955 padding: 0;
956 line-height: 1.4;
957 }
958
959 [data-tab="customise"] h2:first-of-type {
960 margin-top: 0;
961 }
962
963 /* General section paragraphs */
964 .accua-customise-columns > .accua-style-column > p {
965 margin: 0 0 12px 0;
966 padding: 0;
967 font-size: 13px;
968 line-height: 1.5;
969 }
970
971 /* Style row - consistent height with inline inputs */
972 .accua-style-row {
973 display: flex;
974 align-items: flex-start; /* Changed from center to allow vertical expansion */
975 gap: 8px;
976 padding: 6px 8px;
977 margin: 0 -8px;
978 min-height: 40px; /* Minimum height for consistency */
979 background: transparent;
980 border: none;
981 border-radius: 3px;
982 box-sizing: border-box;
983 transition: background-color 0.15s ease;
984 }
985
986 /* Align checkbox and label to the top when color picker is open */
987 .accua-style-row .accua-style-toggle,
988 .accua-style-row .accua-style-content {
989 padding-top: 4px; /* Align with first row of content */
990 }
991
992 /* Active state when checkbox is checked */
993 .accua-style-row:has(input[type="checkbox"]:checked) {
994 background: #f0f6fc;
995 }
996
997 /* Hover state for better interactivity feedback */
998 .accua-style-row:hover {
999 background: #f6f7f7;
1000 }
1001
1002 .accua-style-row:has(input[type="checkbox"]:checked):hover {
1003 background: #e8f2fb;
1004 }
1005
1006 /* Toggle column (checkbox) */
1007 .accua-style-toggle {
1008 flex: 0 0 18px;
1009 }
1010
1011 .accua-style-toggle input[type="checkbox"] {
1012 margin: 0;
1013 cursor: pointer;
1014 }
1015
1016 /* Content column - inline layout, allows vertical expansion for color picker */
1017 .accua-style-content {
1018 flex: 1;
1019 display: flex;
1020 flex-direction: row;
1021 flex-wrap: wrap; /* Allow wrapping for color picker to go below */
1022 align-items: flex-start;
1023 gap: 10px;
1024 min-width: 0;
1025 }
1026
1027 /* CSS Property label - compact inline style */
1028 .accua-style-label {
1029 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
1030 font-size: 12px;
1031 font-weight: 500;
1032 color: #50575e;
1033 min-width: 120px;
1034 flex-shrink: 0;
1035 cursor: pointer;
1036 }
1037
1038 .accua-style-row:has(input[type="checkbox"]:checked) .accua-style-label {
1039 color: #135e96;
1040 font-weight: 600;
1041 }
1042
1043 /* Text input styling */
1044 .accua-style-content input[type="text"]:not(.wp-color-picker) {
1045 width: 100px;
1046 padding: 4px 8px;
1047 font-size: 12px;
1048 border: 1px solid #8c8f94;
1049 border-radius: 3px;
1050 background: #fff;
1051 box-sizing: border-box;
1052 }
1053
1054 .accua-style-content input[type="text"]:not(.wp-color-picker):focus {
1055 border-color: #2271b1;
1056 outline: none;
1057 box-shadow: 0 0 0 1px #2271b1;
1058 }
1059
1060 /* Hide input when checkbox is unchecked */
1061 .accua-style-row:not(:has(input[type="checkbox"]:checked)) .accua-style-content input[type="text"]:not(.wp-color-picker),
1062 .accua-style-row:not(:has(input[type="checkbox"]:checked)) .accua-style-content .wp-picker-container {
1063 display: none;
1064 }
1065
1066 /* Help text - hidden (redundant with labels) */
1067 .accua-style-help {
1068 display: none !important;
1069 }
1070
1071 /* Color swatch button - compact */
1072 .accua-style-content .wp-picker-container .wp-color-result {
1073 height: 28px;
1074 min-height: 28px;
1075 border-radius: 3px;
1076 box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
1077 margin: 0;
1078 }
1079
1080 /* Hide the "Seleziona un colore" label text - we show hex value instead */
1081 .accua-style-content .wp-picker-container .wp-color-result-text {
1082 display: none;
1083 }
1084
1085 /* Hex input field - ALWAYS visible and styled */
1086 .accua-style-content .wp-picker-container .wp-picker-input-wrap {
1087 display: inline-flex !important; /* Force always visible - WordPress hides by default */
1088 align-items: center;
1089 gap: 4px;
1090 margin-left: 6px;
1091 }
1092
1093 /* Hide only the screen reader text, not the entire label (which contains the input!) */
1094 .accua-style-content .wp-picker-container .wp-picker-input-wrap label .screen-reader-text {
1095 position: absolute;
1096 clip: rect(1px, 1px, 1px, 1px);
1097 width: 1px;
1098 height: 1px;
1099 overflow: hidden;
1100 padding: 0;
1101 margin: -1px;
1102 }
1103
1104 .accua-style-content .wp-picker-container .wp-color-picker {
1105 display: inline-block !important; /* Force always visible */
1106 width: 80px !important;
1107 padding: 4px 6px;
1108 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
1109 font-size: 12px;
1110 border: 1px solid #8c8f94;
1111 border-radius: 3px;
1112 background: #fff;
1113 box-sizing: border-box;
1114 height: 28px;
1115 }
1116
1117 .accua-style-content .wp-picker-container .wp-color-picker:focus {
1118 border-color: #2271b1;
1119 outline: none;
1120 box-shadow: 0 0 0 1px #2271b1;
1121 }
1122
1123 /* Clear button styling - compact */
1124 .accua-style-content .wp-picker-container .wp-picker-clear {
1125 padding: 4px 8px;
1126 font-size: 11px;
1127 line-height: 1.4;
1128 height: 28px;
1129 margin: 0;
1130 }
1131
1132 /* Color picker container - appears below the checkbox/label row */
1133 .accua-style-content .wp-picker-container {
1134 flex-basis: 100%;
1135 display: flex;
1136 flex-wrap: wrap;
1137 align-items: center;
1138 gap: 6px;
1139 }
1140
1141 /* Iris color picker holder - below the controls */
1142 .accua-style-content .wp-picker-container .wp-picker-holder {
1143 position: relative;
1144 z-index: 1;
1145 flex-basis: 100%;
1146 margin-top: 4px;
1147 }
1148
1149 /* Style row to accommodate expanded color picker */
1150 .accua-style-row:has(.wp-picker-active) {
1151 z-index: 1;
1152 }
1153
1154 /* Responsive adjustments */
1155 @media screen and (max-width: 1200px) {
1156 [data-tab="customise"] .accua-style-column {
1157 flex: 1 1 100%;
1158 }
1159
1160 [data-tab="customise"] h2:not(:first-of-type) {
1161 margin-top: 30px;
1162 }
1163 }
1164
1165 /* ==========================================================================
1166 Settings page - Tab panel overrides
1167 ========================================================================== */
1168
1169 #accua_settings_tabs > .accua-tabs__panel {
1170 min-height: 0;
1171 background: transparent;
1172 padding: 20px 0 0;
1173 }
1174
1175 /* Retention panel - transparent background */
1176 [data-tab="retention"] {
1177 min-height: 0;
1178 background: transparent;
1179 padding: 20px 10px 10px;
1180 }
1181
1182 /* Full-width panels in settings tabs */
1183 #accua_settings_tabs .accua-forms-metabox-holder {
1184 float: none;
1185 width: auto;
1186 margin-right: 0;
1187 }
1188
1189 /* ==========================================================================
1190 Settings page - Section layout
1191 Uses native WordPress .postbox + .inside for grouped settings sections.
1192 Only custom overrides below for grid layout and minor adjustments.
1193 ========================================================================== */
1194
1195 /* Postbox header h2: match native .hndle padding without cursor:move */
1196 .postbox > .postbox-header > h2 {
1197 padding: 1rem 12px;
1198 margin: 0;
1199 }
1200
1201 /* Danger variant */
1202 .postbox.accua-danger-zone {
1203 border-color: #d63638;
1204 }
1205
1206 /* Messages tab - 2-column grid */
1207 .accua-settings-grid {
1208 display: grid;
1209 grid-template-columns: repeat(2, 1fr);
1210 gap: 16px;
1211 }
1212
1213 .accua-settings-grid > .postbox {
1214 min-height: 320px;
1215 margin-bottom: 0;
1216 }
1217
1218 @media screen and (max-width: 1200px) {
1219 .accua-settings-grid {
1220 grid-template-columns: 1fr;
1221 }
1222 }
1223
1224 /* ==========================================================================
1225 Form edit page layout - Fields tab helpers
1226 ========================================================================== */
1227
1228 #accua_tabs [data-tab="fields"] #widgets-left {
1229 padding-top: 0;
1230 margin-right: 0;
1231 }
1232
1233 #accua_tabs [data-tab="fields"] #widgets-right {
1234 width: 100%;
1235 }
1236
1237 #accua_tabs [data-tab="fields"] #widgets-right .widgets-holder-wrap {
1238 margin-top: 0;
1239 }
1240
1241 /* note */
1242
1243 input#delete-sub-data, input#delete-note {
1244 background: none;
1245 border: none;
1246 padding: 0;
1247 text-decoration: underline;
1248 cursor: pointer;
1249 }
1250 input#delete-note {
1251 display: inline-block;
1252 }
1253 .system-note .note_content {
1254 padding: 10px;
1255 background: #efefef;
1256 position: relative;
1257 line-height: 18px;
1258 font-size: 14px;
1259 }
1260 .system-note .note_content::after {
1261 content: "";
1262 display: block;
1263 position: absolute;
1264 bottom: -10px;
1265 left: 20px;
1266 width: 0;
1267 height: 0;
1268 border-width: 10px 10px 0 0;
1269 border-style: solid;
1270 border-color: #efefef transparent;
1271 }
1272 .system-note p.meta, form#delete-note {
1273 padding: 10px;
1274 color: #999;
1275 margin: 0;
1276 display: inline-block;
1277 }
1278 form#delete-note {
1279 padding: 0;
1280 }
1281
1282 /* Lead status row: select + tooltip + progress aligned */
1283 .accua-lead-status-row {
1284 display: flex;
1285 align-items: center;
1286 gap: 4px;
1287 margin-bottom: 16px;
1288 }
1289
1290 .accua-lead-status-row .dashicons-editor-help {
1291 color: #787c82;
1292 cursor: pointer;
1293 }
1294
1295
1296
1297 th#lead_status {
1298 width: 200px;
1299 }
1300
1301 /* ============================================
1302 Restore Default Button Styles
1303 ============================================ */
1304
1305 .accua-restore-default-wrapper {
1306 margin-top: 12px;
1307 padding-top: 12px;
1308 border-top: 1px solid #f0f0f1;
1309 }
1310
1311 .accua-restore-default-wrapper .description {
1312 color: #787c82;
1313 font-size: 12px;
1314 font-style: italic;
1315 margin-left: 8px;
1316 }
1317
1318 /* Success state */
1319 .accua-restore-default-btn.accua-restored {
1320 color: #00a32a !important;
1321 }
1322
1323 /* Error state */
1324 .accua-restore-default-btn.accua-error {
1325 color: #d63638 !important;
1326 }
1327
1328 /* ==========================================================================
1329 Dashboard page
1330 ========================================================================== */
1331
1332 #accua-forms-graph-content {
1333 padding: 20px;
1334 }
1335
1336 #accua-form-report-graph {
1337 height: 300px;
1338 }
1339
1340 #accua_dashboard_page .postbox > .inside {
1341 padding: 20px;
1342 }
1343
1344 /* Single submission page */
1345 #accua_forms_submissions_list_page #poststuff .postbox > .inside {
1346 padding: 16px;
1347 }
1348
1349 #accua_forms_submissions_list_page #poststuff #note_site_user {
1350 width: 100%;
1351 margin-bottom: 8px;
1352 }
1353
1354 #accua_forms_submissions_list_page #accua-notes-form {
1355 margin-bottom: 12px;
1356 }
1357
1358 #accua_forms_submissions_list_page #post-body-content .widefat td:first-child {
1359 width: 140px;
1360 font-weight: 600;
1361 }
1362
1363 #accua_forms_submissions_list_page #post-body-content .widefat .accua-field-value {
1364 white-space: pre-wrap;
1365 }
1366
1367 #accua_forms_submissions_list_page #post-body-content .postbox + .postbox {
1368 margin-top: 20px;
1369 }
1370
1371 #accua_forms_submissions_list_page #postbox-container-1 .postbox + .postbox {
1372 margin-top: 20px;
1373 }
1374
1375 #accua_forms_submissions_list_page #postbox-container-1 .inside p:first-child {
1376 margin-top: 0;
1377 }
1378
1379 #accua_dashboard_page .submitdelete {
1380 color: #b32d2e;
1381 }
1382
1383 #accua_dashboard_page .submitdelete:hover {
1384 color: #a00;
1385 }
1386
1387 #accua_dashboard_page td.column-afs_referrer,
1388 #accua_dashboard_page td.column-afs_uri {
1389 overflow: hidden;
1390 white-space: nowrap;
1391 text-overflow: ellipsis;
1392 }
1393
1394 #accua_dashboard_page .column-actions {
1395 white-space: nowrap;
1396 }
1397
1398 /* Many columns on: the content-sized table (no core 'fixed' class) is wider
1399 than the screen. Scroll it inside its own box - without this the whole
1400 document scrolls sideways, taking the filters, the pagination and the admin
1401 menu links with it while the fixed admin bar and #adminmenuback stay put.
1402
1403 Both extra declarations are load-bearing, not cosmetic:
1404
1405 - clear: overflow-x makes this box a block formatting context, and a BFC
1406 shrinks to sit beside uncleared floats. The .tablenav filter controls and
1407 p.search-box leave some hanging over it; without clear the box collapsed
1408 to ~200px.
1409 - position: overflow only clips absolutely positioned descendants when the
1410 scroll container is their containing block. Every sortable column header
1411 holds an absolutely positioned .screen-reader-text span, which would
1412 otherwise resolve against #wpbody (position:relative in core) and keep
1413 stretching the document - the page still scrolled sideways with the box
1414 in place until this was added. */
1415 #accua_forms_submissions_list_page .accua-table-scroll {
1416 clear: both;
1417 position: relative;
1418 overflow-x: auto;
1419 overflow-y: hidden;
1420 }
1421
1422 /* Sticky scrollbar. The box above is as tall as the table, so its own
1423 horizontal scrollbar sits at the foot of a hundred rows - out of sight, and
1424 unusable for anyone who does not know shift+wheel or has no trackpad.
1425 submissions-list.js builds a proxy scrollbar that rides the bottom of the
1426 viewport for as long as the table is on screen, and hides the real one by
1427 adding .has-sticky-scrollbar - from JS, so the native bar survives if the
1428 script never runs.
1429
1430 sticky/bottom keeps it in view while there is table left below it; it comes
1431 to rest above the bottom toolbar at the end. The inner div is stretched to
1432 the table's width, which is what gives the thumb its size. */
1433 #accua_forms_submissions_list_page .accua-table-scroll.has-sticky-scrollbar {
1434 scrollbar-width: none; /* Firefox */
1435 -ms-overflow-style: none; /* legacy Edge */
1436 }
1437
1438 #accua_forms_submissions_list_page .accua-table-scroll.has-sticky-scrollbar::-webkit-scrollbar {
1439 display: none;
1440 }
1441
1442 #accua_forms_submissions_list_page .accua-table-scrollbar {
1443 position: sticky;
1444 bottom: 0;
1445 z-index: 2;
1446 overflow-x: auto;
1447 overflow-y: hidden;
1448 /* The table sits directly above; keep the bar visually attached to it. */
1449 margin-top: -1px;
1450 background: #fff;
1451 }
1452
1453 #accua_forms_submissions_list_page .accua-table-scrollbar > div {
1454 height: 1px;
1455 }
1456
1457 /* Without the core 'fixed' table class (dropped for content-based column sizing)
1458 the URL columns need an explicit cap, or they grow to the full URL width and
1459 the CSS truncation + [+] expandable widget never kick in. */
1460 #accua_forms_submissions_list_page td.column-referrer,
1461 #accua_forms_submissions_list_page td.column-uri {
1462 max-width: 15em;
1463 overflow: hidden;
1464 white-space: nowrap;
1465 text-overflow: ellipsis;
1466 }
1467
1468 /* Actions column: the quick-action links (Open | Trash | Spam, ...) must never
1469 wrap - with auto table layout the column widens to fit them on one row. */
1470 #accua_forms_submissions_list_page .column-singlesub {
1471 white-space: nowrap;
1472 }
1473
1474 /* Field-value columns: CSS-truncated to one line like the URL columns, so
1475 long values (messages) collapse behind the [+] widget expandable-cells.js
1476 builds; the expanded state below renders the visitor's line breaks. */
1477 #accua_forms_submissions_list_page .wp-list-table td[class*="column-_field_"] {
1478 max-width: 25em;
1479 overflow: hidden;
1480 white-space: nowrap;
1481 text-overflow: ellipsis;
1482 }
1483
1484 /* Single-submission values: preserve the line breaks the visitor typed - a
1485 blank line between paragraphs renders as paragraph spacing (values are
1486 esc_html'd, so CSS is the only safe layer for this). */
1487 #accua_forms_submissions_list_page .accua-field-value {
1488 white-space: pre-line;
1489 }
1490
1491 /* Icon-only buttons: the label lives in the title/aria-label attributes.
1492 Custom SVGs (assets/img/expand-rows.svg, collapse-rows.svg) applied as a
1493 mask so the icon takes the button's text color, hover state included.
1494 The button becomes a flex container so the icon is centered exactly,
1495 independent of the .button line-height/min-height metrics that differ
1496 between WordPress releases. */
1497 #accua_forms_submissions_list_page .accua-toggle-rows {
1498 display: inline-flex;
1499 align-items: center;
1500 justify-content: center;
1501 vertical-align: top;
1502 }
1503
1504 #accua_forms_submissions_list_page .accua-toggle-rows .accua-rows-icon {
1505 display: block;
1506 width: 16px;
1507 height: 16px;
1508 background-color: currentColor;
1509 }
1510
1511 #accua_forms_submissions_list_page .accua-toggle-rows .accua-rows-icon-expand {
1512 -webkit-mask: url(../img/expand-rows.svg) center / contain no-repeat;
1513 mask: url(../img/expand-rows.svg) center / contain no-repeat;
1514 }
1515
1516 #accua_forms_submissions_list_page .accua-toggle-rows .accua-rows-icon-collapse {
1517 -webkit-mask: url(../img/collapse-rows.svg) center / contain no-repeat;
1518 mask: url(../img/collapse-rows.svg) center / contain no-repeat;
1519 }
1520
1521 #accua_forms_submissions_list_page .submitdelete.deletion {
1522 color: #b32d2e;
1523 }
1524
1525 #accua_forms_submissions_list_page .submitdelete.deletion:hover {
1526 color: #a00;
1527 }
1528
1529 /* Notes */
1530 .accua-note {
1531 padding: 12px 0;
1532 border-top: 1px solid #f0f0f1;
1533 }
1534
1535 .accua-note:first-child {
1536 border-top: none;
1537 padding-top: 0;
1538 }
1539
1540 .accua-note-content {
1541 white-space: pre-wrap;
1542 margin-bottom: 4px;
1543 }
1544
1545 .accua-note-meta {
1546 color: #787c82;
1547 font-size: 12px;
1548 margin: 0;
1549 }
1550
1551 .accua-note-meta .row-actions {
1552 position: static;
1553 padding: 0;
1554 }
1555
1556 .accua-note-meta .button-link {
1557 color: #b32d2e;
1558 text-decoration: none;
1559 font-size: 12px;
1560 }
1561
1562 .accua-note-meta .button-link:hover,
1563 .accua-note-meta .button-link:focus {
1564 color: #a00;
1565 text-decoration: underline;
1566 }
1567
1568
1569 /* Dashboard "Last 10 submissions": center cells vertically against the taller lead-status select */
1570 .widefat.accua-last-submissions td {
1571 vertical-align: middle;
1572 }
1573