PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.1.0
JetFormBuilder — Dynamic Blocks Form Builder v3.1.0
3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / assets / scss / editor / main.scss
jetformbuilder / assets / scss / editor Last commit date
components 3 years ago main.scss 3 years ago
main.scss
796 lines
1 @import "../components/progress-bar";
2 @import "./components/modal";
3 @import "./components/actions-plugin";
4 @import "../components/action-buttons";
5 @import "./components/toolbar";
6 @import "./components/buttons";
7 @import "./components/repeater";
8 @import "./components/controls";
9 @import "./components/toggle-group-control";
10 @import "./components/inspector-controls";
11
12 :root {
13 --jet-fb__range-field-slider--size: 18px;
14 --jet-fb__range-field-range--height: 4px;
15 }
16
17 .jet-form-builder {
18 background: #fff;
19 margin: 20px 0 0 0;
20 padding: 0;
21 border: 1px solid #ccd0d4;
22 }
23
24 .jet-form-builder > .components-drop-zone__provider {
25 display: flex;
26 justify-content: space-between;
27 min-height: 60vh;
28 flex-wrap: wrap;
29 }
30
31 .jet-form-builder__sidebar {
32 flex: 0 0 30%;
33 order: 2;
34 border-left: 1px solid #e2e4e7;
35 }
36
37 .jet-form-builder__content,
38 .editor-styles-wrapper {
39 flex: 0 0 65%;
40 padding: 10px 0 35px;
41 order: 1;
42 }
43
44 .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover:not(.is-horizontal).is-visible {
45 opacity: 1;
46 }
47
48 .editor-styles-wrapper .block-editor-block-list__block {
49 min-height: 45px;
50 }
51
52 .jet-form-builder .editor-post-title__block {
53 padding-left: 40px;
54 }
55
56 .block-editor-block-list__layout.is-root-container, .edit-post-visual-editor__post-title-wrapper {
57 padding: 0 20px;
58 }
59
60 .jet-form-builder__header {
61 width: 100%;
62 flex: 0 0 100%;
63 box-sizing: border-box;
64 display: flex;
65 padding: 0 40px 0 6px;
66 justify-content: space-between;
67 align-items: center;
68 border-bottom: 1px solid #e2e4e7;
69 height: 60px;
70 }
71
72 .jet-form-editor__macros-trigger {
73 height: 36px;
74 min-height: 36px;
75 }
76
77 .jet-form-editor__macros-inserter {
78 position: absolute;
79 right: 1px;
80 top: 14px;
81 z-index: 20;
82 background: whitesmoke;
83 }
84
85 .jet-form-dynamic-preset {
86 position: relative;
87
88 .components-base-control {
89 flex: 3;
90
91 .components-base-control__field {
92 border-top: unset;
93
94 textarea {
95 padding-right: 36px;
96 width: calc(100% - 31px);
97 }
98
99 input {
100 padding-right: 28px;
101 }
102 }
103 }
104
105 .jet-control-with-dynamic .components-base-control__field input {
106 margin-left: 6px;
107 }
108
109 &__trigger {
110 width: 31px;
111 height: 31px;
112 box-sizing: border-box;
113 display: flex;
114 align-items: center;
115 justify-content: center;
116 border-radius: 0 2px 2px 0;
117 border: 1px solid #757575;
118 margin: 26px 0 0 0;
119 cursor: pointer;
120 position: absolute;
121 right: 0;
122 top: 0;
123 z-index: 20;
124 }
125
126 &__trigger {
127 &.trigger__textarea {
128 margin-top: unset;
129 border-radius: 0 0 0 5px;
130 border-width: 0 0 1px 1px;
131 background-color: white;
132 top: 20px;
133 right: 1px;
134 }
135
136 &.trigger__text-control {
137 margin: 0;
138 border-width: 0 1px 1px 1px;
139 top: 14px;
140 right: 0;
141 border-left: unset;
142 }
143
144 &:not(.trigger__textarea) {
145 border-left-width: 0;
146 }
147
148 &:hover svg path {
149 fill: #007cba;
150 fill: var(--wp-admin-theme-color);
151 }
152
153 svg {
154 width: 50%;
155 }
156 }
157 }
158
159 .jet-form-builder__flex-controls {
160 display: flex;
161 }
162
163 .jet-form-builder__flex-controls .repeater-item-column label {
164 flex: 0 0 1em;
165 margin-right: 1em;
166 }
167
168 .jet-form-builder__flex-controls .repeater-item-column input {
169 margin-right: 1em;
170 }
171
172 .field-mime-types.field-mime-types select[multiple]] {
173 height: 7rem;
174 }
175
176 .field-mime-types.field-mime-types svg {
177 display: none;
178 }
179
180 .jet-user-meta-rows {
181 flex: 0 0 40%;
182 }
183
184 .jet-user-fields-map__list {
185 flex: 3;
186 padding-top: 0.5em;
187 margin-left: -6px;
188 }
189
190 .jet-user-fields-map__list .components-flex__item {
191 flex: 2;
192 }
193
194 .block-editor-block-list__block[data-type="jet-forms/form-break-field"]="jet-forms/form-break-field""] {
195 max-width: 100%;
196 margin-top: 28px;
197 margin-bottom: 28px;
198 }
199
200 .block-editor-block-list__block[data-type="jet-forms/group-break-field"]="jet-forms/group-break-field""] {
201 margin-top: 28px;
202 margin-bottom: 28px;
203 }
204
205 .block-editor-block-list__block[data-type="jet-forms/repeater-field"]="jet-forms/repeater-field""],
206 .block-editor-block-list__block[data-type="jet-forms/conditional-block"]="jet-forms/conditional-block""],
207 .block-editor-block-list__block[data-type^="jet-forms/"]^="jet-forms/""] .inside-block-options {
208 padding: 20px;
209 background: #fff;
210 -webkit-box-shadow: 0 2px 4px rgba(22, 43, 64, .1);
211 box-shadow: 0 2px 4px rgba(22, 43, 64, .1);
212 -webkit-transition: .3s all;
213 -o-transition: .3s all;
214 transition: .3s all;
215 }
216
217 .block-editor-block-list__block[data-type^="jet-forms/"]^="jet-forms/""] .inside-block-options {
218 margin-bottom: 20px;
219 }
220
221 .block-editor-block-list__block[data-type="jet-forms/repeater-field"]="jet-forms/repeater-field""]:hover,
222 .block-editor-block-list__block[data-type="jet-forms/conditional-block"]="jet-forms/conditional-block""]:hover {
223 -webkit-box-shadow: 0 20px 20px rgba(22, 43, 64, .12);
224 box-shadow: 0 20px 20px rgba(22, 43, 64, .12);
225 -webkit-transition: .3s all;
226 -o-transition: .3s all;
227 transition: .3s all;
228 }
229
230 .jet-form-builder__bottom-line {
231 display: block;
232 white-space: nowrap;
233
234 &:before {
235 content: "";
236 position: absolute;
237 bottom: 0;
238 left: 0;
239 right: 0;
240 border-top: 1px solid #ccc;
241 }
242
243 & > span {
244 font-size: 13px;
245 position: relative;
246 display: inline-block;
247 text-transform: uppercase;
248 font-weight: 600;
249 font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
250 color: #757575;
251 border-radius: 4px;
252 background: #fff;
253 padding: 6px 8px;
254 height: 24px;
255 }
256 }
257
258 .jet-form-builder__field-wrap.range-wrap fieldset.components-input-control__backdrop {
259 border: none;
260 }
261
262 .jet-form-builder__field-wrap.range-wrap {
263 width: 100%;
264
265 input[type="range"]="range""] {
266 margin-right: 10px;
267 -webkit-appearance: none;
268 min-height: 18px;
269 border: 0;
270
271 &:focus {
272 padding: 0;
273 background: transparent;
274 border: none;
275 border-radius: 0;
276 -webkit-box-shadow: none;
277 box-shadow: none;
278 outline: none
279 }
280 }
281
282 .range-flex-wrap {
283 display: flex;
284 /*display: -webkit-box;*/
285 display: -ms-flexbox;
286 -webkit-box-align: center;
287 -ms-flex-align: center;
288 align-items: center;
289
290 .components-input-control {
291 margin-right: auto;
292 flex: 1;
293 }
294
295 .jet-form-builder__field-value {
296 white-space: nowrap;
297 margin-left: 10px;
298 display: flex;
299 }
300
301 .components-input-control__container {
302 background-color: rgba(255, 255, 255, 0);
303 }
304 }
305 }
306
307 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-webkit-slider-runnable-track {
308 width: 100%;
309 height: var(--jet-fb__range-field-range--height, 4px);
310 cursor: pointer;
311 /**
312 test
313 */
314 background: #e3ddd8;
315 -webkit-box-shadow: none;
316 box-shadow: none;
317 border: none
318 }
319
320 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-moz-range-track {
321 width: 100%;
322 height: var(--jet-fb__range-field-range--height, 4px);
323 cursor: pointer;
324 background: #e3ddd8;
325 box-shadow: none;
326 border: none
327 }
328
329 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-ms-track {
330 width: 100%;
331 height: var(--jet-fb__range-field-range--height, 4px);
332 cursor: pointer;
333 background: #e3ddd8;
334 box-shadow: none;
335 border: none;
336 color: transparent
337 }
338
339 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-ms-fill-lower {
340 background: transparent
341 }
342
343 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-ms-fill-upper {
344 background: transparent
345 }
346
347 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-webkit-slider-thumb {
348 width: var(--jet-fb__range-field-slider--size, 18px);
349 height: var(--jet-fb__range-field-slider--size, 18px);
350 background: #ccc;
351 border-radius: 50%;
352 cursor: pointer;
353 -webkit-box-shadow: none;
354 box-shadow: none;
355 border: none;
356 margin-top: calc((var(--jet-fb__range-field-slider--size, 18px) - var(--jet-fb__range-field-range--height, 4px)) / -2);
357 -webkit-appearance: none
358 }
359
360 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-moz-range-thumb {
361 width: var(--jet-fb__range-field-slider--size, 18px);
362 height: var(--jet-fb__range-field-slider--size, 18px);
363 background: #ccc;
364 border-radius: 50%;
365 cursor: pointer;
366 box-shadow: none;
367 border: none
368 }
369
370 .jet-form-builder__field-wrap.range-wrap input[type="range"]="range""]::-ms-thumb {
371 width: var(--jet-fb__range-field-slider--size, 18px);
372 height: var(--jet-fb__range-field-slider--size, 18px);
373 background: #ccc;
374 border-radius: 50%;
375 cursor: pointer;
376 box-shadow: none;
377 border: none
378 }
379
380
381 .jet-form-builder__field-wrap.range-wrap .components-input-control__backdrop[aria-hidden="true"]="true""] {
382 border-width: 0;
383 }
384
385 .jet-form-builder__field-settings .help-input {
386 margin-bottom: 2em;
387 font-size: 12px;
388 color: rgb(117, 117, 117);
389 }
390
391 .jet-form-edit-modal .jet-post-field-control {
392 display: flex;
393 position: relative;
394 }
395
396 .jet-form-edit-modal .jet-post-field-control .components-base-control__field {
397 padding: 0;
398 border: none;
399 }
400
401 .jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2) {
402 position: absolute;
403 left: 25em;
404 }
405
406 .jet-field-map__row-label .fields-map__required {
407 color: red;
408 font-weight: 900;
409 }
410
411 .jet-form-load-button.components-button.loading i, .jet-form-validate-button.components-button.loading i {
412 animation: jet-form-editor-spin 2s infinite linear
413 }
414
415 $valid-color: #46b450;
416
417 .jet-form-validate-button.components-button {
418 i.dashicons {
419 margin-right: 4px;
420
421 &:before {
422 content: "";
423 }
424 }
425
426 &.is-valid {
427 color: $valid-color;
428 box-shadow: inset 0 0 0 1px $valid-color;
429
430 &:hover:not(:disabled) {
431 color: darken($valid-color, 10%);
432 box-shadow: inset 0 0 0 1px darken($valid-color, 10%);
433 }
434
435 i.dashicons:before {
436 content: "�
437 �";
438 }
439 }
440
441 &.is-invalid i.dashicons:before {
442 content: "";
443 }
444 }
445
446 @keyframes jet-form-editor-spin {
447 0% {
448 transform: rotate(0deg)
449 }
450 to {
451 transform: rotate(359deg)
452 }
453 }
454
455 .jet-form-edit-modal__content .description-controls {
456 color: #999;
457 display: block;
458 margin-bottom: 1.2em;
459 }
460
461 .jet-form-builder-row {
462 overflow: hidden;
463 display: block;
464 }
465
466 .rtl .jet-form-editor__macros-inserter {
467 left: 15px;
468 right: unset;
469 }
470
471 .rtl .jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value {
472 margin-left: unset;
473 margin-right: 10px;
474 }
475
476 .jet-form-edit-modal .input-with-button .components-input-control__container,
477 .jet-form-edit-modal .input-with-button .components-text-control__input {
478 width: 30em;
479 margin-right: 1em;
480 }
481
482 .jet-form-edit-modal .with-wrap .components-base-control__field {
483 flex-wrap: wrap;
484 }
485
486 select.components-select-control__input.components-select-control__input.components-select-control__input {
487 max-width: 100vw;
488 width: 100%;
489 line-height: 1.5;
490 padding: 1px 24px 1px 8px;
491 }
492
493 .jet-form-builder__calculated-field {
494 display: flex;
495 width: 100%;
496 }
497
498 .components-text-control__input {
499 margin: unset;
500 box-sizing: border-box;
501 flex: 3;
502 }
503
504 .flex-column .components-base-control__field {
505 flex-direction: column;
506 }
507
508 .edit-post-sidebar .components-input-control.components-number-control {
509 margin-bottom: 2em;
510 }
511
512
513 .jet-label-overflow {
514 overflow: hidden;
515 text-overflow: ellipsis;
516 display: block;
517 white-space: nowrap;
518 }
519
520 .jet-control-clear .components-base-control__field {
521 padding-top: unset;
522 border-top: unset;
523 }
524
525 .jet-control-clear-full {
526 flex: 3;
527 }
528
529 .jet-control-clear-full .components-base-control__field {
530 display: block;
531 padding: unset;
532 border-top: unset;
533 }
534
535 .editor-styles-wrapper .wp-block.wp-block.wp-block {
536 max-width: 100%;
537 }
538
539 .editor-styles-wrapper p.components-base-control__help {
540 font-size: 12px;
541 line-height: 1.5;
542 margin: 1em 0;
543 }
544
545 .components-button.has-icon:not(.has-text) .dashicon.dashicon {
546 margin: unset;
547 }
548
549 .jet-form-builder-repeater__remove {
550 margin-top: 10px;
551 }
552
553 .interface-complementary-area-header.components-panel__header {
554 z-index: 100;
555 }
556
557 .jet-form-edit-modal .jet-inline-radio .components-radio-control__option:not(:nth-child(1)):not(:nth-child(2)) {
558 margin-left: 1em;
559 }
560
561 .jet-control-full {
562 padding: 12px 0 5px;
563 border-top: 1px solid #ddd;
564 }
565
566 .jet-border-unset.components-base-control div.components-base-control__field.components-base-control__field {
567 border-top: unset;
568 }
569
570 .jet-user-meta__row .components-flex.components-select-control {
571 display: block;
572 flex: 1;
573 }
574
575 .jet-modal-fixed-height .jet-form-edit-modal__wrapper {
576 display: flex;
577 flex-direction: column;
578 height: calc(100% - 86px);
579 justify-content: space-between;
580 }
581
582 .jet-custom-select-control {
583 display: flex;
584 }
585
586 .jet-custom-select-control .components-custom-select-control__label {
587 margin-right: 7.7em;
588 }
589
590 .jet-margin-bottom-wrapper > div:not(:last-child) {
591 margin-bottom: 1.2em;
592 }
593
594 .jet-form-builder-row {
595 .components-base-control__label {
596 display: flex;
597 }
598
599 &.jet-form-builder-row__flex .components-base-control__label {
600 display: block;
601 }
602 }
603
604 .jet-form-builder__desc--wrapper {
605 display: flex;
606
607 .jet-form-builder-row__flex & {
608 display: block;
609 }
610 }
611
612 .jet-form-builder-row__flex {
613 &--label {
614 flex: 1 1 0;
615
616 .components-base-control__label {
617 margin-bottom: 1em;
618 }
619 }
620
621 &--content {
622 flex: 3 1 0;
623
624 .components-input-control {
625 display: block;
626 }
627 }
628 }
629
630 .components-base-control__label .jet-form-builder__label {
631 width: 100%;
632
633 & > div, & > span {
634 display: inline-block;
635 }
636
637 .rich-text::after {
638 content: ' ';
639 }
640 }
641
642 .jet-form-builder__desc {
643 width: 100%;
644 }
645
646 .has-fixed-toolbar .jet-form-toggle-box {
647 padding: 1px 12px 0 12px;
648 }
649
650 .jet-form-toggle-box {
651 padding: 0 12px;
652
653 .components-clipboard-button.has-icon {
654 position: absolute;
655 right: -8px;
656 padding: 0;
657 height: 30px;
658 }
659
660 input.components-text-control__input {
661 padding-right: 2.5em;
662 }
663
664 .components-base-control__field {
665 margin: 0;
666 }
667 }
668
669 .jet-fb-control__input.jet-fb-control__input {
670 max-width: unset;
671 padding: 0 24px 0 8px;
672 width: 100%;
673 }
674
675 .jet-fb-with-border:not(:last-child) {
676 border-bottom: 1px solid #ddd;
677 margin-bottom: 1.2em;
678 padding-bottom: 1.2em;
679 }
680
681 .jet-form-edit-modal div.components-input-control__container {
682 flex: 3;
683 margin-left: unset;
684 }
685
686 .jet-form-edit-modal .components-textarea-control__input {
687 flex: 3;
688 }
689
690 .jet-form-edit-modal .components-base-control__label + select.components-select-control__input {
691 flex: 3;
692 margin-left: 6px;
693 }
694
695 .jet-form-builder-row__flex > .components-base-control__field {
696 display: flex;
697 }
698
699 .jet-d-flex-between {
700 display: flex;
701 justify-content: space-between;
702 }
703
704 .jet-d-flex-between > div {
705 flex: 0.9;
706 }
707
708 .jet-required-field {
709 label.components-base-control__label, label.components-input-control__label {
710 &::after {
711 content: ' *';
712 color: red;
713 font-weight: 700;
714 }
715 }
716 }
717
718 .jet-fb-notice > a {
719 transition: .2s ease-in-out;
720 text-decoration: none;
721 display: flex;
722 gap: 0.8em;
723 width: fit-content;
724 padding: 0.3em;
725 padding-left: unset;
726 background-color: #eee;
727 border-radius: 50px;
728 opacity: 0.5;
729
730 .dashicons:before {
731 content: "\f14c";
732 border-radius: 50px;
733 background: #4272f9;
734 background: radial-gradient(circle, #4272f9 1%, #fff 100%);
735 color: #fff;
736 padding: 2px;
737 }
738
739 &:hover {
740 opacity: 1;
741 /*.dashicons:before {
742 content: "\f504";
743 }*/
744 }
745 }
746
747 ul.jet-fb-ul-revert-layer {
748 list-style: revert-layer;
749
750 li {
751 list-style: revert-layer;
752 }
753 }
754
755 .edit-post-sidebar {
756 .components-panel {
757 & > .components-panel__body {
758 .components-base-control:not(:last-child) {
759 margin-bottom: 24px;
760 }
761 }
762 }
763 }
764
765 $sizes: ("xs":320px, "sm":576px, "md":768px, "lg":992px, "xl":1200px);
766
767 @mixin media($minmax, $media) {
768 @each $size, $resolution in $sizes {
769 @if $media == $size {
770 @media only screen and (#{$minmax}-width: $resolution) {
771 @content;
772 }
773 }
774 }
775 }
776
777 @include media("min", "xl") {
778 .components-base-control {
779 &.components-checkbox-control.jet-forms-checkbox-field {
780 position: relative;
781
782 .components-base-control__help {
783 position: absolute;
784 top: 0;
785 right: 0;
786 }
787
788 &:first-child .components-base-control__help {
789 margin-top: unset;
790 }
791 }
792 }
793 }
794
795
796