PluginProbe
Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms / delete
Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms vdelete
1.26.15 trunk 1.0 1.10.0 1.11.0 1.11.1 1.12.0 1.12.1 1.12.10 1.12.11 1.12.12 1.12.2 1.12.3 1.12.4 1.12.5 1.12.6 1.12.7 1.12.8 1.12.9 1.13.0 1.13.1 1.13.10 1.13.11 1.13.12 1.13.2 All 194 releases
happyforms / core / assets / css / customize.css

customize.css in Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms delete, at core/assets/css/customize.css

1,909 lines 41.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 *
3 * Customizer-wide
4 *
5 */
6 .wp-full-overlay {
7 z-index: 1000;
8 }
9
10 .wp-full-overlay.expanded .wp-full-overlay-sidebar {
11 width: 35%;
12 }
13
14 .wp-full-overlay.expanded {
15 margin-left: min( 35%, calc( 35% - calc( 35% - 600px ) ) );
16 }
17
18 .wp-full-overlay-sidebar .wp-full-overlay-header {
19 position: relative;
20 z-index: 9999;
21 height: auto;
22 padding: 0;
23 }
24
25 #customize-controls .wp-full-overlay-sidebar-content {
26 top: 90px;
27 }
28
29 #customize-header-actions {
30 border-bottom: 0;
31 }
32
33
34 .wp-full-overlay.expanded .wp-full-overlay-footer {
35 width: calc( 35% - 1px );
36 max-width: 599px;
37 }
38
39 .happyforms-stack-view input[type="number"] {
40 padding-right: 0;
41 }
42
43 @media screen and (max-width: 850px) {
44 .wp-full-overlay.expanded {
45 margin-left: 300px;
46 }
47 }
48
49 /**
50 *
51 * Header actions
52 *
53 */
54 #happyforms-save-button-wrapper {
55 transition: .18s margin ease-in-out;
56 float: right;
57 height: 37px;
58 margin-top: 8px;
59 margin-right: 15px;
60 }
61
62 #happyforms-sidebar-controls {
63 display: relative;
64 }
65
66 #happyforms-close-link {
67 display: block;
68 position: absolute;
69 top: 0;
70 left: 0;
71 width: 45px;
72 height: 41px;
73 padding: 0 2px 0 0;
74 background: #eee;
75 border: none;
76 border-top: 4px solid #eee;
77 border-right: 1px solid #ddd;
78 color: #444;
79 text-align: left;
80 cursor: pointer;
81 transition: color .15s ease-in-out, border-color .15s ease-in-out, background .15s ease-in-out;
82 box-sizing: content-box;
83 text-decoration: none;
84 outline: 0;
85 line-height: 45px;
86 }
87
88 #happyforms-close-link:before {
89 font: normal 22px/45px dashicons;
90 content: "\f335";
91 position: relative;
92 top: -3px;
93 left: 13px;
94 }
95
96 #happyforms-close-link:hover,
97 #happyforms-close-link:focus {
98 background: #fff;
99 color: #0073aa;
100 border-top-color: #0073aa;
101 outline: none;
102 box-shadow: none;
103 }
104
105 #happyforms-steps-nav {
106 clear: both;
107 padding-top: 10px;
108 border-top: 1px solid #ddd;
109 }
110
111 #happyforms-steps-nav .nav-tab-wrapper {
112 padding-top: 0;
113 }
114
115 #happyforms-steps-nav .nav-tab-wrapper .nav-tab-active {
116 background: #eeeeee;
117 border-bottom-color: #eeeeee;
118 }
119
120 /**
121 *
122 * Sidebar stacked view
123 *
124 */
125 .happyforms-stack-view {
126 position: absolute;
127 width: 100%;
128 box-sizing: border-box;
129 border: 0;
130 padding: 12px;
131 }
132
133 .happyforms-step-description h1 {
134 font-size: 21px;
135 font-weight: 400;
136 line-height: 1.2;
137 text-align: center;
138 padding: 0;
139 margin: 15px 0;
140 }
141
142 .happyforms-step-description p {
143 font-size: 14px;
144 line-height: 1.5;
145 font-style: normal;
146 text-align: center;
147 margin: 0;
148 }
149
150 p.description a {
151 font-style: normal;
152 }
153
154 .customize-control p.description:last-child {
155 margin-bottom: 0;
156 }
157
158 .happyforms-step-description p.description {
159 margin: 0 0 30px;
160 }
161
162 .happyforms-step-description ol {
163 font-size: 14px;
164 line-height: 1.5;
165 margin-bottom: 20px;
166 }
167
168 .happyforms-stack-view h2.group-title {
169 font-weight: 700;
170 font-size: 1.5em;
171 margin: 30px 0;
172 }
173
174 .happyforms-stack-view .customize-control:first-child h2.group-title {
175 margin: 5px 0 30px 0;
176 }
177
178 .customize-control {
179 float: none;
180 }
181
182 .customize-control select {
183 max-width: 100%;
184 }
185
186 .input_dummy input {
187 pointer-events: none !important;
188 }
189
190 .input_dummy input[type="number"] {
191 margin-top: 5px;
192 }
193
194 .customize-control-number_dummy input[type="number"] {
195 margin-top: -5px;
196 }
197
198 .customize-control.customize-control-checkbox_dummy label a {
199 margin-left: 5px;
200 }
201
202 .customize-control.customize-control-checkbox_dummy#customize-control-block_emails label a {
203 margin-left: 0px;
204 }
205
206 .customize-control-email-parts-list_dummy {
207 display: flex;
208 flex-wrap: wrap;
209 align-items: center;
210 }
211
212 .customize-control-email-parts-list_dummy label[for="confirmation_email_respondent_address"]{
213 padding-bottom: 0px;
214 margin-bottom: 0px;
215 }
216
217 .customize-control-email-parts-list_dummy select#confirmation_email_respondent_address {
218 margin-top: 5px;
219 }
220
221 .happyforms-form-part-logic span.members-only,
222 .happyforms-item-logic span.members-only{
223 margin-left: 5px;
224 }
225
226 #customize-controls span.description {
227 display: block;
228 margin-bottom: 10px;
229 color: #999;
230 font-style: normal;
231 line-height: 18px;
232 }
233
234 .customize-control textarea {
235 width: 100%;
236 }
237
238 .customize-control input[type=checkbox] {
239 margin-left: 1px;
240 }
241
242 .happyforms-customize-heading h2 {
243 border-top: 1px solid #ddd;
244 padding-top: 20px;
245 }
246
247 .panel-meta + .happyforms-customize-heading h2 {
248 padding-top: 0;
249 border-top: 0;
250 }
251
252 .happyforms-help-pointer {
253 z-index: 999999 !important;
254 }
255
256 .happyforms-help-pointer .wp-pointer-content {
257 padding: 10px 15px;
258 }
259
260 #customize-control-abandoned_resume_send_alert_email,
261 #customize-control-owner_attach_pdf,
262 #customize-control-attach_pdf,
263 #customize-control-alert_email_reply_to {
264 display: none;
265 }
266
267 .happyforms-email-view.has-email.allow-resume #customize-control-abandoned_resume_send_alert_email,
268 .has-email #customize-control-alert_email_reply_to,
269 #customize-control-receive_email_alerts.checked ~ #customize-control-owner_attach_pdf,
270 .has-email #customize-control-send_confirmation_email.checked ~ #customize-control-attach_pdf {
271 display: block;
272 }
273
274 /**
275 *
276 * Footer steps
277 *
278 */
279 #customize-footer-actions {
280 z-index: 9999;
281 }
282
283 #customize-footer-actions .devices button {
284 vertical-align: top;
285 }
286
287 .happyforms-action-buttons {
288 display: flex;
289 margin-bottom: 15px;
290 }
291
292 .happyforms-action-buttons button.button-primary.button-hero,
293 .happyforms-action-buttons button.button-secondary.button-hero {
294 flex: 1;
295 margin: 0 1%;
296 padding: 0;
297 text-align: center;
298 }
299
300 .happyforms-action-buttons button.button-primary.button-hero:only-child,
301 .happyforms-action-buttons button.button-secondary.button-hero:only-child {
302 width: 100%;
303 }
304
305 .happyforms-action-buttons .dashicons {
306 line-height: 1.3;
307 font-size: 15px;
308 vertical-align: middle;
309 }
310
311 .button-wide {
312 width: 100%;
313 text-align: center;
314 }
315
316 .happyforms-step-progress {
317 margin: 0 1%;
318 }
319
320 .happyforms-step-progress,
321 .happyforms-step-progress-bar {
322 height: 6px;
323 margin-bottom: 10px;
324 }
325
326 .happyforms-step-progress {
327 background-color: #ddd;
328 }
329
330 .happyforms-step-progress-bar {
331 background-color: #0073aa;
332 }
333
334 p.happyforms-step-progress-counter {
335 text-align: center;
336 margin-bottom: 0;
337 }
338
339 /**
340 *
341 * Common form widget elements
342 *
343 */
344 .happyforms-widget {
345 margin: 0 auto 10px;
346 box-sizing: border-box;
347 box-shadow: 0 1px 1px rgba(0,0,0,0.04);
348 }
349
350 .happyforms-widget-form label[for]:after,
351 .happyforms-media-holder label:after {
352 content: ':';
353 position: relative;
354 top: 0;
355 }
356
357 .happyforms-widget-top {
358 position: relative;
359 background: #fff;
360 color: #23282d;
361 border: 1px solid #ccd0d4;
362 line-height: 1.4em;
363 -webkit-transition: opacity 0.5s;
364 transition: opacity 0.5s;
365 z-index: 1;
366 }
367
368 .happyforms-widget-title h3,
369 .happyforms-part-widget .options .happyforms-choice-item-widget .happyforms-item-choice-widget-title h3 {
370 margin: 0;
371 padding: 15px;
372 font-size: 1em !important;
373 line-height: 1;
374 overflow: hidden;
375 white-space: nowrap;
376 text-overflow: ellipsis;
377 user-select: none;
378 }
379
380 .happyforms-widget-content {
381 padding: 1px 10px 10px 10px;
382 line-height: 1.23076923;
383 background: #fff;
384 border: 1px solid #ccd0d4;
385 border-top: 0;
386 box-shadow: 0 1px 1px rgba(0,0,0,.04);
387 }
388
389 .happyforms-widget-actions {
390 padding-bottom: 5px;
391 }
392
393 .happyforms-part-advanced-settings-wrap {
394 display: none;
395 }
396
397 .happyforms-part-advanced-settings-wrap > p:first-child {
398 margin-top: 0;
399 }
400
401 a.happyforms-form-part-advanced-settings {
402 float: right;
403 }
404
405 .happyforms-widget-actions:after {
406 content: '';
407 display: table;
408 clear: both;
409 }
410
411 .happyforms-part-control-wrap {
412 margin: 1em 0;
413 }
414
415 .happyforms-part-control-wrap label {
416 line-height: 1.5;
417 }
418
419 a.happyforms-form-part-logic,
420 a.happyforms-item-logic {
421 float: right;
422 }
423
424 .happyforms-part-logic-wrap,
425 .happyforms-part-choice-logic-wrap {
426 display: none;
427 overflow: hidden;
428 }
429
430 .happyforms-part-logic-wrap .no-parts,
431 .happyforms-setup-logic-wrap .no-parts,
432 .happyforms-part-choice-logic-wrap .no-parts {
433 display: none;
434 margin-bottom: 15px;
435 border: 1px solid #eee;
436 padding: 10px;
437 }
438
439 .happyforms-part-logic-wrap .no-parts--show,
440 .happyforms-setup-logic-wrap .no-parts--show,
441 .happyforms-part-choice-logic-wrap .no-parts--show {
442 display: block;
443 }
444
445 .happyforms-part-logic-wrap .no-parts h3,
446 .happyforms-setup-logic-wrap .no-parts h3,
447 .happyforms-part-choice-logic-wrap .no-parts h3 {
448 margin-top: 5px;
449 }
450
451 .happyforms-part-logic-wrap .no-parts--small h3,
452 .happyforms-setup-logic-wrap .no-parts--small h3,
453 .happyforms-part-choice-logic-wrap .no-parts--small h3 {
454 margin-bottom: 0;
455 }
456
457 .happyforms-part-logic-wrap .no-parts--small p,
458 .happyforms-setup-logic-wrap .no-parts--small p,
459 .happyforms-part-choice-logic-wrap .no-parts--small p {
460 font-size: 14px;
461 }
462
463 .happyforms-part-logic-wrap .no-parts--small a:after,
464 .happyforms-setup-logic-wrap a.external:after {
465 content: '\f504';
466 position: relative;
467 top: 2px;
468 left: 2px;
469 display: inline-block;
470 font-family: dashicons;
471 }
472
473 .happyforms-setup-logic-wrap {
474 margin-top: 5px;
475 }
476
477 .happyforms-setup-logic-wrap a.external {
478 font-size: 14px;
479 }
480
481 a.happyforms-form-part-advanced-settings:before,
482 a.happyforms-form-part-logic:before,
483 a.advanced-column:before,
484 a.happyforms-item-logic:before {
485 position: relative;
486 top: 2px;
487 display: inline-block;
488 content: "\f346";
489 font-family: dashicons;
490 }
491
492 a.happyforms-form-part-advanced-settings.opened:before,
493 a.happyforms-form-part-logic.opened:before,
494 a.advanced-column.opened:before {
495 content: "\f342";
496 }
497
498 a.happyforms-form-remove,
499 a.happyforms-form-part-remove,
500 a.happyforms-delete-item {
501 color: #d63638;
502 }
503
504 a.happyforms-form-remove:hover,
505 a.happyforms-form-part-remove:hover {
506 color: #d63638;
507 }
508
509 .happyforms-form-date {
510 color: #72777c;
511 }
512
513 .customize-control input.happyforms-self-spaced-input {
514 margin: 0.5em 0;
515 }
516
517 .customize-control input.happyforms-self-spaced-input:first-child {
518 margin-top: 0;
519 }
520
521 .customize-control i span {
522 display: none;
523 }
524
525 .happyforms-widget span.description {
526 margin-top: 5px;
527 }
528
529 .customize-control-title {
530 color: #3c434a;
531 }
532
533 .customize-control-title .dashicons {
534 vertical-align: middle;
535 }
536
537 /**
538 *
539 * Form edit
540 *
541 */
542
543 .customize-control-group.happyforms-nested-settings {
544 display: none;
545 }
546
547 #customize-control-send_confirmation_email,
548 .happyforms-nested-settings[data-trigger=send_confirmation_email] {
549 display: none;
550 }
551
552 .has-email #customize-control-send_confirmation_email {
553 display: block;
554 }
555
556 #customize-control-receive_email_alerts.checked ~ .happyforms-nested-settings[data-trigger=receive_email_alerts],
557 .has-email #customize-control-send_confirmation_email.checked ~ .happyforms-nested-settings[data-trigger=send_confirmation_email],
558 #customize-control-use_html_id.checked ~ .happyforms-nested-settings[data-trigger=use_html_id],
559 #customize-control-add_submit_button_class.checked ~ .happyforms-nested-settings[data-trigger=add_submit_button_class] {
560 display: block;
561 }
562
563 .happyforms-setup-view .customize-control,
564 .happyforms-email-view .customize-control {
565 margin-bottom: 15px;
566 }
567
568 .happyforms-setup-view #customize-control-email_recipient,
569 .happyforms-setup-view #customize-control-email_bccs,
570 .happyforms-setup-view #customize-control-alert_email_subject,
571 .happyforms-setup-view .customize-control[id*='customize-control-captcha_']:not(#customize-control-captcha_label) {
572 padding-bottom: 5px;
573 border-bottom: 0;
574 }
575
576 .happyforms-setup-view .customize-control .customize-inside-control-row,
577 .happyforms-email-view .customize-control .customize-inside-control-row,
578 .happyforms-messages-view .customize-control .customize-inside-control-row {
579 margin-left: 0;
580 padding: 0;
581 }
582
583 .happyforms-setup-view .customize-control-radio .customize-inside-control-row,
584 .happyforms-email-view .customize-control-radio .customize-inside-control-row {
585 padding: inherit;
586 }
587
588 .happyforms-style-view .customize-control .customize-inside-control-row {
589 margin-left: 0;
590 }
591
592 .customize-control-radio input[type="radio"] {
593 margin-left: 0;
594 }
595
596 .happyforms-style-view .customize-control .customize-inside-control-row label {
597 vertical-align: top;
598 }
599
600 .happyforms-setup-view .customize-control .customize-inside-control-row h4,
601 .happyforms-email-view .customize-control .customize-inside-control-row h4 {
602 margin: 0.5em 0;
603 }
604
605 .happyforms-setup-view .customize-control-title,
606 .happyforms-email-view .customize-control-title {
607 line-height: 1;
608 padding-bottom: 5px;
609 }
610
611 /**
612 *
613 * Form message
614 *
615 */
616
617 #customize-control-submit_button_label,
618 .has-field #customize-control-field_invalid,
619 .has-required-text-fields #customize-control-field_empty,
620 .has-required-selection-fields #customize-control-no_selection,
621 #customize-control-confirmation_message,
622 .has-show-submissions-left #customize-control-submissions_left_label {
623 display: block;
624 }
625
626 .happyforms-messages-view .customize-control .has-restore-default {
627 margin-bottom: 5px;
628 }
629
630 .happyforms-messages-view .customize-control .restore-default-btn {
631 display: none;
632 width: 100%;
633 }
634
635 .customize-control-reset-wrap {
636 display: flex;
637 }
638
639 .customize-control-reset-wrap button.reset-default {
640 margin-left: 5px;
641 }
642
643 /**
644 *
645 * Form build
646 *
647 */
648 .happyforms-parts-placeholder {
649 display: block;
650 box-sizing: border-box;
651 }
652
653 .happyforms-stack-view.has-parts .happyforms-parts-placeholder {
654 display: none;
655 }
656
657 .happyforms-add-new-part {
658 float: right;
659 }
660
661 body.adding-happyforms-parts .happyforms-add-new-part,
662 body.adding-happyforms-parts .happyforms-add-new-part:hover,
663 body.adding-happyforms-parts .happyforms-add-new-part:focus {
664 background: #eee;
665 border-color: #929793;
666 color: #32373c;
667 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
668 }
669
670 body.adding-happyforms-parts .happyforms-add-new-part:before {
671 transform: rotate(45deg);
672 }
673
674 .happyforms-parts-placeholder img {
675 margin-top: 30px;
676 width: 90%;
677 }
678
679 .happyforms-parts-placeholder p {
680 font-size: 13px;
681 color: #3c434a;
682 margin: 5px 0 0;
683 }
684
685 .happyforms-parts-placeholder p:last-of-type {
686 margin-bottom: 10px;
687 }
688
689 .happyforms-parts-placeholder__placeholder {
690 margin-bottom: 20px;
691 padding: 20px;
692 border: 1px dashed #b4b9be;
693 }
694
695 .happyforms-parts-placeholder__placeholder:last-child {
696 margin-bottom: 0;
697 }
698
699 .happyforms-style-view .happyforms-form-widgets {
700 margin-top: 0;
701 }
702
703 body.adding-happyforms-parts button.happyforms-open-parts-drawer:before {
704 -webkit-transform: rotate(45deg);
705 -ms-transform: rotate(45deg);
706 transform: rotate(45deg);
707 }
708
709 body.adding-happyforms-parts #customize-preview iframe {
710 width: calc(100% - 301px);
711 }
712
713 .happyforms-part-widget-top {
714 cursor: move;
715 }
716
717 .happyforms-part-widget-top:hover {
718 border-color: #999;
719 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
720 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
721 }
722
723 .happyforms-part-widget-title-action,
724 .happyforms-part-item-advanced-option {
725 float: right;
726 cursor: pointer;
727 }
728
729 .customize-control .option-list .happyforms-part-item-advanced input[type=checkbox] {
730 margin-right: 5px;
731 }
732
733 .happyforms-widget-action,
734 .happyforms-advanced-option-action {
735 display: inline-block;
736 padding: 10px;
737 margin: 0;
738 color: #72777c;
739 border: 0;
740 cursor: pointer;
741 outline: none;
742 border-radius: 0;
743 background-color: transparent;
744 }
745
746 .happyforms-widget-action .toggle-indicator {
747 display: inline-block;
748 font-size: 20px;
749 line-height: 1;
750 }
751
752 .happyforms-widget-action .toggle-indicator:before,
753 .happyforms-part-item-advanced-option .toggle-indicator:before {
754 display: block;
755 content: '\f140';
756 font: normal 20px/1 dashicons;
757 padding: 1px 2px 1px 0px;
758 border-radius: 50%;
759 -webkit-font-smoothing: antialiased;
760 -moz-osx-font-smoothing: grayscale;
761 text-decoration: none !important;
762 }
763
764 .happyforms-widget-expanded .toggle-indicator:before {
765 content: '\f142';
766 }
767
768 .happyforms-widget-action:focus .toggle-indicator:before,
769 .happyforms-part-item-advanced-option:focus .toggle-indicator:before {
770 box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
771 }
772
773 .happyforms-part-widget .centered {
774 margin-top: 5px;
775 display: block;
776 text-align: center;
777 }
778
779 .happyforms-part-widget .links {
780 text-align: right;
781 }
782
783 .happyforms-part-widget .links .button {
784 text-align: center;
785 text-transform: capitalize;
786 display: block;
787 }
788
789 .happyforms-part-widget .show-all-options {
790 float: left;
791 }
792
793 .happyforms-part-widget .tab-links a {
794 display: inline-block;
795 padding: 2px 8px 4px;
796 border: 1px solid #fff;
797 border-bottom-color: #ddd;
798 text-decoration: none;
799 }
800
801 .happyforms-part-widget .tab-links a:active,
802 .happyforms-part-widget .tab-links a:focus {
803 outline: none;
804 box-shadow: none;
805 }
806
807 .happyforms-part-widget .tab-links a.active {
808 border: 1px solid #ddd;
809 border-bottom-color: #fff;
810 color: #444;
811 }
812
813 .happyforms-part-widget .tab-content {
814 margin-top: -1px;
815 }
816
817 .happyforms-part-widget .tab-content > div {
818 display: none;
819 }
820
821 .happyforms-part-widget .tab-content > .active {
822 display: block;
823 }
824
825 .happyforms-part-widget .option-list,
826 .happyforms-part-widget .column-list,
827 .happyforms-part-widget .row-list {
828 margin: 0;
829 }
830
831 .happyforms-part-widget ul.option-list {
832 margin-top: 1px;
833 }
834
835 .happyforms-part-widget .column-list li,
836 .happyforms-part-widget .row-list li {
837 margin: 0;
838 padding: 14px 0;
839 border-bottom: 1px solid #ddd;
840 }
841
842 .happyforms-part-widget .column-list li:last-child,
843 .happyforms-part-widget .row-list li:last-child {
844 border-bottom: none;
845 }
846
847 .customize-control .option-list li label,
848 .customize-control .column-list li label,
849 .customize-control .row-list li label {
850 font-size: 13px;
851 }
852
853 .customize-control .option-list li input,
854 .customize-control .option-list li textarea,
855 .customize-control .column-list li input,
856 .customize-control .row-list li input {
857 margin: 2px 0 5px;
858 }
859
860 .customize-control label {
861 color: #3c434a;
862 }
863
864 .happyforms-part-widget .happyforms-part-item-body {
865 position: relative;
866 padding: 0px 5px 0 20px;
867 }
868
869 .happyforms-part-widget .happyforms-part-item-advanced {
870 display: none;
871 }
872
873 .happyforms-part-widget .options > label {
874 font-size: 13px;
875 line-height: 1.6;
876 margin: 1em 0;
877 }
878
879 .happyforms-part-widget .options p.no-options {
880 display: none;
881 }
882
883 .happyforms-part-widget .options ul:empty {
884 display: none;
885 }
886
887 .happyforms-part-widget .options ul:empty ~ label,
888 .happyforms-part-widget .options ul:empty ~ p {
889 display: block;
890 }
891
892 .happyforms-part-widget .options-import {
893 display: none;
894 }
895
896 textarea.option-import-area {
897 height: 125px;
898 }
899
900 .happyforms-part-widget .links.mode-import {
901 display: none;
902 }
903
904 .happyforms-part-widget .option-actions {
905 text-align: right;
906 margin-top: 5px;
907 margin-bottom: 14px;
908 }
909
910 .happyforms-part-widget .options .delete-option,
911 .happyforms-part-widget .options .delete-heading,
912 .happyforms-part-widget .columns .delete-column,
913 .happyforms-part-widget .rows .delete-row {
914 color: #d63638;
915 }
916
917 .happyforms-part-widget .options .delete-option:hover,
918 .happyforms-part-widget .columns .delete-column:hover,
919 .happyforms-part-widget .rows .delete-row:hover {
920 color: #d63638;
921 }
922
923 /**
924 *
925 * Form parts drawer
926 *
927 */
928 .wp-full-overlay-main {
929 transition: left .18s;
930 }
931
932 body.adding-happyforms-parts .wp-full-overlay-main {
933 left: 300px;
934 opacity: 0.4;
935 }
936
937 #happyforms-parts-drawer {
938 position: absolute;
939 top: 0;
940 bottom: 0;
941 left: -301px;
942 overflow-x: hidden;
943 overflow-y: auto;
944 width: 300px;
945 margin: 0;
946 z-index: 4;
947 background: #eee;
948 border-right: 1px solid #ddd;
949 transition: left .18s;
950 }
951
952 #happyforms-parts-drawer.expanded {
953 left: 0;
954 }
955
956 .happyforms-parts-drawer-header-search {
957 padding: 13px 15px;
958 }
959
960 .happyforms-parts-drawer-header-search input {
961 width: 100%;
962 min-height: 32px;
963 margin: 1px 0;
964 padding: 0 30px;
965 }
966
967 .happyforms-parts-drawer-header-search-icon {
968 display: block;
969 position: absolute;
970 top: 15px;
971 left: 16px;
972 width: 30px;
973 height: 30px;
974 line-height: 28px;
975 text-align: center;
976 color: #72777c;
977 }
978
979 .happyforms-parts-drawer-header-search-icon:after {
980 content: '\f179';
981 font: normal 20px/1 dashicons;
982 line-height: 30px;
983 vertical-align: middle;
984 -webkit-font-smoothing: antialiased;
985 }
986
987 button.happyforms-clear-search {
988 display: none;
989 position: absolute;
990 top: 15px;
991 right: 16px;
992 width: 30px;
993 height: 30px;
994 padding: 0;
995 border: 0;
996 cursor: pointer;
997 background: transparent;
998 color: #d63638;
999 text-decoration: none;
1000 outline: 0;
1001 }
1002
1003 button.happyforms-clear-search:before {
1004 content: "\f335";
1005 line-height: 1;
1006 font-family: dashicons;
1007 font-size: 20px;
1008 vertical-align: middle;
1009 }
1010
1011 button.happyforms-clear-search.active {
1012 display: block;
1013 }
1014
1015 input#part-search::placeholder {
1016 color: #72777c;
1017 }
1018
1019 ul.happyforms-parts-list {
1020 margin: 0;
1021 padding: 0;
1022 list-style-type: none;
1023 }
1024
1025 ul.happyforms-parts-list li.happyforms-parts-list-item {
1026 position: relative;
1027 margin-bottom: 0;
1028 padding: 15px 15px 15px 60px;
1029 background: #fff;
1030 border-bottom: 1px solid #ddd;
1031 border-left: 4px solid #fff;
1032 -webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
1033 transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
1034 cursor: pointer;
1035 }
1036
1037 ul.happyforms-parts-list li.happyforms-parts-list-item.hidden {
1038 display: none !important;
1039 }
1040
1041 ul.happyforms-parts-list li.happyforms-parts-list-item:first-child {
1042 border-top: 1px solid #ddd;
1043 }
1044
1045 ul.happyforms-parts-list li.happyforms-parts-list-item:hover {
1046 background: #f3f3f5;
1047 border-bottom-color: #ccc;
1048 color: #0073aa;
1049 border-left: 4px solid #0073aa;
1050 }
1051
1052 ul.happyforms-parts-list li .happyforms-parts-list-item-title {
1053 position: relative;
1054 }
1055
1056 ul.happyforms-parts-list li.happyforms-parts-list-item--dummy .happyforms-parts-list-item-title h3,
1057 ul.happyforms-parts-list li.happyforms-parts-list-item--dummy .happyforms-parts-list-item-title span {
1058 display: inline-block;
1059 vertical-align: middle;
1060 }
1061
1062 ul.happyforms-parts-list li.happyforms-parts-list-item--dummy .happyforms-parts-list-item-title a {
1063 display: inline-block;
1064 margin-left: 5px;
1065 }
1066
1067 ul.happyforms-parts-list li.happyforms-parts-list-item--dummy .happyforms-parts-list-item-title a:after {
1068 content: "\f504";
1069 display: inline-block;
1070 font-family: dashicons;
1071 font-size: 100%;
1072 text-decoration: none;
1073 }
1074
1075 ul.happyforms-parts-list li .happyforms-parts-list-item-title:before {
1076 content: "";
1077 position: absolute;
1078 top: 0;
1079 right: 100%;
1080 margin-right: 20px;
1081 width: 20px;
1082 height: 20px;
1083 color: #32373c;
1084 text-align: center;
1085 box-sizing: border-box;
1086 background-size: cover;
1087 }
1088
1089 ul.happyforms-parts-list li[data-part-type="single_line_text"] .happyforms-parts-list-item-title:before {
1090 background-image: url(../svg/icons/text.svg);
1091 }
1092
1093 ul.happyforms-parts-list li[data-part-type="multi_line_text"] .happyforms-parts-list-item-title:before {
1094 background-image: url(../svg/icons/long-text.svg);
1095 }
1096
1097 ul.happyforms-parts-list li[data-part-type="email"] .happyforms-parts-list-item-title:before {
1098 background-image: url(../svg/icons/email.svg);
1099 }
1100
1101 ul.happyforms-parts-list li[data-part-type="website_url"] .happyforms-parts-list-item-title:before {
1102 background-image: url(../svg/icons/website.svg);
1103 }
1104
1105 ul.happyforms-parts-list li[data-part-type="number"] .happyforms-parts-list-item-title:before {
1106 background-image: url(../svg/icons/number.svg);
1107 }
1108
1109 ul.happyforms-parts-list li[data-part-type="checkbox"] .happyforms-parts-list-item-title:before {
1110 background-image: url(../svg/icons/checkbox.svg);
1111 }
1112
1113 ul.happyforms-parts-list li[data-part-type="radio"] .happyforms-parts-list-item-title:before {
1114 background-image: url(../svg/icons/radio.svg);
1115 }
1116
1117 ul.happyforms-parts-list li[data-part-type="select"] .happyforms-parts-list-item-title:before {
1118 background-image: url(../svg/icons/dropdown.svg);
1119 }
1120
1121 ul.happyforms-parts-list li[data-part-type="country"] .happyforms-parts-list-item-title:before {
1122 background-image: url(../svg/icons/country.svg);
1123 }
1124
1125 ul.happyforms-parts-list li[data-part-type="attachment_dummy"] .happyforms-parts-list-item-title:before {
1126 background-image: url(../svg/icons/file-upload.svg);
1127 }
1128
1129 ul.happyforms-parts-list li[data-part-type="page_break_dummy"] .happyforms-parts-list-item-title:before {
1130 background-image: url(../svg/icons/page-break.svg);
1131 }
1132
1133 ul.happyforms-parts-list li[data-part-type="website_url_dummy"] .happyforms-parts-list-item-title:before {
1134 background-image: url(../svg/icons/website.svg);
1135 }
1136
1137 ul.happyforms-parts-list li[data-part-type="table_dummy"] .happyforms-parts-list-item-title:before {
1138 background-image: url(../svg/icons/matrix.svg);
1139 }
1140
1141 ul.happyforms-parts-list li[data-part-type="date_dummy"] .happyforms-parts-list-item-title:before {
1142 background-image: url(../svg/icons/date-time.svg);
1143 }
1144
1145 ul.happyforms-parts-list li[data-part-type="phone_dummy"] .happyforms-parts-list-item-title:before {
1146 background-image: url(../svg/icons/phone.svg);
1147 }
1148
1149 ul.happyforms-parts-list li[data-part-type="title_dummy"] .happyforms-parts-list-item-title:before {
1150 background-image: url(../svg/icons/title.svg);
1151 }
1152
1153 ul.happyforms-parts-list li[data-part-type="legal_dummy"] .happyforms-parts-list-item-title:before {
1154 background-image: url(../svg/icons/consent-choice.svg);
1155 }
1156
1157 ul.happyforms-parts-list li[data-part-type="rich_text_dummy"] .happyforms-parts-list-item-title:before {
1158 background-image: url(../svg/icons/text-editor.svg);
1159 }
1160
1161 ul.happyforms-parts-list li[data-part-type="scale_dummy"] .happyforms-parts-list-item-title:before {
1162 background-image: url(../svg/icons/slider.svg);
1163 }
1164
1165 ul.happyforms-parts-list li[data-part-type="rank_order_dummy"] .happyforms-parts-list-item-title:before {
1166 background-image: url(../svg/icons/rank.svg);
1167 }
1168
1169 ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
1170 background-image: url(../svg/icons/rate.svg);
1171 }
1172
1173 ul.happyforms-parts-list li[data-part-type="narrative_dummy"] .happyforms-parts-list-item-title:before {
1174 background-image: url(../svg/icons/story.svg);
1175 }
1176
1177 ul.happyforms-parts-list li[data-part-type="optin_dummy"] .happyforms-parts-list-item-title:before {
1178 background-image: url(../svg/icons/opt-in-choice.svg);
1179 }
1180
1181 ul.happyforms-parts-list li[data-part-type="payments_dummy"] .happyforms-parts-list-item-title:before {
1182 background-image: url(../svg/icons/payment.svg);
1183 }
1184
1185 ul.happyforms-parts-list li[data-part-type="signature_dummy"] .happyforms-parts-list-item-title:before {
1186 background-image: url(../svg/icons/signature.svg);
1187 }
1188
1189 ul.happyforms-parts-list li[data-part-type="layout_title"] .happyforms-parts-list-item-title:before {
1190 background-image: url(../svg/icons/heading.svg);
1191 }
1192
1193 ul.happyforms-parts-list li[data-part-type="placeholder"] .happyforms-parts-list-item-title:before {
1194 background-image: url(../svg/icons/paragraph.svg);
1195 }
1196
1197 ul.happyforms-parts-list li[data-part-type="media"] .happyforms-parts-list-item-title:before {
1198 background-image: url(../svg/icons/media.svg);
1199 }
1200
1201 ul.happyforms-parts-list li[data-part-type="image"] .happyforms-parts-list-item-title:before {
1202 background-image: url(../svg/icons/image.svg);
1203 }
1204
1205 ul.happyforms-parts-list li[data-part-type="video"] .happyforms-parts-list-item-title:before {
1206 background-image: url(../svg/icons/video.svg);
1207 }
1208
1209 ul.happyforms-parts-list li[data-part-type="audio"] .happyforms-parts-list-item-title:before {
1210 background-image: url(../svg/icons/audio.svg);
1211 }
1212
1213 ul.happyforms-parts-list li[data-part-type="divider"] .happyforms-parts-list-item-title:before {
1214 background-image: url(../svg/icons/separator.svg);
1215 }
1216
1217 ul.happyforms-parts-list li[data-part-type="scrollable_terms_dummy"] .happyforms-parts-list-item-title:before {
1218 background-image: url(../svg/icons/scrollable-terms.svg);
1219 }
1220
1221 ul.happyforms-parts-list li[data-part-type="toggletip_dummy"] .happyforms-parts-list-item-title:before {
1222 background-image: url(../svg/icons/toggletip.svg);
1223 }
1224
1225
1226 ul.happyforms-parts-list .happyforms-parts-list-item-title {
1227 padding: 0 0 5px;
1228 }
1229
1230 ul.happyforms-parts-list .happyforms-parts-list-item-title h3 {
1231 margin: 0;
1232 font-size: 14px;
1233 line-height: 1.2;
1234 overflow: hidden;
1235 white-space: nowrap;
1236 text-overflow: ellipsis;
1237 }
1238
1239 ul.happyforms-parts-list .happyforms-parts-list-item-description {
1240 padding: 0;
1241 color: #72777c;
1242 font-size: 12px;
1243 }
1244
1245 .happyforms-parts-drawer-not-found {
1246 position: absolute;
1247 top: 50px;
1248 z-index: -1;
1249 left: 0;
1250 width: calc(100% - 30px);
1251 padding: 0 15px;
1252 }
1253
1254 .happyforms-part-widget .happyforms-widget-content {
1255 display: none;
1256 }
1257
1258 .happyforms-widget-expanded .happyforms-widget-content {
1259 display: block;
1260 }
1261
1262 ul.happyforms-style-controls {
1263 position: relative;
1264 float: left;
1265 width: 100%;
1266 height: 100%;
1267 overflow: hidden;
1268 }
1269
1270 ul.happyforms-style-controls .customize-control {
1271 margin-bottom: 20px;
1272 padding: 0 12px;
1273 box-sizing: border-box;
1274 }
1275
1276 /* Style view */
1277 .happyforms-stack-view.happyforms-style-view {
1278 padding: 0;
1279 overflow: hidden;
1280 top: 0;
1281 bottom: 0;
1282 }
1283
1284 ul.happyforms-style-controls .customize-control.happyforms-divider-control {
1285 margin-bottom: 0;
1286 padding: 0;
1287 transform: translateX(0);
1288 transition: .18s transform cubic-bezier(.645, .045, .355, 1),
1289 .18s -webkit-transform cubic-bezier(.645, .045, .355, 1);
1290 }
1291
1292 ul.happyforms-style-controls .customize-control.happyforms-divider-control:first-child {
1293 margin-top: 15px;
1294 border-top: 1px solid #ddd;
1295 }
1296
1297 ul.happyforms-style-controls .customize-control.happyforms-divider-control.inactive {
1298 transform: translateX(-100%);
1299 }
1300
1301 ul.happyforms-style-controls .customize-control.happyforms-divider-control.active {
1302 transform: translateX(0);
1303 }
1304
1305 ul.happyforms-style-controls .customize-control.happyforms-divider-control h3 {
1306 text-transform: capitalize;
1307 }
1308
1309 .happyforms-style-controls-group {
1310 position: absolute;
1311 top: 2px;
1312 left: 0;
1313 z-index: 9999;
1314 height: 0;
1315 overflow: hidden;
1316 width: 100%;
1317 background-color: #eee;
1318 }
1319
1320 .happyforms-style-controls-group.animate {
1321 transform: translateX(100%);
1322 transition: .18s transform cubic-bezier(.645, .045, .355, 1),
1323 .18s -webkit-transform cubic-bezier(.645, .045, .355, 1)
1324 }
1325
1326 .happyforms-style-controls-group .accordion-section-title {
1327 padding: 10px 10px 11px 14px;
1328 }
1329
1330 .happyforms-style-controls-group .accordion-section-title .panel-title {
1331 text-transform: capitalize;
1332 }
1333
1334 .happyforms-style-controls-group.open {
1335 height: 100%;
1336 overflow: auto;
1337 transform: translateX(0);
1338 }
1339
1340 .happyforms-style-controls-group.closing {
1341 transform: translateX(100%);
1342 }
1343
1344 .control-section h3.accordion-section-title,
1345 .control-section h3.accordion-section-title-dummy {
1346 padding-right: 30px;
1347 color: #3c434a;
1348 background-color: #fff;
1349 border-bottom: 1px solid #ddd;
1350 border-left: 4px solid #fff;
1351 transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
1352 font-size: 14px;
1353 cursor: pointer;
1354 }
1355
1356 .control-section h3.accordion-section-title:after,
1357 .control-section h3.accordion-section-title-dummy:after {
1358 content: "\f345" !important;
1359 font: normal 20px/1 dashicons;
1360 speak: none;
1361 display: block;
1362 -webkit-font-smoothing: antialiased;
1363 -moz-osx-font-smoothing: grayscale;
1364 text-decoration: none !important;
1365 position: absolute;
1366 top: 12px;
1367 right: 10px;
1368 z-index: 1;
1369 color: #a0a5aa;
1370 }
1371
1372 .control-section h3.accordion-section-title:hover,
1373 .control-section h3.accordion-section-title-dummy:hover {
1374 border-left-color: #0073aa;
1375 }
1376
1377 .control-section h3.accordion-section-title:hover,
1378 .control-section h3.accordion-section-title-dummy:hover {
1379 color: #0073aa;
1380 }
1381
1382 /* Tinymce control styles */
1383 .customize-control .mce-tinymce {
1384 box-sizing: border-box;
1385 box-shadow: none;
1386 }
1387
1388 /* Range control styles */
1389 li.customize-control.happyforms-range-control:after {
1390 content: '';
1391 display: table;
1392 clear: both;
1393 }
1394
1395 li.customize-control.happyforms-range-control label {
1396 display: block;
1397 }
1398
1399 .happyforms-range-control-wrap {
1400 display: flex;
1401 flex-flow: row wrap;
1402 align-items: center;
1403 }
1404
1405 .happyforms-range-control-wrap.has-unit-switch input[type=range] {
1406 margin-left: 10px;
1407 }
1408
1409 li.customize-control.happyforms-range-control select.happyforms-unit-switch {
1410 width: 50px;
1411 height: 30px;
1412 }
1413
1414 .happyforms-parts-expand-collapse-wrap {
1415 float: right;
1416 font-weight: normal;
1417 font-size: 11px;
1418 }
1419
1420 .happyforms-parts-expand-collapse-wrap .expand-collapse-all {
1421 display: none;
1422 }
1423
1424 .happyforms-parts-expand-collapse-wrap .expand-collapse-all.show {
1425 display: block;
1426 }
1427
1428 #customize-control-html_id input,
1429 #customize-control-submit_button_html_class input,
1430 .happyforms-widget-content input[data-bind=css_class] {
1431 font-family: Consolas, Monaco, monospace;
1432 direction: ltr;
1433 unicode-bidi: embed;
1434 }
1435
1436 .happyforms-widget-content textarea[data-bind=description],
1437 .happyforms-widget-content textarea[data-option-attribute=description] {
1438 height: 90px;
1439 }
1440
1441 #customize-control-dropdowns,
1442 #customize-control-tables {
1443 display: none;
1444 }
1445
1446 .happyforms-style-view.has-placeholder #customize-control-part_toggle_placeholders,
1447 .happyforms-style-view.has-address #customize-control-dropdowns,
1448 .happyforms-style-view.has-checkbox #customize-control-checkboxes-radios,
1449 .happyforms-style-view.has-radio #customize-control-checkboxes-radios,
1450 .happyforms-style-view.has-table #customize-control-checkboxes-radios,
1451 .happyforms-style-view.has-rating #customize-control-rating,
1452 .happyforms-style-view.has-table #customize-control-tables,
1453 .happyforms-style-view.has-divider #customize-control-dividers,
1454 .happyforms-style-view.has-submit-inline #customize-control-submit_button_part_of_last_input {
1455 display: block;
1456 }
1457
1458 /**
1459 *
1460 * Narrative part
1461 *
1462 */
1463 i.mce-i-happyforms_narrative_input {
1464 font: normal 20px/1 dashicons;
1465 }
1466
1467 i.mce-i-happyforms_narrative_input:after {
1468 content: "\f101";
1469 }
1470
1471 .happyforms-widget-form .mce-btn.mce-active,
1472 .happyforms-widget-form .mce-btn.mce-active button,
1473 .happyforms-widget-form .mce-btn.mce-active i,
1474 .happyforms-widget-form .mce-btn.mce-active:hover button,
1475 .happyforms-widget-form .mce-btn.mce-active:hover i {
1476 color: inherit;
1477 }
1478 /**
1479 *
1480 * Group settings
1481 *
1482 */
1483
1484 .happyforms-group-settings .happyforms-group-settings-description {
1485 margin-top: 0px;
1486 }
1487
1488 .happyforms-group-settings {
1489 margin-bottom: 10px;
1490 padding-top: 10px;
1491 padding-bottom: 10px;
1492 border-top: 1px solid #ddd;
1493 }
1494
1495 .happyforms-group-settings:first-child {
1496 border-top: 0px;
1497 }
1498
1499 /**
1500 *
1501 * Nested settings
1502 *
1503 */
1504 .happyforms-nested-settings {
1505 margin-left: 8px;
1506 padding-left: 16px;
1507 border-left: 1px solid #eee;
1508 }
1509 .happyforms-setup-view .happyforms-nested-settings,
1510 .happyforms-email-view .happyforms-nested-settings,
1511 .happyforms-messages-view .happyforms-nested-settings {
1512 margin-top: -5px;
1513 margin-bottom: 12px;
1514 padding-top: 5px;
1515 border-left-color: #ddd;
1516 }
1517 .happyforms-nested-settings .customize-control:last-of-type {
1518 margin-bottom: 0;
1519 padding-bottom: 0;
1520 border-bottom: 0;
1521 }
1522
1523 #customize-control-additional_css_divider + li {
1524 margin-bottom: 0;
1525 }
1526 #customize-control-additional_css {
1527 margin-bottom: 0;
1528 padding: 0;
1529 height: calc(100vh - 387px);
1530 }
1531 #customize-control-additional_css .customize-control-content,
1532 #customize-control-additional_css textarea[data-attribute],
1533 #customize-control-additional_css .CodeMirror {
1534 height: 100%;
1535 }
1536
1537 #customize-control-additional_css textarea[data-attribute] {
1538 font-family: Consolas, Monaco, monospace;
1539 font-size: 12px;
1540 padding: 6px 8px;
1541 -moz-tab-size: 2;
1542 -o-tab-size: 2;
1543 tab-size: 2;
1544 }
1545
1546 div.customize-section-description {
1547 margin: -16px 0 15px;
1548 padding: 12px 15px;
1549 border-top: 1px solid #ddd;
1550 color: #3c434a;
1551 background: #fff;
1552 }
1553
1554 .wp-editor-float-right {
1555 float: right;
1556 }
1557
1558 #happyforms-redirect-upsell {
1559 display: none;
1560 }
1561
1562 #customize-control-confirm_submission[data-value="redirect"] ~ #happyforms-redirect-upsell {
1563 display: block;
1564 }
1565
1566 #customize-control-confirm_submission[data-value="redirect"] ~ .happyforms-nested-settings[data-trigger="confirm_submission"] {
1567 display: none;
1568 }
1569
1570 #customize-control-confirm_submission[data-value="redirect"] ~ .happyforms-nested-settings[data-trigger="confirm_submission"] {
1571 display: block;
1572 }
1573
1574 [class*='et-core-'] {
1575 display: none !important;
1576 }
1577
1578 ul.happyforms-parts-list li.happyforms-parts-list-item--group,
1579 ul.happyforms-parts-list li.happyforms-parts-list-item--group:hover {
1580 cursor: default;
1581 padding-left: 15px;
1582 border-left: 4px solid #eee;
1583 border-bottom-color: #ccc;
1584 background-color: #eee;
1585 }
1586
1587 ul.happyforms-parts-list li.happyforms-parts-list-item--group .happyforms-parts-list-item-title {
1588 padding-bottom: 0;
1589 }
1590
1591 ul.happyforms-parts-list li.happyforms-parts-list-item--group .happyforms-parts-list-item-title h3 {
1592 pointer-events: none;
1593 -moz-user-select: none;
1594 -webkit-user-select: none;
1595 user-select: none;
1596 font-size: 13px;
1597 }
1598
1599 .number-options--numeric {
1600 display: flex;
1601 }
1602
1603 .number-options--numeric > * {
1604 width: 50%;
1605 margin: 0;
1606 padding: 0 5px;
1607 }
1608
1609 .number-options--numeric > *:first-child {
1610 padding-left: 0;
1611 }
1612
1613 .number-options--numeric > *:last-child {
1614 padding-right: 0;
1615 }
1616
1617 .happyforms-widget-form .happyforms-widget-row {
1618 display: flex;
1619 flex-wrap: wrap;
1620 }
1621
1622 .happyforms-widget-form .happyforms-widget-cols.width-half {
1623 width: 50%;
1624 padding-right: 5px;
1625 flex: 0 50%;
1626 box-sizing: border-box;
1627 }
1628 .happyforms-widget-form .happyforms-widget-cols.width-half:nth-child(n+2) {
1629 padding-right: 0px;
1630 padding-left: 5px;
1631 }
1632
1633 /*
1634 .happyforms-messages-view .customize-control {
1635 display: block;
1636 }*/
1637
1638 .happyforms-stack-view .customize-control div.label-group{
1639 display:flex;
1640 justify-content: space-around;
1641 }
1642
1643 .happyforms-stack-view .customize-control div.label-group input[data-bind='label'] {
1644 width:80%;
1645 margin-right:1%;
1646 }
1647
1648 .happyforms-stack-view .customize-control div.label-group input.hidden_text {
1649 width: 100%;
1650 margin-right: 0;
1651 }
1652
1653 .happyforms-stack-view .customize-control div.label-group select[data-bind='label_placement'] {
1654 width:20%;
1655 }
1656
1657 div.label-field-group {
1658 margin-top: 15px;
1659 line-height: 1.5;
1660 }
1661
1662 ul.happyforms-parts-list li[data-part-type="media"] {
1663 display: none;
1664 }
1665
1666 /**
1667 *
1668 * Rich text part
1669 *
1670 */
1671 ul.happyforms-parts-list li[data-part-type="rich_text"] {
1672 display: none;
1673 }
1674
1675 /**
1676 *
1677 * Rank field part
1678 *
1679 */
1680 ul.happyforms-parts-list li[data-part-type="rank_order"] {
1681 display: none;
1682 }
1683
1684 /**
1685 *
1686 * Poll field
1687 *
1688 */
1689 ul.happyforms-parts-list li[data-part-type="poll"], {
1690 display: none;
1691 }
1692
1693
1694 .happyforms-buttongroup-wrapper {
1695 line-height: 1.5;
1696 }
1697
1698
1699 .happyforms-buttongroup {
1700 display: flex;
1701 }
1702
1703 .happyforms-buttongroup label {
1704 display: inline-flex;
1705 }
1706
1707 .happyforms-buttongroup label span {
1708 box-shadow: inset 0 0 0 1px #8c8f94;
1709 padding: 0 8px;
1710 font-size: 14px;
1711 line-height: 30px;
1712 }
1713
1714 .happyforms-buttongroup label:first-child span{
1715 border-radius: 4px 0 0 4px;
1716 }
1717
1718 .happyforms-buttongroup label:last-child span{
1719 border-radius: 0 4px 4px 0;
1720 }
1721
1722 .happyforms-buttongroup label:nth-child(n+1) {
1723 margin-left: -1px;
1724 }
1725
1726 .happyforms-buttongroup label input[type='radio'] {
1727 appearance: none;
1728 -webkit-appearance: none;
1729 -moz-appearance: none;
1730 background-color: #fff;
1731 margin: 0;
1732 width: 0;
1733 min-width: 0px;
1734 height: 0;
1735 border: 0;
1736 }
1737
1738
1739 .happyforms-buttongroup label span:hover {
1740 color: var(--wp-admin-theme-color);
1741 }
1742
1743 .happyforms-buttongroup input[type='radio']:checked + span {
1744 white-space: nowrap;
1745 background: var(--wp-admin-theme-color);
1746 color: #fff;
1747 text-decoration: none;
1748 text-shadow: none;
1749 outline: 1px solid transparent;
1750 }
1751
1752 .happyforms-buttongroup input:focus + span {
1753 box-shadow: inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1754 outline: 3px solid transparent;
1755 z-index: 999;
1756 }
1757
1758
1759 .happyforms-buttongroup input[type='radio']:checked + span:hover,
1760 .happyforms-buttongroup input:focus + span:hover {
1761 background: var(--wp-admin-theme-color-darker-10);
1762 }
1763
1764 .happyforms-buttongroup label[for]:after {
1765 content: none !important;
1766 }
1767
1768 .happyforms-buttongroup.happyforms-buttongroup-field_width {
1769 margin-top: -1px;
1770 }
1771
1772 .happyforms-widget-content textarea[data-option-attribute=description] {
1773 margin-bottom: 5px;
1774 }
1775
1776
1777 /* New Choice Interface */
1778
1779 .happyforms-choice-item-widget {
1780 cursor: move;
1781 }
1782
1783 .happyforms-part-widget .options .happyforms-choice-item-widget h3 {
1784 display: block;
1785 }
1786
1787 .happyforms-choice-item-widget .happyforms-part-item-body {
1788 padding: 0 10px;
1789 margin-top: -13px;
1790 padding-top: 12px;
1791 z-index: 9;
1792 position: relative;
1793 }
1794
1795 .happyforms-choice-item-widget.happyforms-widget-choice-expanded .happyforms-part-item-body {
1796 border: 1px solid #ccd0d4;
1797 border-top: 0;
1798 }
1799
1800 .happyforms-widget-expanded .happyforms-choice-item-widget .happyforms-advanced-option-action .toggle-indicator:before {
1801 content: '\f140';
1802 }
1803
1804 .happyforms-widget-expanded .happyforms-choice-item-widget .happyforms-advanced-option-action .toggle-indicator.opened:before {
1805 content: '\f142';
1806 }
1807
1808 .happyforms-choice-item-widget {
1809 background: #fff;
1810 color: #23282d;
1811 line-height: 1.4em;
1812 -webkit-transition: opacity 0.5s;
1813 transition: opacity 0.5s;
1814 z-index: 1;
1815 }
1816
1817 .happyforms-choice-item-widget .happyforms-part-item-handle {
1818 border: 1px solid #ccd0d4;
1819 overflow: hidden;
1820 position: relative;
1821 z-index: 99;
1822 }
1823
1824 .happyforms-choice-item-widget .happyforms-part-item-handle:hover {
1825 border-color: #999;
1826 -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
1827 box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
1828 }
1829
1830 .happyforms-part-widget .happyforms-choice-item-widget .option-actions {
1831 text-align: left;
1832 }
1833
1834 .happyforms-part-widget .links .button {
1835 float: right;
1836 margin: 0;
1837 }
1838
1839 .happyforms-part-widget .links .button {
1840 float: right;
1841 margin-right: 5px;
1842 }
1843
1844 .happyforms-part-widget .links {
1845 text-align: right;
1846 display: block;
1847 clear: both;
1848 padding: 0px 0 30px 0px;
1849 }
1850
1851 .happyforms-item-choice-widget-title .choice-in-widget-title {
1852 color: #646970;
1853 }
1854
1855 .happyforms-part-widget[data-part-type="radio"] .links.mode-manual .button:first-child,
1856 .happyforms-part-widget[data-part-type="radio"] .links.mode-import .button:first-child {
1857 margin-right: 0px;
1858 }
1859
1860 .customize-control-panel_dummy .accordion-section-title-dummy {
1861 margin: 0;
1862 padding: 10px 10px 11px 14px;
1863 }
1864
1865 /* deprecated message fields */
1866 #customize-control-no_results_label {
1867 display: none;
1868 }
1869
1870 /**
1871 *
1872 * Uploader
1873 *
1874 */
1875 img.happyforms-upload-preview {
1876 display: none;
1877 width: auto;
1878 height: auto;
1879 max-width: 100%;
1880 max-height: 120px;
1881 }
1882
1883 .happyforms-upload-preview {
1884 display: none;
1885 }
1886
1887 .happyforms-upload-preview.show {
1888 display: block;
1889 }
1890
1891 .wp-core-ui .happyforms-media-upload button.button-add-media,
1892 .wp-core-ui .happyforms-media-upload button.happyforms-change-button {
1893 display: none;
1894 }
1895
1896 .wp-core-ui .happyforms-media-upload button.button-add-media.show,
1897 .wp-core-ui .happyforms-media-upload button.happyforms-change-button.show {
1898 display: inline-block;
1899 }
1900
1901 .happyforms-widget[data-part-type="media"] .happyforms-upload-actions button,
1902 .happyforms-widget[data-part-type="image"] .happyforms-upload-actions button {
1903 width: 100%;
1904 }
1905
1906 .happyforms-part-widget[data-part-type="placeholder"] .wp-switch-editor {
1907 display: none;
1908 }
1909