PluginProbe
StreamCast – bring live radio to your site with a sleek player / 2.2.5
StreamCast – bring live radio to your site with a sleek player v2.2.5
2.4.5 2.4.4 trunk 1.0 1.1 2.0.0 2.1.10 2.1.2 2.1.4 2.1.5 2.1.8 2.2.1 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 All 29 releases
streamcast / admin / codestar-framework / assets / scss / partials / _fields.scss

_fields.scss in StreamCast – bring live radio to your site with a sleek player 2.2.5, at admin/codestar-framework/assets/scss/partials/_fields.scss

2,375 lines 38.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * 03. Fields
3 */
4 .csf-field{
5 position: relative;
6 padding: 30px;
7
8 + .csf-field{
9 border-top: 1px solid #eee;
10 }
11
12 p:first-child{
13 margin-top: 0;
14 }
15
16 p:last-child{
17 margin-bottom: 0;
18 }
19
20 &:after,
21 &:before{
22 content: " ";
23 display: table;
24 }
25
26 &:after{
27 clear: both;
28 }
29
30 h4{
31 margin-top: 0;
32 }
33
34 .csf-title{
35 position: relative;
36 width: 20%;
37 float: left;
38
39 h4{
40 margin: 0;
41 color: #23282d;
42 }
43 }
44
45 .csf-fieldset{
46 float: right;
47 width: calc(80% - 20px);
48 }
49 }
50
51 .csf-pseudo-field{
52 padding: 0 5px 0 0 !important;
53 display: inline-block;
54
55 + .csf-pseudo-field{
56 border: 0;
57 }
58
59 pre{
60 display: none;
61 }
62 }
63
64 /**
65 * 03. 02. Field: accordion
66 */
67 .csf-field-accordion{
68
69 .csf-accordion-item{
70 position: relative;
71 margin-bottom: 5px;
72
73 &:last-child{
74 margin-bottom: 0;
75 }
76
77 h4{
78 font-size: 1em;
79 }
80 }
81
82 .csf-accordion-title{
83 display: block;
84 cursor: pointer;
85 position: relative;
86 margin: 0;
87 padding: 15px;
88 min-height: 0;
89 font-size: 100%;
90 user-select: none;
91 border: 1px solid #ccd0d4;
92 background-color: #fafafa;
93 box-shadow: 0 1px 1px rgba(0,0,0,0.04);
94 transition: border-color .15s;
95
96 &:active,
97 &:hover,
98 &:focus{
99 outline: none;
100 border-color: #999;
101 }
102
103 .csf--icon{
104 width: 20px;
105 text-align: center;
106 margin-right: 2px;
107 }
108 }
109
110 .csf-accordion-icon{
111 width: 16px;
112 text-align: center;
113 }
114
115 .csf-accordion-content{
116 display: none;
117 padding: 0;
118 border: 1px solid #ccd0d4;
119 border-top: none;
120 background-color: #fff;
121 box-shadow: 0 1px 1px rgba(0,0,0,0.04);
122
123 > .csf-field{
124 padding: 15px;
125 }
126 }
127
128 .csf-accordion-open{
129 display: block;
130 }
131 }
132
133 /**
134 * 03. 03. Field: background
135 */
136 .csf-field-background{
137
138 .csf-field{
139 border: 0 !important;
140 padding: 0;
141 margin-bottom: 6px;
142 margin-right: 6px;
143 }
144
145 .csf--title{
146 color: #777;
147 font-size: 12px;
148 }
149
150 .csf--background-colors{
151 display: flex;
152 flex-wrap: wrap;
153 }
154
155 .csf--background-attributes{
156 display: flex;
157 flex-wrap: wrap;
158
159 select{
160 min-width: 100%;
161 margin: 0;
162 }
163
164 .csf-field{
165 flex: 1;
166 }
167 }
168
169 .csf--attributes-hidden{
170 display: none;
171 }
172 }
173
174 /**
175 * 03. 04. Field: backup
176 */
177 .csf-field-backup{
178
179 textarea{
180 width: 100%;
181 min-height: 200px;
182 margin-bottom: 5px;
183 }
184
185 small{
186 display: inline-block;
187 margin: 5px;
188 }
189
190 hr{
191 margin: 20px 0;
192 border: none;
193 border-bottom: 1px solid #e5e5e5;
194 }
195 }
196
197 /**
198 * 03. 05. Field: border, spacing, dimensions
199 */
200 .csf-field-border,
201 .csf-field-spacing,
202 .csf-field-dimensions{
203
204 .csf--inputs{
205 float: left;
206 display: flex;
207 flex-wrap: wrap;
208 }
209
210 .csf--input{
211 display: flex;
212 padding-right: 6px;
213 padding-bottom: 4px;
214 box-sizing: border-box;
215
216 select{
217 margin: 0;
218 }
219
220 input{
221 position: relative;
222 z-index: 1;
223 margin: 0;
224 width: 65px;
225 max-width: 100%;
226 text-align: center;
227 }
228 }
229
230 .csf--color{
231 float: left;
232 }
233
234 .csf--label{
235 display: flex;
236 flex-direction: column;
237 justify-content: center;
238 user-select: none;
239 min-width: 20px;
240 max-width: 100%;
241 padding: 0 4px;
242 font-size: 12px;
243 text-align: center;
244 color: #555;
245 border: 1px solid #7B776C;
246 background-color: #f5f5f5;
247 }
248
249 .csf--icon{
250 border-right: 0;
251 border-radius: 4px 0 0 4px;
252 }
253
254 .csf--icon + input{
255 border-top-left-radius: 0 !important;
256 border-bottom-left-radius: 0 !important;
257 }
258
259 .csf--unit{
260 border-left: 0;
261 border-radius: 0 4px 4px 0;
262 }
263
264 .csf--is-unit{
265 border-top-right-radius: 0 !important;
266 border-bottom-right-radius: 0 !important;
267 }
268 }
269
270 /**
271 * 03. 06. Field: button_set
272 */
273 .csf-field-button_set{
274
275 .csf--buttons{
276 display: inline-block;
277 }
278
279 .csf--button{
280 position: relative;
281 z-index: 1;
282 float: left;
283 cursor: pointer;
284 padding: 7px 14px;
285 min-width: 16px;
286 text-align: center;
287 color: #555;
288 border: 1px solid #cccccc;
289 background-color: #f7f7f7;
290 user-select: none;
291 box-shadow: 0 1px 0 rgba(0,0,0,0.1);
292
293 &:first-child{
294 border-radius: 4px 0 0 4px;
295 }
296
297 &:last-child{
298 border-radius: 0 4px 4px 0;
299 }
300
301 &:not(:first-child){
302 margin-left: -1px;
303 }
304
305 &:hover{
306 background-color: #eee;
307 }
308 }
309
310 .csf--active:hover,
311 .csf--active{
312 z-index: 2;
313 color: #fff;
314 border-color: #006799;
315 background-color: #0085ba;
316 }
317
318 input{
319 display: none;
320 }
321 }
322
323 /**
324 * 03. 07. Field: checkbox, radio
325 */
326 .csf-field-checkbox,
327 .csf-field-radio{
328
329 ul{
330 margin: 0;
331 padding: 0;
332 list-style-type: none;
333 overflow-y: auto;
334 max-height: 305px;
335
336 li{
337 margin-bottom: 6px;
338 }
339
340 ul{
341 max-height: none;
342
343 li{
344 margin-left: 8px;
345
346 &:first-child{
347 margin-left: 0;
348 }
349 }
350 }
351 }
352
353 input{
354 margin: 0 1px;
355 }
356
357 .csf--inline-list li{
358 display: inline-block;
359 margin-right: 15px;
360 }
361
362 .csf--text{
363 margin-left: 5px;
364 vertical-align: middle;
365 }
366
367 .csf-checker{
368 cursor: pointer;
369 }
370
371 .csf-checkbox-all{
372 user-select: none;
373 cursor: pointer;
374 margin-top: 5px;
375 font-weight: 500;
376 text-decoration: none;
377 }
378 }
379
380 /**
381 * 03. 08. Field: code_editor
382 */
383 .csf-field-code_editor{
384
385 .CodeMirror{
386 width: 100%;
387 height: 400px;
388 }
389
390 .cm-s-default{
391 border: 1px solid #ccd0d4;
392 }
393
394 textarea{
395 width: 100%;
396 height: 400px;
397 }
398 }
399
400 /**
401 * 03. 09. Field: color
402 */
403 .csf-field-color{
404
405 > input{
406 opacity: 0.75;
407 width: 115px;
408 max-width: 100%;
409 }
410
411 .button.wp-picker-clear{
412 padding: 0 8px;
413 margin-left: 6px;
414 line-height: 2.54545455;
415 min-height: 30px;
416 }
417 }
418
419 /**
420 * 03. 10. Field: color_group
421 */
422 .csf-field-color_group{
423
424 .csf--left{
425 float: left;
426 margin-right: 10px;
427 margin-bottom: 5px;
428 }
429
430 .csf--title{
431 color: #999;
432 margin-bottom: 5px;
433 }
434 }
435
436 /**
437 * 03. 11. Field: fieldset
438 */
439 .csf-field-fieldset{
440
441 .csf-fieldset-content{
442 border: 1px solid #ccd0d4;
443 background-color: #fff;
444 box-shadow: 0 1px 1px rgba(0,0,0,0.04);
445
446 > .csf-field{
447 padding: 15px;
448 }
449 }
450
451 .csf-field-subheading{
452 font-size: 13px;
453 }
454 }
455
456 /**
457 * 03. 12. Field: date
458 */
459 .csf-field-date{
460
461 input{
462 margin: 0;
463 }
464
465 .csf--to{
466 margin-left: 7px;
467 }
468 }
469
470 .csf-datepicker-wrapper{
471 margin-top: 5px;
472 width: auto;
473 background-color: #fff;
474 z-index: 9999999 !important;
475 box-shadow: 0 0 30px rgba(0,0,0,0.15);
476
477 *{
478 float: none;
479 margin: 0;
480 padding: 0;
481 font-family: inherit;
482 font-weight: normal;
483 font-style: normal;
484 text-decoration: none;
485 border: 0;
486 border-radius: 0;
487 box-shadow: none;
488 }
489
490 .ui-widget-header,
491 .ui-datepicker-header{
492 color: #fff;
493 background: #00a0d2;
494 }
495
496 .ui-datepicker-header .ui-state-hover{
497 cursor: pointer;
498 }
499
500 .ui-datepicker-title{
501 font-size: 14px;
502 line-height: 40px;
503 text-align: center;
504 }
505
506 .ui-datepicker-prev,
507 .ui-datepicker-next{
508 position: static;
509 top: auto;
510 left: auto;
511 right: auto;
512 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
513 font-weight: 900;
514 font-size: 12px;
515 text-align: center;
516 width: 41px;
517 height: 40px;
518 line-height: 40px;
519 color: #fff;
520 background-color: rgba(white, 0.1);
521 text-rendering: auto;
522 -webkit-font-smoothing: antialiased;
523 -moz-osx-font-smoothing: grayscale;
524 }
525
526 .ui-datepicker-next span,
527 .ui-datepicker-prev span{
528 display: none;
529 }
530
531 .ui-datepicker-prev{
532 float: left;
533 }
534
535 .ui-datepicker-next{
536 float: right;
537 }
538
539 .ui-datepicker-prev:before{
540 content: '\f053';
541 }
542
543 .ui-datepicker-next:before{
544 content: '\f054';
545 }
546
547 .ui-datepicker-prev-hover,
548 .ui-datepicker-next-hover{
549 opacity: 0.75;
550 }
551
552 tbody .ui-datepicker-week-col{
553 background-color: #f7f7f7;
554 }
555
556 .ui-datepicker-buttonpane{
557 padding: 10px;
558 text-align: center;
559 background-color: #f7f7f7;
560 }
561
562 .ui-datepicker-buttonpane button{
563 cursor: pointer;
564 margin: 0 5px;
565 padding: 7px 14px;
566 border: 1px solid #eee;
567 background-color: #fff;
568 }
569
570 select{
571 margin: 0 4px;
572 }
573
574 select option{
575 color: #555;
576 }
577
578 table{
579 font-size: 13px;
580 border-collapse: collapse;
581 width: 100%;
582 }
583
584 thead{
585 color: #fff;
586 background: #32373c;
587 }
588
589 th{
590 text-align: center;
591 padding: 7px;
592 border: 1px solid #444;
593 }
594
595 td{
596 text-align: center;
597 border: 1px solid #f4f4f4;
598 }
599
600 td.ui-datepicker-other-month{
601 border: transparent;
602 }
603
604 td .ui-state-default{
605 color: #555;
606 width: auto;
607 display: block;
608 padding: 6px 12px;
609 }
610
611 td .ui-state-active,
612 td .ui-state-hover{
613 color: #fff;
614 background-color: #0073aa;
615 }
616
617 td.ui-state-disabled .ui-state-default{
618 opacity: 0.5;
619 }
620 }
621
622 /**
623 * 03. 13. Field: datetime
624 */
625 .csf-field-datetime{
626
627 input{
628 margin: 0;
629 }
630
631 .csf--to{
632 margin-left: 7px;
633 }
634 }
635
636 .csf-flatpickr{
637
638 select,
639 input{
640 min-height: auto;
641
642 &:focus{
643 box-shadow: none;
644 }
645 }
646
647 &.open{
648 z-index: 9999999 !important;
649 }
650 }
651
652 /**
653 * 03. 14. Field: gallery
654 */
655 .csf-field-gallery{
656
657 ul{
658 margin: 0;
659 padding: 0;
660 list-style-type: none;
661
662 li{
663 display: inline-block;
664 position: relative;
665 padding: 4px;
666 margin: 0 5px 10px 0;
667 border: 1px solid #ccc;
668 background-color: #f9f9f9;
669 border-radius: 2px;
670 box-shadow: 0 1px 0 rgba(0,0,0,0.08);
671
672 img{
673 max-height: 60px;
674 display: inline-block;
675 vertical-align: middle;
676 }
677 }
678 }
679
680 .button{
681 margin-right: 5px;
682 margin-bottom: 5px;
683 }
684 }
685
686 /**
687 * 03. 15. Field: group
688 */
689 .csf-field-group{
690
691 .csf-cloneable-hidden{
692 display: none !important;
693 }
694
695 .csf-cloneable-wrapper{
696 position: relative;
697 }
698
699 .csf-cloneable-item{
700 display: none;
701 position: relative;
702 margin-bottom: 5px;
703
704 h4{
705 font-size: 1em;
706 }
707 }
708
709 .ui-accordion .csf-cloneable-item{
710 display: block;
711 }
712
713 .csf-cloneable-content{
714 border: 1px solid #ccd0d4;
715 background-color: #fff;
716 box-shadow: 0 1px 1px rgba(0,0,0,0.04);
717
718 > .csf-field{
719 padding: 15px;
720 }
721 }
722
723 .csf-cloneable-title{
724 display: block;
725 cursor: pointer;
726 position: relative;
727 user-select: none;
728 margin: 0;
729 padding: 15px 65px 15px 10px;
730 min-height: 0;
731 font-size: 100%;
732 border: 1px solid #ccd0d4;
733 background-color: #fafafa;
734 box-shadow: 0 1px 1px rgba(0,0,0,.04);
735 transition: border-color .15s;
736
737 &:active,
738 &:hover,
739 &:focus{
740 border-color: #999;
741 outline: none;
742 }
743 }
744
745 .csf-cloneable-helper{
746 position: absolute;
747 top: 12px;
748 right: 10px;
749 z-index: 1;
750 font-size: 14px;
751 line-height: 1em;
752
753 i{
754 display: inline-block;
755 cursor: pointer;
756 padding: 5px;
757 color: #999;
758
759 &:hover{
760 color: #555;
761 }
762 }
763 }
764
765 .csf-cloneable-content{
766 padding: 0;
767 border-top: 0;
768 }
769
770 .csf-cloneable-title-prefix,
771 .csf-cloneable-title-number{
772 margin-right: 5px;
773 }
774
775 .csf-cloneable-alert{
776 display: none;
777 margin-bottom: 5px;
778 padding: 10px 20px;
779 color: #a94442;
780 border: 1px solid #ebccd1;
781 background-color: #f2dede;
782 }
783
784 .widget-placeholder{
785 margin-bottom: 10px;
786 border: 1px dashed #f1c40f;
787 background-color: #fffae4;
788 }
789
790 .csf-cloneable-header-icon{
791 display: inline-block;
792 text-align: center;
793 font-size: 14px;
794 width: 17px;
795 text-indent: 0;
796 vertical-align: text-top;
797 }
798
799 .csf-cloneable-placeholder{
800 background-color: #ddd;
801 margin-top: 4px;
802 width: 100px;
803 height: 10px;
804 font-size: 10px;
805 line-height: 10px;
806 display: inline-block;
807 vertical-align: top;
808 border-radius: 2px;
809 }
810 }
811
812 /**
813 * 03. 16. Field: icon
814 */
815 .csf-field-icon{
816
817 .csf-icon-select{
818 display: flex;
819 grid-gap: 5px;
820 }
821
822 .csf-icon-preview:not(.hidden){
823 display: flex;
824 }
825
826 .csf-icon-preview{
827
828 i{
829 display: flex;
830 justify-content: center;
831 align-items: center;
832 width: 30px;
833 font-size: 14px;
834 text-align: center;
835 vertical-align: top;
836 color: #555;
837 border: 1px solid #ccc;
838 background-color: #f7f7f7;
839 border-radius: 3px;
840 box-shadow: 0 1px 0 rgba(0,0,0,0.08);
841 }
842 }
843 }
844
845 /**
846 * 03. 17. Field: image_select
847 */
848 .csf-field-image_select{
849
850 .csf--image{
851 display: inline-block;
852 margin: 0 5px 5px 0;
853 }
854
855 .csf--inline-list .csf--image{
856 display: block;
857 }
858
859 figure{
860 cursor: pointer;
861 position: relative;
862 display: inline-block;
863 max-width: 100%;
864 margin: 0;
865 vertical-align: bottom;
866 border: 2px solid transparent;
867 background-color: #fff;
868 user-select: none;
869 transition: all .2s;
870
871 &:before{
872 position: absolute;
873 top: 0;
874 left: 0;
875 text-align: center;
876 font-size: 10px;
877 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
878 font-weight: 900;
879 content: "\f00c";
880 width: 16px;
881 height: 16px;
882 line-height: 14px;
883 opacity: 0;
884 color: #fff;
885 background-color: #222;
886 transition: opacity .2s;
887 }
888 }
889
890 .csf--active figure{
891 border-color: #222;
892 box-shadow: 0 0 20px rgba(0,0,0,0.2);
893
894 &:before{
895 opacity: 1;
896 }
897 }
898
899 img{
900 max-width: 100%;
901 height: auto;
902 vertical-align: top;
903 }
904
905 input{
906 display: none;
907 }
908 }
909
910 /**
911 * 03. 18. Field: link_color
912 */
913 .csf-field-link_color{
914
915 .csf--left{
916 float: left;
917 margin-right: 10px;
918 margin-bottom: 5px;
919 }
920
921 .csf--title{
922 color: #777;
923 margin-bottom: 5px;
924 }
925 }
926
927 /**
928 * 03. 19. Field: map
929 */
930 .csf-field-map{
931
932 input{
933 width: 100%;
934 }
935
936 input[type="text"]="text""].ui-autocomplete-loading{
937 background-position-x: calc(100% - 5px);
938 }
939
940 .csf--map-search + .csf--map-osm-wrap{
941 margin-top: 10px;
942 }
943
944 .csf--map-osm-wrap{
945 position: relative;
946 padding: 5px;
947 border: 1px solid #eee;
948 background-color: #fff;
949 box-shadow: 0 1px 1px rgba(0,0,0,.04);
950 }
951
952 .csf--map-osm{
953 position: relative;
954 z-index: 1;
955 min-height: 250px;
956 }
957
958 .csf--map-inputs{
959 margin-top: 10px;
960 display: flex;
961 justify-content: space-between;
962 }
963
964 .csf--map-input{
965 flex: 1;
966
967 &:last-child{
968 padding-left: 10px;
969 }
970 }
971
972 label{
973 display: block;
974 color: #777;
975 font-size: 12px;
976 margin: 0 0 2px 0;
977 }
978 }
979
980 .csf-map-ui-autocomplate{
981 z-index: 999999;
982 border-radius: 4px;
983 overflow: hidden;
984 }
985
986
987 /**
988 * 03. 20. Field: media
989 */
990 .csf-field-media{
991
992 .csf--placeholder{
993 display: flex;
994 align-items: flex-start;
995
996 input{
997 width: 100%;
998 margin: 0;
999 }
1000 }
1001
1002 .button{
1003 margin-left: 5px;
1004 }
1005
1006 .hidden + .button{
1007 margin-left: 0;
1008 }
1009
1010 .csf--preview{
1011 position: relative;
1012 }
1013 }
1014
1015 /**
1016 * 03. 21. Field: palette
1017 */
1018 .csf-field-palette{
1019
1020 .csf--palette{
1021 position: relative;
1022 display: inline-block;
1023 cursor: pointer;
1024 border: 2px solid #ddd;
1025 margin-right: 10px;
1026 margin-bottom: 10px;
1027 user-select: none;
1028 -webkit-user-select: none;
1029 transition: all .2s;
1030
1031 span{
1032 vertical-align: middle;
1033 display: inline-block;
1034 width: 22px;
1035 height: 60px;
1036 line-height: 60px;
1037 overflow: hidden;
1038 text-indent: -999px;
1039 }
1040
1041 &:before{
1042 position: absolute;
1043 top: 0;
1044 left: 0;
1045 text-align: center;
1046 font-size: 10px;
1047 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
1048 font-weight: 900;
1049 content: "\f00c";
1050 width: 16px;
1051 height: 16px;
1052 line-height: 14px;
1053 opacity: 0;
1054 color: #fff;
1055 background-color: #222;
1056 transition: opacity .2s;
1057 }
1058 }
1059
1060 .csf--active{
1061 border-color: #222;
1062 box-shadow: 0 0 20px rgba(0,0,0,0.2);
1063
1064 &:before{
1065 opacity: 1;
1066 }
1067 }
1068
1069 input{
1070 display: none;
1071 }
1072 }
1073
1074 /**
1075 * 03. 22. Field: repeater
1076 */
1077 .csf-field-repeater{
1078
1079 .csf-field-text input{
1080 width: 100%;
1081 }
1082
1083 .csf-repeater-hidden{
1084 display: none !important;
1085 }
1086
1087 .csf-repeater-wrapper{
1088
1089 .csf-repeater-item{
1090 display: table;
1091 width: 100%;
1092 margin-bottom: 5px;
1093 border: 1px solid #eee;
1094
1095 h4{
1096 font-size: 1em;
1097 }
1098 }
1099 }
1100
1101 .csf-repeater-content{
1102 width: 100%;
1103 display: table-cell;
1104 vertical-align: middle;
1105 background-color: #fff;
1106
1107 > .csf-field{
1108 padding: 15px;
1109 }
1110 }
1111
1112 .csf-repeater-helper{
1113 width: 100%;
1114 display: table-cell;
1115 vertical-align: middle;
1116 text-align: center;
1117 font-size: 14px;
1118 line-height: 1em;
1119 border-left: 1px solid #eee;
1120 background-color: #f7f7f7;
1121
1122 i{
1123 display: inline-block;
1124 cursor: pointer;
1125 color: #999;
1126 padding: 5px;
1127
1128 &:hover{
1129 color: #555;
1130 }
1131 }
1132 }
1133
1134 .csf-repeater-helper-inner{
1135 width: 75px;
1136 }
1137
1138 .csf-repeater-alert{
1139 display: none;
1140 margin-bottom: 5px;
1141 padding: 10px 20px;
1142 color: #a94442;
1143 border: 1px solid #ebccd1;
1144 background-color: #f2dede;
1145 }
1146
1147 .widget-placeholder{
1148 height: 50px;
1149 margin-bottom: 3px;
1150 border: 1px dashed #f1c40f;
1151 background-color: #fffae4;
1152 }
1153
1154 .ui-sortable-helper{
1155 height: 50px !important;
1156 overflow: hidden !important;
1157 border-color: #ccc !important;
1158 background-color: #eee !important;
1159 opacity: 0.5;
1160
1161 .csf-repeater-helper,
1162 .csf-repeater-content{
1163 display: none;
1164 }
1165 }
1166 }
1167
1168 /**
1169 * 03. 23. Field: select
1170 */
1171 .csf-field-select{
1172
1173 .csf-fieldset{
1174 min-height: 30px;
1175 }
1176
1177 .csf-chosen{
1178 display: none;
1179 }
1180
1181 select{
1182 max-width: 100%;
1183 margin: 0;
1184 }
1185
1186 .csf-hide-select{
1187 display: none !important;
1188 }
1189 }
1190
1191 /**
1192 * 03. 24. Field: slider
1193 */
1194 .csf-field-slider{
1195
1196 .csf--wrap{
1197 display: flex;
1198 align-items: center;
1199 }
1200
1201 .csf--input{
1202 display: flex;
1203 }
1204
1205 .csf--unit{
1206 display: flex;
1207 justify-content: center;
1208 flex-direction: column;
1209 user-select: none;
1210 padding: 0 6px;
1211 font-size: 11px;
1212 line-height: 1;
1213 border-radius: 0 4px 4px 0;
1214 color: #555;
1215 border: 1px solid #7e8993;
1216 border-left: 0;
1217 background-color: #f5f5f5;
1218 }
1219
1220 .csf-slider-ui{
1221 margin-right: 15px;
1222 }
1223
1224 input[type=number]=number]{
1225 position: relative;
1226 z-index: 1;
1227 margin: 0;
1228 width: 50px;
1229 text-align: center;
1230 }
1231
1232 .csf--is-unit{
1233 border-top-right-radius: 0 !important;
1234 border-bottom-right-radius: 0 !important;
1235 }
1236
1237 .ui-slider{
1238 position: relative;
1239 width: 100%;
1240 height: 3px;
1241 border: none;
1242 background: #ddd;
1243 border-radius: 2px;
1244 }
1245
1246 .ui-slider-range{
1247 height: 3px;
1248 border: none;
1249 background: #333;
1250 border-radius: 2px;
1251 }
1252
1253 .ui-slider-handle{
1254 position: absolute;
1255 width: 16px;
1256 height: 16px;
1257 top: -7px;
1258 margin-left: -8px;
1259 border: none;
1260 background: #333;
1261 border-radius: 2px;
1262 }
1263
1264 .ui-state-active,
1265 .ui-slider-handle:hover{
1266 cursor: pointer;
1267 background: #111;
1268 }
1269 }
1270
1271 /**
1272 * 03. 25. Field: sortable
1273 */
1274 .csf-field-sortable{
1275
1276 .csf-field-text{
1277
1278 input{
1279 width: 100%;
1280 max-width: 100%;
1281 }
1282 }
1283
1284 .csf-sortable{
1285
1286 .csf-sortable-item{
1287 display: table;
1288 width: 100%;
1289 margin-bottom: 5px;
1290 border: 1px solid #eee;
1291
1292 h4{
1293 font-size: 1em;
1294 }
1295 }
1296 }
1297
1298 .csf-sortable-content{
1299 width: 100%;
1300 display: table-cell;
1301 vertical-align: middle;
1302 background-color: #fff;
1303
1304 > .csf-field{
1305 padding: 15px;
1306 }
1307 }
1308
1309 .csf-sortable-helper{
1310 width: 100%;
1311 display: table-cell;
1312 vertical-align: middle;
1313 text-align: center;
1314 font-size: 14px;
1315 line-height: 1em;
1316 border-left: 1px solid #eee;
1317 background-color: #f7f7f7;
1318
1319 i{
1320 display: inline-block;
1321 cursor: pointer;
1322 width: 50px;
1323 color: #555;
1324
1325 &:hover{
1326 opacity: 0.5;
1327 }
1328 }
1329 }
1330
1331 .widget-placeholder{
1332 height: 50px;
1333 margin-bottom: 3px;
1334 border: 1px dashed #f1c40f;
1335 background-color: #fffae4;
1336 }
1337
1338 .ui-sortable-helper{
1339 height: 50px !important;
1340 overflow: hidden !important;
1341 border-color: #ccc !important;
1342 background-color: #eee !important;
1343 opacity: 0.5;
1344
1345 .csf-sortable-helper,
1346 .csf-sortable-content{
1347 display: none;
1348 }
1349 }
1350 }
1351
1352 /**
1353 * 03. 26. Field: sorter
1354 */
1355 .csf-field-sorter{
1356
1357 .ui-sortable-placeholder{
1358 height: 20px;
1359 border: 1px dashed #f1c40f;
1360 background-color: #fffae4;
1361 }
1362
1363 .csf-modules{
1364 float: left;
1365 width: 50%;
1366 box-sizing: border-box;
1367
1368 &:first-child{
1369 padding-right: 15px;
1370 }
1371
1372 &:last-child{
1373 padding-left: 15px;
1374 }
1375 }
1376
1377 .csf-disabled,
1378 .csf-enabled{
1379 padding: 5px 15px;
1380 border: 1px dashed #ddd;
1381 background-color: #fff;
1382 }
1383
1384 .csf-disabled{
1385 li{
1386 opacity: 0.5;
1387 transition: opacity .15s;
1388 }
1389
1390 .ui-sortable-helper{
1391 opacity: 1;
1392 }
1393 }
1394
1395 .csf-sorter-title{
1396 font-size: 13px;
1397 font-weight: 600;
1398 padding: 10px;
1399 text-align: center;
1400 border: 1px dashed #ddd;
1401 border-bottom: none;
1402 background-color: #f8f8f8;
1403 text-transform: uppercase;
1404 }
1405
1406 ul{
1407 list-style-type: none;
1408 margin: 0;
1409 padding: 0;
1410 min-height: 62px;
1411
1412 li{
1413 margin: 10px 0;
1414 padding: 10px 15px;
1415 cursor: move;
1416 font-weight: bold;
1417 text-align: center;
1418 border: 1px solid #e5e5e5;
1419 background-color: #fafafa;
1420 transition: border-color .15s;
1421
1422 &:hover{
1423 border-color: #bbb;
1424 }
1425 }
1426 }
1427 }
1428
1429 /**
1430 * 03. 27. Field: spinner
1431 */
1432 .csf-field-spinner{
1433
1434 .csf--spin{
1435 display: flex;
1436 }
1437
1438 .ui-widget{
1439 font-family: inherit;
1440 }
1441
1442 .ui-spinner{
1443 display: flex;
1444 align-items: stretch;
1445 overflow: unset;
1446 border: none;
1447 background: none;
1448 border-radius: 0;
1449
1450 .ui-button{
1451 display: flex;
1452 flex-direction: column;
1453 justify-content: center;
1454 text-align: center;
1455 min-width: 20px;
1456 padding: 0 4px;
1457 margin: 0;
1458 color: #555;
1459 background-color: #f5f5f5;
1460 border: 1px solid #7e8993;
1461 }
1462
1463 .ui-spinner-button{
1464 position: relative;
1465 cursor: pointer;
1466 height: auto;
1467
1468 &:hover{
1469 background-color: #e7e7e7;
1470 }
1471
1472 &:active{
1473 background-color: #ddd;
1474 }
1475
1476 &:before{
1477 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
1478 font-weight: 900;
1479 font-size: 14px;
1480 line-height: 14px;
1481 }
1482 }
1483
1484 .ui-spinner-down{
1485 border-right: 0;
1486 border-radius: 4px 0 0 4px;
1487
1488 &:before{
1489 content: "\f0d9";
1490 }
1491 }
1492
1493 .ui-spinner-up{
1494 border-left: 0;
1495 border-radius: 0 4px 4px 0;
1496
1497 &:before{
1498 content: "\f0da";
1499 }
1500 }
1501
1502 .csf--unit{
1503 border-left: 0;
1504 user-select: none;
1505 }
1506
1507 .ui-button-text,
1508 .ui-button-icon,
1509 .ui-button-icon-space{
1510 display: none;
1511 }
1512
1513 input{
1514 font-family: inherit;
1515 font-size: inherit;
1516 position: relative;
1517 z-index: 1;
1518 width: 50px;
1519 text-align: center;
1520 margin: 0;
1521 padding: 0 8px;
1522 border-radius: 0;
1523 }
1524 }
1525
1526 .ui-spinner-down{
1527 order: 1;
1528 }
1529
1530 .ui-spinner-input{
1531 order: 2;
1532 }
1533
1534 .csf--unit{
1535 order: 3;
1536 }
1537
1538 .ui-spinner-up{
1539 order: 4;
1540 }
1541 }
1542
1543 /**
1544 * 03. 28. Field: switcher
1545 */
1546 .csf-field-switcher{
1547
1548 .csf--switcher{
1549 float: left;
1550 cursor: pointer;
1551 position: relative;
1552 width: 60px;
1553 height: 26px;
1554 padding: 0;
1555 margin: 0;
1556 overflow: hidden;
1557 border-radius: 4px;
1558 background-color: #ed6f6f;
1559 user-select: none;
1560 -webkit-user-select: none;
1561 }
1562
1563 .csf--ball{
1564 position: absolute;
1565 top: 4px;
1566 left: 4px;
1567 width: 24px;
1568 height: 18px;
1569 background-color: #fff;
1570 border-radius: 4px;
1571 transition: all .1s;
1572 box-shadow: 1px 1px 1px rgba(0,0,0,0.15);
1573 }
1574
1575 .csf--on,
1576 .csf--off{
1577 position: absolute;
1578 top: 0;
1579 left: 0;
1580 right: 0;
1581 font-size: 11px;
1582 line-height: 26px;
1583 font-weight: 500;
1584 font-style: normal;
1585 text-align: center;
1586 text-transform: uppercase;
1587 color: #fff;
1588 padding-right: 28px;
1589 opacity: 0;
1590 transition: all .1s;
1591 }
1592
1593 .csf--off{
1594 padding-right: 0;
1595 padding-left: 28px;
1596 opacity: 1;
1597 }
1598
1599 .csf--active{
1600 background: #4fb845;
1601
1602 .csf--on{
1603 opacity: 1;
1604 }
1605
1606 .csf--off{
1607 opacity: 0;
1608 }
1609
1610 .csf--ball{
1611 left: 100%;
1612 margin-left: -28px;
1613 }
1614 }
1615
1616 .csf--label{
1617 float: left;
1618 margin-top: 4px;
1619 margin-left: 8px;
1620 font-weight: 400;
1621 color: #999;
1622 }
1623 }
1624
1625 /**
1626 * 03. 29. Field: tabbed
1627 */
1628 .csf-field-tabbed{
1629
1630 .csf-tabbed-content{
1631 border: 1px solid #ccd0d4;
1632 background-color: #fff;
1633 box-shadow: 0 1px 1px rgba(0,0,0,.04);
1634
1635 > .csf-field{
1636 padding: 15px;
1637 }
1638 }
1639
1640 .csf-tabbed-nav{
1641
1642 .csf--icon{
1643 padding-right: 5px;
1644 }
1645
1646 a{
1647 display: inline-block;
1648 padding: 12px 15px;
1649 margin-top: 1px;
1650 margin-right: 5px;
1651 margin-bottom: -1px;
1652 position: relative;
1653 text-decoration: none;
1654 color: #444;
1655 font-weight: 600;
1656 border: 1px solid #ccd0d4;
1657 background-color: #f3f3f3;
1658 transition: all .2s;
1659
1660 &:hover{
1661 background-color: #f9f9f9;
1662 }
1663
1664 &.csf-tabbed-active{
1665 background-color: #fff;
1666 border-bottom-color: #fff;
1667 }
1668
1669 &:focus{
1670 outline: none;
1671 box-shadow: none;
1672 }
1673 }
1674 }
1675 }
1676
1677 /**
1678 * 03. 30. Field: text
1679 */
1680 .csf-field-text{
1681
1682 input{
1683 width: 50%;
1684 max-width: 100%;
1685 margin: 0;
1686 }
1687 }
1688
1689 /**
1690 * 03. 31. Field: textarea
1691 */
1692 .csf-field-textarea{
1693
1694 textarea{
1695 width: 100%;
1696 max-width: 100%;
1697 min-height: 125px;
1698 }
1699
1700 .csf-shortcode-button{
1701 margin-bottom: 10px;
1702 margin-right: 5px;
1703 }
1704 }
1705
1706 /**
1707 * 03. 32. Field: typography
1708 */
1709 .csf-field-typography{
1710
1711 textarea,
1712 select{
1713 margin: 0;
1714 min-width: 100%;
1715 max-width: 100%;
1716 }
1717
1718 .csf--title{
1719 color: #777;
1720 margin: 0 0 2px 0;
1721 font-size: 12px;
1722
1723 small{
1724 vertical-align: top;
1725 }
1726 }
1727
1728 .csf--blocks{
1729 display: flex;
1730 flex-wrap: wrap;
1731 }
1732
1733 .csf--block{
1734 flex: 1;
1735 max-width: 100%;
1736 padding-right: 6px;
1737 padding-bottom: 6px;
1738 }
1739
1740 .csf--input{
1741 margin: 0;
1742 min-width: 100%;
1743 }
1744
1745 .csf--input-wrap{
1746 position: relative;
1747 }
1748
1749 .csf--unit{
1750 position: absolute;
1751 z-index: 1;
1752 right: 4px;
1753 top: 4px;
1754 bottom: 4px;
1755 padding: 2px 6px;
1756 color: #666;
1757 font-size: 11px;
1758 line-height: 1;
1759 border-radius: 2px;
1760 background: #eee;
1761 user-select: none;
1762 display: flex;
1763 justify-content: center;
1764 flex-direction: column;
1765 }
1766
1767 .csf--preview{
1768 font-size: 16px;
1769 line-height: 20px;
1770 padding: 20px;
1771 color: #222;
1772 border: 1px solid #eee;
1773 background-color: #fff;
1774 border-radius: 2.5px;
1775 user-select: none;
1776 -webkit-user-select: none;
1777 transition: background-color .2s, border-color .2s;
1778 }
1779
1780 .csf--block-preview{
1781 cursor: pointer;
1782 position: relative;
1783 overflow: hidden;
1784 margin-top: 10px;
1785 max-width: 100%;
1786 }
1787
1788 .csf--black-background{
1789 border-color: #000;
1790 background-color: #000;
1791 }
1792
1793 .csf--toggle{
1794 position: absolute;
1795 top: 5px;
1796 right: 10px;
1797 color: #999;
1798 }
1799
1800 .csf--block-extra-styles{
1801 margin-top: 5px;
1802 }
1803 }
1804
1805 /**
1806 * 03. 33. Field: upload
1807 */
1808 .csf-field-upload{
1809
1810 input{
1811 width: 100%;
1812 margin: 0;
1813 }
1814
1815 .csf--wrap{
1816 display: flex;
1817 align-items: flex-start;
1818 }
1819
1820 .button{
1821 margin-left: 5px;
1822 }
1823
1824 .csf--preview{
1825 position: relative;
1826 }
1827 }
1828
1829 /**
1830 * 03. 34. Field: wp_editor
1831 */
1832 .csf-field-wp_editor{
1833
1834 .csf-wp-editor{
1835 float: left;
1836 width: 100%;
1837 }
1838
1839 .mce-toolbar-grp{
1840 border: none;
1841 }
1842
1843 .mce-btn.mce-active button,
1844 .mce-btn.mce-active:hover button,
1845 .mce-btn.mce-active i,
1846 .mce-btn.mce-active:hover i{
1847 color: #23282d;
1848 }
1849
1850 .wp-media-buttons{
1851 position: relative;
1852 z-index: 2;
1853 }
1854
1855
1856 .wp-editor-tabs{
1857 position: relative;
1858 z-index: 1;
1859 }
1860
1861 .csf-no-tinymce{
1862 border: 1px solid #e5e5e5;
1863 }
1864
1865 .csf-no-quicktags{
1866
1867 .wp-media-buttons{
1868 float: none;
1869 display: block;
1870 }
1871
1872 .mce-tinymce{
1873 box-shadow: none;
1874 border: 1px solid #e5e5e5;
1875 }
1876 }
1877
1878 textarea{
1879 width: 100%;
1880 max-width: 100%;
1881 margin: 0;
1882 box-shadow: none;
1883 }
1884 }
1885
1886 /**
1887 * 03. 35. Field: heading
1888 */
1889 .csf-field-heading{
1890 font-size: 1.5em;
1891 font-weight: bold;
1892 color: #23282d;
1893 background-color: #f5f5f5;
1894 }
1895
1896 /**
1897 * 03. 36. Field: subheading
1898 */
1899 .csf-field-subheading{
1900 font-size: 14px;
1901 font-weight: bold;
1902 padding-top: 17px;
1903 padding-bottom: 17px;
1904 color: #23282d;
1905 background-color: #f7f7f7;
1906 }
1907
1908 /**
1909 * 03. 37. Field: submessage
1910 */
1911 .csf-field-submessage{
1912 padding: 0 !important;
1913 border: 0 !important;
1914
1915 + .csf-field{
1916 border-top: 0 !important;
1917 }
1918 }
1919
1920 .csf-submessage{
1921 font-size: 12px;
1922 padding: 17px 30px;
1923 border-top: 1px solid transparent;
1924 border-bottom: 1px solid transparent;
1925 }
1926
1927 .csf-submessage-success{
1928 color: #3c763d;
1929 border-color: #d6e9c6;
1930 background-color: #dff0d8;
1931 }
1932
1933 .csf-submessage-info{
1934 color: #31708f;
1935 border-color: #bce8f1;
1936 background-color: #d9edf7;
1937 }
1938
1939 .csf-submessage-warning{
1940 color: #8a6d3b;
1941 border-color: #faebcc;
1942 background-color: #fcf8e3;
1943 }
1944
1945 .csf-submessage-danger{
1946 color: #a94442;
1947 border-color: #ebccd1;
1948 background-color: #f2dede;
1949 }
1950
1951 .csf-submessage-normal{
1952 color: #23282d;
1953 border-color: #eee;
1954 background-color: #f7f7f7;
1955 }
1956
1957 /**
1958 * 03. 38. Field: notice
1959 */
1960 .csf-field-notice{
1961 background-color: #f7f7f7;
1962 }
1963
1964 .csf-notice{
1965 padding: 12px;
1966 background-color: #fff;
1967 border-left-style: solid;
1968 border-left-width: 4px;
1969 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1970 }
1971
1972 .csf-notice-success{
1973 border-color: #46b450;
1974 }
1975
1976 .csf-notice-info{
1977 border-color: #339fd4;
1978 }
1979
1980 .csf-notice-warning{
1981 border-color: #ffbc00;
1982 }
1983
1984 .csf-notice-danger{
1985 border-color: #dc3232;
1986 }
1987
1988 .csf-notice-normal{
1989 border-color: #222;
1990 }
1991
1992 /**
1993 * 03. 39. Field: number
1994 */
1995 .csf-field-number{
1996
1997 input{
1998 width: 100%;
1999 margin: 0;
2000 }
2001
2002 .csf--wrap{
2003 position: relative;
2004 float: left;
2005 width: 100px;
2006 }
2007
2008 .csf--unit{
2009 position: absolute;
2010 z-index: 1;
2011 right: 4px;
2012 top: 4px;
2013 bottom: 4px;
2014 padding: 2px 6px;
2015 color: #666;
2016 font-size: 11px;
2017 line-height: 1;
2018 border-radius: 2px;
2019 background: #eee;
2020 user-select: none;
2021 display: flex;
2022 justify-content: center;
2023 flex-direction: column;
2024 }
2025 }
2026
2027 /**
2028 * 03. 40. Field: link
2029 */
2030 .csf-field-link{
2031
2032 .csf--result{
2033 display: inline-block;
2034 font-size: 12px;
2035 line-height: 16px;
2036 padding: 7px 10px;
2037 margin-bottom: 7px;
2038 color: #777;
2039 border: 1px solid #e5e5e5;
2040 background-color: #f5f5f5;
2041 border-radius: 2px;
2042 world-break: break-word;
2043 }
2044
2045 .csf--wrap{
2046 position: relative;
2047 float: left;
2048 width: 100px;
2049 }
2050
2051 .csf--unit{
2052 position: absolute;
2053 z-index: 1;
2054 right: 4px;
2055 top: 4px;
2056 bottom: 4px;
2057 padding: 2px 6px;
2058 color: #666;
2059 font-size: 11px;
2060 line-height: 1;
2061 border-radius: 2px;
2062 background: #eee;
2063 user-select: none;
2064 display: flex;
2065 justify-content: center;
2066 flex-direction: column;
2067 }
2068 }
2069
2070 /**
2071 * 03. 41. others
2072 */
2073 .csf-help{
2074 cursor: help;
2075 position: absolute;
2076 top: 0;
2077 right: 0;
2078 padding: 5px;
2079 font-size: 13px;
2080 color: #aaa;
2081
2082 .csf-help-text{
2083 display: none;
2084 }
2085 }
2086
2087 .csf--preview{
2088 max-width: 100%;
2089 }
2090
2091 .csf-image-preview{
2092 display: inline-flex;
2093 align-items: center;
2094 justify-content: center;
2095 flex-direction: column;
2096 position: relative;
2097 padding: 6px;
2098 max-width: 120px;
2099 max-height: 120px;
2100 min-width: 40px;
2101 min-height: 40px;
2102 margin-bottom: 10px;
2103 text-align: center;
2104 border-radius: 2px;
2105 border: 1px solid #ccc;
2106 background-color: #f9f9f9;
2107 box-shadow: 0 1px 0 rgba(0,0,0,0.08);
2108
2109 i{
2110 cursor: pointer;
2111 position: absolute;
2112 z-index: 1;
2113 right: 4px;
2114 top: 4px;
2115 font-size: 14px;
2116 width: 22px;
2117 height: 22px;
2118 line-height: 22px;
2119 text-align: center;
2120 text-decoration: none;
2121 color: #fff;
2122 background-color: #dd3333;
2123 opacity: 0.75;
2124 border-radius: 2px;
2125 transition: all .2s;
2126
2127 &:hover{
2128 opacity: 1;
2129 }
2130
2131 &:focus{
2132 box-shadow: none;
2133 }
2134 }
2135
2136 span{
2137 position: relative;
2138 overflow: hidden;
2139 display: flex;
2140 height: 100%;
2141 width: 100%;
2142 }
2143
2144 img{
2145 max-width: 100%;
2146 height: auto;
2147 object-fit: contain;
2148 }
2149 }
2150
2151 .csf-field-custom{
2152
2153 .csf-field{
2154 padding: 0;
2155 }
2156 }
2157
2158 .csf-field{
2159
2160 .chosen-container-single .chosen-single{
2161 height: 28px;
2162 line-height: 26px;
2163 }
2164
2165 .chosen-container-single .chosen-single abbr{
2166 top: 0;
2167 right: 20px;
2168 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
2169 font-weight: 900;
2170 font-size: 12px;
2171 height: 100%;
2172 width: 18px;
2173 color: #aaa;
2174 text-align: center;
2175 background: none;
2176
2177 &:before{
2178 content: "\f00d";
2179 }
2180
2181 &:hover{
2182 color: #555;
2183 }
2184 }
2185
2186 .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
2187 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
2188 font-weight: 900;
2189 font-size: 12px;
2190 height: 100%;
2191 width: 18px;
2192 color: #aaa;
2193 text-align: center;
2194 background: none;
2195
2196 &:before{
2197 content: "\f00d";
2198 display: inline-block;
2199 padding-top: 3px;
2200 }
2201
2202 &:hover{
2203 color: #555;
2204 }
2205 }
2206
2207 .chosen-container-single .chosen-single div b{
2208 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
2209 font-weight: 900;
2210 font-size: 14px;
2211 color: #aaa;
2212 background: none;
2213
2214 &:before{
2215 content: "\f107";
2216 }
2217
2218 &:hover{
2219 color: #555;
2220 }
2221 }
2222
2223 .chosen-container-multi .chosen-choices li.search-choice-placeholder {
2224 border: 1px dashed #aaa;
2225 margin: 3px 5px 3px 0;
2226 }
2227
2228 .chosen-container-multi .ui-sortable li.search-choice span {
2229 cursor: move;
2230 }
2231
2232 .chosen-container-active.chosen-with-drop .chosen-single div b{
2233
2234 &:before{
2235 content: "\f106";
2236 }
2237 }
2238
2239 .chosen-container-single .chosen-single-with-deselect span{
2240 margin-right: 40px;
2241 }
2242
2243 .chosen-container-single .chosen-search input[type="text"]="text""]{
2244 background: none;
2245 }
2246
2247 .chosen-container-single .chosen-search{
2248
2249 &:before{
2250 font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
2251 font-weight: 900;
2252 font-size: 11px;
2253 content: "\f002";
2254 position: absolute;
2255 right: 12px;
2256 top: 10px;
2257 color: #aaa;
2258 }
2259 }
2260
2261 .wp-picker-container{
2262 display: inline-block;
2263
2264 .wp-color-result.button{
2265 margin-bottom: 0;
2266 }
2267 }
2268
2269 .csf--transparent-wrap{
2270 display: none;
2271 position: relative;
2272 top: -1px;
2273 width: 235px;
2274 padding: 9px 10px;
2275 border: 1px solid #dfdfdf;
2276 border-top: none;
2277 background-color: #fff;
2278 }
2279
2280 .wp-picker-active .csf--transparent-wrap{
2281 display: block;
2282 }
2283
2284 .csf--transparent-slider{
2285 position: absolute;
2286 width: 190px;
2287 margin-left: 2px;
2288 height: 18px;
2289
2290 .ui-slider-handle{
2291 position: absolute;
2292 top: -3px;
2293 bottom: -3px;
2294 z-index: 5;
2295 border-color: #aaa;
2296 border-style: solid;
2297 border-width: 4px 3px;
2298 width: 10px;
2299 height: 16px;
2300 margin: 0 -5px;
2301 background: none;
2302 cursor: ew-resize;
2303 opacity: 0.9;
2304 border-radius: 4px;
2305 box-shadow: 0 1px 2px rgba(0,0,0,0.2);
2306
2307 &:before{
2308 content: " ";
2309 position: absolute;
2310 left: -2px;
2311 right: -2px;
2312 top: -3px;
2313 bottom: -3px;
2314 border: 2px solid #fff;
2315 border-radius: 3px;
2316 }
2317 }
2318 }
2319
2320 .csf--transparent-offset{
2321 height: 18px;
2322 width: 200px;
2323 background: url(../images/checkerboard.png) repeat-y center left scroll #fff;
2324 border-radius: 2px;
2325 box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
2326 }
2327
2328 .csf--transparent-text{
2329 position: absolute;
2330 top: 12px;
2331 right: 10px;
2332 width: 30px;
2333 font-size: 12px;
2334 line-height: 12px;
2335 text-align: center;
2336 color: #999;
2337 }
2338
2339 .csf--transparent-button{
2340 cursor: pointer;
2341 user-select: none;
2342 margin-top: 10px;
2343 font-size: 11px;
2344 text-align: center;
2345 border-radius: 2px;
2346 padding: 3px 7px;
2347 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
2348 letter-spacing: 0.2px;
2349 color: #777;
2350 border: 1px solid #ccc;
2351 background-color: #f7f7f7;
2352 transition: background-color .2s, border-color .2s, color .2s;
2353 }
2354
2355 .csf--transparent-active{
2356
2357 .wp-color-result{
2358 background-image: url(../images/checkerboard.png);
2359 background-size: 135px;
2360 background-position: center left;
2361 background-color: transparent !important;
2362 }
2363
2364 .csf--transparent-button{
2365 color: #fff;
2366 border-color: #3ea032;
2367 background-color: #4fb845;
2368 }
2369
2370 .fa:before{
2371 content: "\f205";
2372 }
2373 }
2374 }
2375