PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 1.9.9
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v1.9.9
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / assets / css / everest-forms.scss
everest-forms / assets / css Last commit date
components 5 years ago jquery-confirm 8 years ago jquery-ui 8 years ago mixins 5 years ago perfect-scrollbar 7 years ago utility 5 years ago variables 5 years ago _animation.scss 7 years ago _backbone.scss 7 years ago _clearings.scss 6 years ago _colors.scss 6 years ago _confirm.scss 4 years ago _containers.scss 5 years ago _fonts.scss 5 years ago _grid.scss 5 years ago activation-rtl.css 3 years ago activation.css 3 years ago activation.css.map 5 years ago activation.scss 3 years ago admin-rtl.css 3 years ago admin.css 3 years ago admin.css.map 4 years ago admin.scss 3 years ago deactivation-feedback-rtl.css 3 years ago deactivation-feedback.css 3 years ago deactivation-feedback.scss 3 years ago everest-forms-rtl.css 3 years ago everest-forms.css 3 years ago everest-forms.css.map 4 years ago everest-forms.scss 3 years ago flatpickr-rtl.css 4 years ago flatpickr.css 4 years ago flatpickr.css.map 5 years ago flatpickr.scss 6 years ago menu-rtl.css 3 years ago menu.css 3 years ago menu.css.map 5 years ago menu.scss 3 years ago select2-rtl.css 4 years ago select2.css 4 years ago select2.css.map 5 years ago select2.scss 5 years ago
everest-forms.scss
925 lines
1 /**
2 * everest-forms.scss
3 * Governs the general look and feel of EverestForms sections of sites using themes that do not
4 * integrate with EverestForms specifically.
5 */
6
7 /**
8 * Imports
9 */
10 @import 'mixins/mixins';
11 @import 'variables/variables';
12 @import 'animation';
13 @import 'fonts';
14 @import 'clearings';
15
16 /**
17 * Global styles
18 */
19 .screen-reader-text {
20 clip: rect(1px, 1px, 1px, 1px);
21 height: 1px;
22 overflow: hidden;
23 position: absolute !important;
24 width: 1px;
25 word-wrap: normal !important;
26 }
27
28 /**
29 * Utility classes
30 */
31 .clear {
32 clear: both;
33 }
34
35 /**
36 * Main EverestForms styles
37 */
38 .everest-forms {
39 *,
40 *::before,
41 *::after {
42 outline: none;
43 box-sizing: border-box;
44 }
45
46 ul {
47 margin-left: 0;
48 }
49
50 .blockUI.blockOverlay {
51 position: relative;
52 @include loader();
53 }
54
55 .clear {
56 height: auto;
57 width: auto;
58 visibility: visible;
59 }
60
61 .loader {
62 @include loader();
63 }
64
65 .evf-container {
66 margin-bottom: 30px;
67 }
68
69 .everest-forms-progress-bar {
70 background: $color_gray-lighten;
71 border-radius: 2px;
72
73 .everest-forms-progress-bar-indicator {
74 height: 4px;
75 background: $green;
76 border-radius: 2px;
77 }
78 }
79
80 label {
81 display: block;
82 line-height: 1.7;
83 margin: 0 0 10px 0;
84 color: $color_gray-base;
85 font-size: $font_size-label;
86
87 .required {
88 color: $red;
89 font-weight: 700;
90 border: 0 !important;
91 text-decoration: none;
92 }
93
94 &.evf-field-label {
95 font-weight: 600;
96 }
97
98 &.evf-error {
99 color: $red;
100 font-weight: 400;
101 }
102
103 &.everest-forms-field-sublabel {
104 font-size: 12px;
105 font-weight: 400;
106 line-height: 1.5;
107 margin: 0 0 10px 0;
108 }
109
110 &.evf-privacy-policy-consent-message {
111 display: inline;
112 margin-bottom: 0;
113 }
114 }
115
116 input[type='text']='text'],
117 input[type='date']='date'],
118 input[type='date']='date'],
119 input[type='datetime-local']='datetime-local'],
120 input[type='email']='email'],
121 input[type='file']='file'],
122 input[type='image']='image'],
123 input[type='month']='month'],
124 input[type='number']='number'],
125 input[type='password']='password'],
126 input[type='range']='range'],
127 input[type='search']='search'],
128 input[type='tel']='tel'],
129 input[type='time']='time'],
130 input[type='url']='url'],
131 input[type='week']='week'],
132 select,
133 textarea,
134 .StripeElement,
135 canvas.evf-signature-canvas {
136 width: 100%;
137 height: auto;
138 font-size: 14px;
139 outline: none;
140 box-shadow: none;
141 margin-bottom: 10px;
142 padding: 6px 12px;
143 color: $color_gray-base;
144 border: 1px solid $color_gray-light;
145 margin-left: 0;
146 margin-right: 0;
147 }
148 input[type='checkbox']='checkbox'],
149 input[type='radio']='radio'] {
150 &::after,
151 &::before {
152 display: none;
153 }
154 &:checked::before {
155 display: none;
156 }
157 }
158 select {
159 background-image: none;
160 }
161 .select2-container {
162 margin-bottom: 10px;
163
164 .select2-selection {
165 &.select2-selection--single {
166 height: auto;
167 }
168
169 &.select2-selection--multiple {
170 .select2-selection__rendered {
171 display: block;
172
173 li {
174 margin: 4px 0;
175
176 .select2-search__field {
177 padding-left: 4px;
178 }
179 }
180
181 .select2-selection__choice {
182 margin-right: 4px;
183 }
184 }
185 }
186 }
187 }
188
189 input,
190 textarea {
191 &:focus {
192 outline: none;
193 border: 1px solid $blue;
194 }
195 }
196
197 .everest-form {
198 &::after {
199 content: '';
200 clear: both;
201 display: table;
202 }
203 }
204
205 .everest-forms-field-row {
206 &::before,
207 &::after {
208 content: '';
209 clear: both;
210 display: table;
211 }
212
213 &:last-child {
214 .everest-forms-field-sublabel {
215 margin-bottom: 0;
216 }
217 }
218 }
219
220 .evf-title-container {
221 .everest-forms--title {
222 font-size: 26px;
223 margin: 0 0 10px 0;
224 }
225
226 .everest-forms--description {
227 margin: 0 0 10px 0;
228 }
229 }
230 .evf-field-container,
231 .evf-honeypot-container,
232 .evf-submit-container {
233 padding-left: 15px;
234 padding-right: 15px;
235
236 }
237 .evf-field-container {
238 .evf-frontend-row {
239 // Prevents style conflict on entries list-table.
240 &:not(.wp-list-table) {
241 display: flex;
242 flex-wrap: wrap;
243 margin-left: -15px;
244 margin-right: -15px;
245
246 select {
247 appearance: menulist;
248 }
249 }
250
251 .everest-forms-one-half {
252 width: 48%;
253 float: left;
254 margin-left: 4%;
255
256 &:first-child {
257 margin-left: 0;
258 }
259 }
260
261 .everest-forms-first {
262 margin-left: 0;
263 }
264
265 .evf-frontend-grid {
266 width: 100%;
267 padding-left: 15px;
268 padding-right: 15px;
269
270 .evf-field {
271 display: block;
272 margin-bottom: 10px;
273
274 &.evf-field-hidden {
275 display: none;
276 }
277
278 .evf-label-hide,
279 .everest-forms-sublabel-hide {
280 display: none;
281 }
282
283 .validate-required {
284 canvas {
285 &.evf-signature-canvas {
286 border-color: $red;
287 }
288 }
289 }
290
291 ul:not(.select2-selection__rendered) {
292 margin-bottom: 10px;
293 padding: 0;
294 list-style: none;
295
296 li {
297 margin: 0;
298 display: block;
299
300 label,
301 input {
302 margin: 0;
303 }
304
305 input[type='checkbox']='checkbox'],
306 input[type='radio']='radio'] {
307 padding: 0;
308 margin-top: 4px;
309 margin-right: 8px;
310 width: 20px;
311 }
312 }
313 }
314
315 &.evf-field-title {
316 h3 {
317 margin: 25px 0;
318 font-size: 16px;
319 line-height: 1.5;
320 }
321 }
322
323 &.everest-forms-invalid {
324 > label {
325 color: $red;
326 }
327
328 .select2-container,
329 input.evf-error,
330 select.evf-error,
331 textarea,
332 .evf-signature-canvas {
333 border-color: $red;
334 }
335
336 input {
337 &.evf-error {
338 border-color: $red;
339 ~ .everest-forms-field-sublabel {
340 color: $red;
341 }
342 }
343 }
344 }
345
346 &.everest-forms-validated {
347 select,
348 textarea,
349 input.input-text,
350 .select2-container,
351 .evf-signature-canvas {
352 border-color: $green;
353 }
354 }
355
356 ::-webkit-input-placeholder {
357 line-height: normal;
358 }
359
360 :-moz-placeholder {
361 line-height: normal;
362 }
363
364 :-ms-input-placeholder {
365 line-height: normal;
366 }
367
368 &.evf-field-radio,
369 &.evf-field-checkbox,
370 &.evf-field-payment-multiple,
371 &.evf-field-payment-checkbox {
372 ul {
373 li {
374 display: flex;
375 margin-bottom: 5px;
376 flex-wrap: wrap;
377
378 &.everest-forms-image-choices-item {
379 input {
380 margin-top: 0;
381 }
382 }
383 .everest-forms-field-label-inline {
384 width: calc(100% - 28px);
385 }
386 &.everest-forms-image-choices-item .everest-forms-field-label-inline {
387 width: 100%;
388 display: flex;
389 flex-wrap: wrap;
390 }
391 .everest-forms-image-choices-image {
392 margin-right: 10px;
393 }
394 }
395
396 &.everest-forms-image-choices label {
397 cursor: pointer;
398 }
399 }
400
401 &.everest-forms-list-inline ul li {
402 vertical-align: top;
403 display: inline-flex;
404 margin-right: 20px;
405 }
406
407 &.everest-forms-list-2-columns,
408 &.everest-forms-list-3-columns {
409 ul {
410 display: flex;
411 flex-wrap: wrap;
412 margin-left: -15px;
413 margin-right: -15px;
414
415 li {
416 width: 100%;
417 padding-left: 15px;
418 padding-right: 15px;
419
420 .everest-forms-image-choices-image {
421 margin-bottom: 10px;
422 }
423 }
424 }
425 }
426
427 &.everest-forms-list-2-columns {
428 @media (min-width: 768px) {
429 li {
430 flex: 0 0 50%;
431 max-width: 50%;
432
433 &:nth-child(1n + 3) {
434 margin-top: 10px;
435
436 @media screen and (max-width: 768px) {
437 margin-top: 0;
438 }
439 }
440 }
441 }
442 }
443
444 &.everest-forms-list-3-columns {
445 @media (min-width: 768px) {
446 li {
447 flex: 0 0 33.33333%;
448 max-width: 33.33333%;
449
450 &:nth-child(1n + 4) {
451 margin-top: 10px;
452 }
453 }
454 }
455 }
456 }
457
458 &.evf-field-captcha {
459 .everest-forms-captcha-equation {
460 font-size: 16px;
461 }
462
463 .everest-forms-captcha-question {
464 margin: 0 0 4px 0;
465 }
466
467 .everest-forms-captcha-math input {
468 width: 70px;
469 margin: 0 0 0 5px;
470 display: inline-block;
471 vertical-align: inherit;
472 }
473 }
474
475 .iti {
476 &.iti--allow-dropdown {
477 & + .evf-error {
478 margin-top: 10px;
479 }
480 }
481 }
482 }
483 }
484
485 .evf-grid-1 {
486 width: 100%;
487 }
488
489 .evf-grid-2 {
490 width: 50%;
491 }
492
493 .evf-grid-3 {
494 width: 33.33%;
495 }
496
497 .evf-grid-4 {
498 width: 25%;
499 }
500
501 input {
502 &[type='checkbox']='checkbox'],
503 &[type='radio']='radio'] {
504 box-shadow: none;
505 }
506
507 &[type='checkbox']='checkbox'] {
508 appearance: checkbox;
509 }
510
511 &[type='radio']='radio'] {
512 appearance: radio;
513 }
514
515 &[type='checkbox']='checkbox']:checked {
516 background-color: $blue;
517
518 &::before {
519 color: $color-white;
520 background-color: transparent;
521 }
522 }
523
524 &[type='radio']='radio']:checked {
525 &::before {
526 background-color: $blue;
527 }
528 }
529
530 &::placeholder {
531 color: $color_gray-light;
532 }
533 }
534
535 textarea {
536 width: 100%;
537 max-width: 100%;
538 min-width: 100%;
539 height: 120px;
540
541 &::placeholder {
542 color: $color_gray-light;
543 }
544 }
545
546 .evf-field-description,
547 .everest-forms-field-limit-text {
548 line-height: 1.7;
549 margin-bottom: 10px;
550 font-size: $font_size-label;
551 }
552 }
553 }
554
555 input[type='submit']='submit'],
556 button[type='submit']='submit'],
557 a.button:not(.button-large),
558 button.button:not(.button-large),
559 .everest-forms-part-button {
560 color: #555;
561 height: auto;
562 cursor: pointer;
563 background: none;
564 box-shadow: none;
565 font-size: inherit;
566 font-weight: 400;
567 line-height: 1.5;
568 padding: 10px 15px;
569 border-radius: 3px;
570 border: 1px solid #ccc;
571 background-color: #f7f7f7;
572
573 &:hover,
574 &:active {
575 outline: none;
576 color: #23282d;
577 background-color: #eee;
578 }
579
580 &:disabled {
581 opacity: 0.5;
582 cursor: not-allowed;
583
584 &:hover {
585 color: #555;
586 background-color: #f7f7f7;
587 }
588 }
589 }
590
591 .layout-two {
592 label {
593 margin-bottom: 0;
594 }
595
596 .evf-field-checkbox,
597 .evf-field-radio {
598 label {
599 margin-bottom: 20px;
600 }
601 }
602
603 input,
604 select,
605 textarea,
606 canvas.evf-signature-canvas {
607 border-radius: 0;
608 border-top: none transparent;
609 border-right: none transparent;
610 border-left: none transparent;
611 border-bottom: 1px solid $color_gray-light;
612 padding: 10px 0;
613
614 &:focus {
615 outline: none;
616 border-top: none transparent;
617 border-right: none transparent;
618 border-left: none transparent;
619 }
620 }
621
622 textarea {
623 height: 100px;
624 }
625 }
626
627 /**
628 * Notices.
629 */
630 .everest-forms-notice {
631 padding: 1em 3em;
632 margin: 0 0 2em;
633 position: relative;
634 background-color: $blue;
635 color: $color-white;
636 border-radius: 5px;
637 @include clearfix();
638
639 &::before {
640 font-family: dashicons;
641 content: '\f348';
642 position: absolute;
643 top: 1em;
644 left: 1.5em;
645 color: inherit;
646 }
647
648 .button {
649 float: right;
650 }
651
652 p {
653 margin-bottom: 0;
654 }
655
656 a {
657 color: $color-white;
658 }
659
660 li {
661 list-style: none outside !important; // Required for default theme compatibility
662 padding-left: 0 !important; // Required for default theme compatibility
663 margin-left: 0 !important; // Required for default theme compatibility
664 }
665
666 &.everst-forms-form-disable-notice {
667 color: $color_gray-base;
668 background: lighten($orange, 47%);
669 border: 1px solid adjust-color($orange, $saturation: -15%, $lightness: +20%);
670 }
671 }
672
673 .everest-forms-notice--info {
674 padding: 1em 1.6em;
675 color: $color_gray-base;
676 background: lighten($blue, 47%);
677 border: 1px solid adjust-color($blue, $saturation: -15%, $lightness: +20%);
678
679 &::before {
680 visibility: hidden;
681 }
682
683 .everest-forms-notice--actions {
684 margin-top: 10px;
685
686 a.button {
687 float: left;
688 line-height: 1;
689 cursor: pointer;
690 margin-right: 7px;
691 padding: 0.618em 1em;
692 box-shadow: none;
693 text-shadow: none;
694 text-decoration: none;
695 background-image: none;
696 color: $color_gray-base;
697 background-color: $color_gray-light-skin;
698
699 &:focus {
700 outline: none;
701 }
702 }
703 }
704 }
705
706 .everest-forms-notice--success {
707 background-color: $green;
708
709 &::before {
710 content: '\f147';
711 }
712 }
713
714 .everest-forms-notice--warning {
715 background-color: $orange;
716 }
717
718 .everest-forms-notice--error {
719 background-color: $red;
720
721 &::before {
722 content: '\f534';
723 color: inherit;
724 }
725
726 .everest-forms-notice-list {
727 margin: 0;
728 list-style: none outside;
729
730 .everest-forms-notice-list__item {
731 margin-bottom: 0.5em;
732 }
733 .everest-forms-notice-list__item:last-child {
734 margin-bottom: 0;
735 }
736 }
737 }
738 }
739
740 /**
741 * Gutenberg Block
742 */
743
744 .edit-post-visual-editor {
745 .everest-form-gutenberg-form-selector-wrap {
746 align-items: center;
747
748 .components-placeholder__label {
749 margin-bottom: 0;
750
751 svg {
752 width: 75px;
753 height: 75px;
754 color: #7e3bd0;
755 }
756 }
757
758 .components-placeholder__instructions {
759 color: #23282d;
760 font-size: 1.3em;
761 font-weight: 600;
762 }
763
764 .components-placeholder__fieldset {
765 .components-base-control {
766 width: 100%;
767 text-align: center;
768 }
769 }
770 }
771 }
772
773 div.evf-gutenberg-form-selector .evf-frontend-row input:disabled,
774 div.evf-gutenberg-form-selector .evf-frontend-row textarea:disabled,
775 div.evf-gutenberg-form-selector .evf-frontend-row select:disabled,
776 div.evf-gutenberg-form-selector .evf-frontend-row button[type='submit']='submit']:disabled {
777 cursor: not-allowed;
778 }
779
780 /**
781 * Anti-spam Honeypot and reCAPTCHA Area
782 */
783 .evf-honeypot-container {
784 display: none !important;
785 position: absolute !important;
786 left: -9000px !important;
787 }
788
789 .evf-recaptcha-container {
790 clear: both;
791 margin-bottom: 30px;
792
793 .evf-error {
794 margin-top: 15px;
795 margin-bottom: 0;
796 font-weight: 300;
797 line-height: 1.7;
798 padding: 7px 10px;
799 border-radius: 3px;
800 display: inline-block;
801 color: darken($red, 10%);
802 border: 1px solid $red;
803 background-color: lighten($red, 35%);
804 }
805
806 &.recaptcha-hidden {
807 margin: 0;
808 }
809 }
810
811 /**
812 * Date time design
813 */
814 .evf-field-date-time {
815 .date-time-container {
816 display: -webkit-box;
817 display: -moz-box;
818 display: -ms-flexbox;
819 display: -webkit-flex;
820 display: flex;
821 flex-wrap: nowrap;
822 margin: 0 -5px;
823 @media (max-width: 767px) {
824
825 justify-content: space-between;
826
827 margin: 0;
828
829 }
830 input.date-dropdown-field {
831 width: 100%;
832 margin: 0 5px;
833 }
834 .date-time-space-filler {
835 width: 20px;
836 @media (max-width: 767px) {
837 width: 100%;
838 }
839 }
840 select {
841 margin: 0 5px 0 5px;
842 width: calc(100% - 66.6%);
843 @media (max-width: 767px) {
844 width: calc(33.33% - 10px);
845 margin: 0;
846 }
847 }
848 }
849 }
850 /* Small devices */
851 @media only screen and (max-width: 600px) {
852 .evf-container {
853 .evf-field {
854 > * {
855 max-width: 100%;
856 }
857
858 &:not(.evf-field-phone) {
859 overflow-x: hidden;
860 }
861
862 &.evf-field,
863 &.evf-field-likert {
864 overflow: auto;
865 }
866 }
867 }
868 }
869
870 @media screen and (min-width: 768px) {
871 .everest-forms {
872 .evf-field-container {
873 .evf-frontend-row {
874 .evf-frontend-grid {
875 &.evf-grid-2 {
876 flex: 0 0 50%;
877 max-width: 50%;
878 }
879 }
880 }
881 }
882 }
883 }
884 @media screen and (max-width: 768px) {
885 .everest-forms {
886 .evf-field-container {
887 .evf-frontend-row {
888 flex-direction: column;
889 margin: 0;
890
891 .evf-frontend-grid {
892 padding: 0;
893
894 &:last-child {
895 margin-bottom: 0;
896 }
897
898 &.evf-grid-2,
899 &.evf-grid-3,
900 &.evf-grid-4 {
901 width: 100%;
902 max-width: 100%;
903 }
904 }
905 }
906 }
907 .evf-recaptcha-container {
908 margin: 25px 0;
909 }
910 }
911 }
912 .wp-admin {
913 .evf-field-repeater-fields {
914 display: block !important;
915 }
916 }
917 /*
918 * Hide the form fields upon successful submission.
919 * Perhaps more robust: .everest-forms.amp-form-submit-success > *:not([submit-success]) { display:none }
920 */
921 .amp-form-submit-success .evf-field-container,
922 .amp-form-submit-success .evf-submit-container {
923 display: none;
924 }
925