PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.7
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / admin / styles / _base.scss

_base.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.7, at src/admin/styles/_base.scss

2,235 lines 49.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-blocks-settings-page {
2 position: relative;
3 // margin-left: -20px;
4 .sp-pcp-block-settings-start-page * {
5 margin: 0;
6 padding: 0;
7 }
8
9 .wp-person a:focus .gravatar,
10 a:focus,
11 a:focus .media-icon img,
12 a:focus .plugin-icon {
13 box-shadow: none;
14 outline: none;
15 }
16
17 // Green upgrade notice
18 .sp-pcp-green-header-notice {
19 background-color: #148652;
20 height: 40px;
21 display: flex;
22 align-items: center;
23 justify-content: center;
24
25 .sp-pcp-green-header-notice-content {
26 display: flex;
27 align-items: center;
28 padding: 12px 0;
29
30 .sp-pcp-green-header-notice-text {
31 color: #fff;
32 font-size: 14px;
33 margin-left: 6px;
34 }
35
36 .sp-pcp-green-header-notice-link {
37 color: #fff;
38 font-size: 14px;
39 font-weight: bold;
40 display: inline-flex;
41 align-items: center;
42 padding-left: 8px;
43 position: relative;
44 gap: 3px;
45
46 &::after {
47 content: '';
48 position: absolute;
49 bottom: 0px;
50 left: 8px;
51 right: 0;
52 height: 1px;
53 background-color: #fff;
54 }
55
56 &:hover {
57 text-decoration: none;
58 svg {
59 transform: translateX(3px) rotate(45deg);
60 }
61 }
62
63 svg {
64 width: 11px;
65 height: 11px;
66 transform: rotate(45deg);
67 transition: all .3s ease-in-out;
68 }
69 }
70
71 .sp-pcp-green-header-notice-close {
72 background: none;
73 border: none;
74 color: #dad7d7;
75 cursor: pointer;
76 padding: 4px;
77 margin-left: 16px;
78 display: flex;
79 align-items: center;
80 justify-content: center;
81 border-radius: 4px;
82 transition: all 0.2s ease;
83 position: absolute;
84 right: 15px;
85 width: 18px;
86
87 &:hover {
88 background-color: rgba(255, 255, 255, 0.1);
89 }
90
91 svg {
92 width: 16px;
93 height: 16px;
94 }
95 }
96 }
97 }
98
99 .sp-pcp-blocks-settings-page-header {
100 background-color: #fff;
101 border-bottom: 1px solid #ddd;
102 margin-bottom: 48px;
103
104 .sp-pcp-block-setting-header-wrapper {
105 height: 64px;
106 padding: 0 32px;
107 max-width: 1400px;
108 margin: 0 auto;
109 display: flex;
110 align-items: center;
111 justify-content: space-between;
112 }
113
114 .sp-pcp-blocks-settings-page-header-left {
115 width: auto;
116 display: flex;
117 gap: 10px;
118 align-items: center;
119 flex-shrink: 0;
120
121 img {
122 max-width: 180px;
123 }
124 }
125
126 .sp-pcp-plugin-version {
127 border: 1px solid #ddd;
128 border-radius: 17px;
129 padding: 4px 10px;
130 display: flex;
131 align-items: center;
132 gap: 4px;
133 font-size: 13px;
134 font-weight: 500;
135 color: #2f2f2f;
136 cursor: pointer;
137 background: #fff;
138
139 svg, img {
140 width: 12px;
141 height: 12px;
142 }
143 }
144
145 // Navigation in center
146 .sp-pcp-admin-dashboard-nav {
147 flex: 1;
148 display: flex;
149 justify-content: center;
150 padding: 0;
151 border: none;
152 background: transparent;
153 position: relative;
154
155 ul {
156 list-style: none;
157 padding: 0;
158 display: flex;
159 gap: 24px;
160 margin: 0;
161 }
162
163 // Sliding indicator
164 .sp-pcp-nav-sliding-indicator {
165 position: absolute;
166 bottom: 0;
167 left: 0;
168 height: 2px;
169 background-color: var(--sp-smart-primary-2-600);
170 border-radius: 1px;
171 transition: left 0.3s ease, width 0.3s ease;
172 pointer-events: none;
173 }
174
175 li {
176 font-size: 16px;
177 font-weight: 500;
178 line-height: normal;
179 margin: 0;
180
181 a {
182 text-decoration: none;
183 display: inline-flex;
184 align-items: center;
185 height: 64px;
186 // padding: 24px 0;
187 color: #2f2f2f;
188 transition: color 0.3s ease;
189 position: relative;
190
191 &.active {
192 color: var(--sp-smart-primary-2-600);
193 }
194
195 .sp-pcp-nav-badge {
196 position: absolute;
197 top: 11px;
198 right: 0px;
199 background-color: transparent;
200 color: #F07800;
201 font-size: 10px;
202 font-weight: 500;
203 padding: 0;
204 border-radius: 0;
205 white-space: nowrap;
206 line-height: normal;
207 text-transform: uppercase;
208 }
209 }
210
211 // Nav item with icon styling
212 &.sp-pcp-nav-item-with-icon {
213 a {
214 display: inline-flex;
215 align-items: center;
216 gap: 5px;
217 }
218 }
219
220 // Divider before Lite vs Pro
221 &.sp-pcp-nav-divider {
222 position: relative;
223 margin-left: 24px;
224
225 &::after {
226 content: '';
227 position: absolute;
228 left: -24px;
229 top: 50%;
230 transform: translateY(-50%);
231 width: 1px;
232 height: 20px;
233 background-color: #ccc;
234 }
235 }
236 }
237 }
238
239 .sp-pcp-blocks-settings-page-header-right {
240 display: flex;
241 justify-content: flex-end;
242 align-items: center;
243 flex-shrink: 0;
244 padding: 10px 0;
245 font-size: 15px;
246 font-weight: 600;
247 position: relative;
248 color: #2f2f2f;
249 cursor: pointer;
250 gap: 3px;
251
252 svg {
253 color: var(--sp-smart-primary-2-600);
254 }
255
256 .get-help {
257 width: 72px;
258 }
259
260 &:hover {
261 .sp-pcp-help-drop-down {
262 visibility: visible;
263 opacity: 1;
264 }
265 }
266
267 .sp-pcp-help-drop-down {
268 position: absolute;
269 top: 35px;
270 background: #fff;
271 right: 0px;
272 padding: 10px;
273 text-align: left;
274 border-radius: 4px;
275 box-shadow: 0 2px 15px 0 rgba(17, 17, 17, 0.15);
276 z-index: 10;
277 width: 244px;
278 opacity: 0;
279 visibility: hidden;
280 transition: all .3s ease-in-out;
281 display: flex;
282 flex-direction: column;
283
284 a {
285 font-size: 16px;
286 font-weight: 400;
287 color: #565A5F;
288 padding: 10px;
289 border-radius: 5px;
290 position: relative;
291 transition: all 0.3s;
292 text-decoration: none;
293 display: flex;
294 align-items: center;
295 gap: 10px;
296
297 .drop-down-arrow {
298 width: 16px;
299 height: 18px;
300 scale: 0.8;
301 fill: #565A5F;
302 margin-left: auto;
303 position: relative;
304
305 svg {
306 position: absolute;
307 top: 80%;
308 left: -10px;
309 transform: translate(-50%, -50%);
310 transition: all 0.5s;
311 opacity: 0;
312 }
313 }
314
315 &:hover {
316 background: #efe6fb;
317
318 .drop-down-arrow {
319 svg {
320 left: 0px;
321 top: 40%;
322 opacity: 1;
323 }
324 }
325 }
326 }
327 }
328
329 &.active {
330 color: var(--sp-smart-primary-2-600);
331 }
332 }
333
334 // .sp-pcp-blocks-settings-help-text-support {
335 // position: absolute;
336 // width: 350px;
337 // background: #000;
338 // right: 0;
339 // top: 45px;
340 // padding: 20px;
341 // border-radius: 8px;
342 // }
343
344 img {
345 max-width: 180px;
346 }
347 }
348
349 .sp-pcp-blocks-setting-wrapper {
350 max-width: 1400px;
351 margin: 0 auto;
352 padding: 0 50px;
353
354 .sp-pcp-blocks-setting-blocks-page {
355 display: grid;
356 grid-template-columns: repeat(3, 1fr);
357 gap: 30px;
358 }
359
360 .sp-pcp-blocks-setting-blocks-page h3:first-child {
361 margin-top: -4px;
362 }
363
364 .sp-pcp-blocks-setting-title {
365 grid-column: 1/4;
366 margin-top: 10px;
367 font-size: 22px;
368 font-weight: 600;
369 line-height: 28px;
370 margin-bottom: -15px;
371 }
372
373 .sp-pcp-blocks-setting-title.sp-smart-carousel-title {
374 margin-top: 0;
375 }
376
377 .sp-pcp-blocks-settings-card {
378 display: flex;
379 align-items: center;
380 justify-content: space-between;
381 background-color: #ffffff;
382 padding: 17px;
383 border-radius: 6px;
384 box-shadow: 0 1px 2px 0 hsla(0,0%,7%,.2);
385
386 &-icon,
387 &-docs ul,
388 &-info {
389 display: flex;
390 align-items: center;
391 }
392
393 &-docs ul li a svg path,
394 &-docs ul li a{
395 transition: all .3s;
396 }
397
398 &-docs ul li a:hover,
399 &-docs ul li a:hover svg path {
400 color: var(--sp-smart-primary-2-400);
401 stroke: var(--sp-smart-primary-2-400);
402 }
403
404 &-icon {
405 width: 32px;
406 height: 32px;
407 border: 2px solid var(--sp-smart-primary-2-100);
408 padding: 6px;
409 border-radius: 6px;
410 display: flex;
411 align-items: center;
412 justify-content: center;
413 }
414
415 &-docs {
416 margin-left: 10px;
417
418 li,
419 h4,
420 ul {
421 margin: 0;
422 padding: 0;
423 }
424
425 h4 {
426 font-size: 16px;
427 color: #1E1E1E;
428 font-weight: 600;
429 line-height: 20px;
430 // margin-bottom: 6px;
431 }
432
433 ul {
434 display: flex;
435 gap: 10px;
436 }
437
438 ul li a {
439 text-decoration: none;
440 color: #757575;
441 font-size: 14px;
442 font-weight: 400;
443 display: flex;
444 gap: 5px;
445 line-height: 20px;
446 align-items: center;
447 }
448
449 ul li a:focus {
450 box-shadow: none;
451 }
452 }
453
454 .sp-pcp-blocks-settings-toggle-btn {
455 @extend %reactToggle;
456 }
457 }
458
459 .sp-pcp-blocks-setting-modules-page {
460 display: grid;
461 grid-template-columns: repeat(3, 1fr);
462 gap: 30px;
463
464 .sp-pcp-blocks-settings-card {
465 padding: 26px 20px 20px;
466 position: relative;
467 border-radius: 12px;
468 }
469
470
471 .sp-pcp-blocks-settings-card-info,
472 .sp-pcp-blocks-settings-card.setup-wizard {
473 align-items: center;
474 }
475
476 .sp-pcp-blocks-settings-card-info,
477 .sp-pcp-blocks-settings-card {
478 align-items: start;
479 }
480 .sp-pcp-blocks-settings-card-icon{
481 border: none;
482 img {
483 max-width: unset;
484 }
485 &.sp-taxonomy {
486 background: linear-gradient(135deg, #3662B2 0%, #13D2C4 100%);
487 }
488 &.sp-shortcode {
489 // background: linear-gradient(90deg, #B53361 0%, #E2572C 65.02%);
490 background: var(--sp-smart-primary-2-600);
491 }
492 &.sp-website-builder {
493 background: linear-gradient(135deg, #97ABFF 0%, #123597 100%);
494 }
495 &.sp-starter-sites {
496 background: linear-gradient(138deg, #E707FA 0%, #A106F4 94.66%);
497 }
498 &.sp-template-library {
499 background: linear-gradient(90deg, #AB4CFE 0%, #7317FE 100%);
500 }
501 &.sp-saved-template {
502 background: linear-gradient(90deg, #00AFFF 0%, #2974FF 100%);
503 }
504 &.sp-dynamic-datafield {
505 background: linear-gradient(135deg, #F761A1 0%, #8C1BAB 100%);
506 }
507 &.sp-front-post-submission {
508 background: linear-gradient(137deg, #FFBD29 1.99%, #FF2DB6 98.01%);
509 }
510 &.sp-reading-scroll-progress {
511 background: linear-gradient(135deg, #3B2667 0%, #BC78EC 100%);
512 }
513 &.sp-post-badges {
514 background: linear-gradient(135deg, #FF96F9 0%, #C32BAC 100%);
515 }
516 &.sp-featured-video {
517 background: linear-gradient(135deg, #374691 0%, #2160DF 100%);
518 }
519 &.sp-image-gallery {
520 background: linear-gradient(180deg, #920523 0%, #A61937 25%, #BA2D4B 50%, #CE415F 75%, #E25573 100%);
521 }
522 &.sp-back-to-top {
523 width: 44px;
524 height: 44px;
525 background: linear-gradient(315deg, #79E9F1 0%, #0E5CAD 100%);
526 box-sizing: border-box;
527 svg {
528 padding: 10px 7px;
529 border: 2px solid #FFF;
530 border-radius: 50%;
531 }
532 }
533 &.sp-chat_gpt {
534 box-sizing: border-box;
535 width: 44px;
536 height: 44px;
537 background: #10A37F;
538 }
539 &.sp-deep_seek {
540 box-sizing: border-box;
541 width: 44px;
542 height: 44px;
543 padding: 0;
544 }
545 }
546 .sp-pcp-blocks-settings-card-info {
547 h4 {
548 font-size: 16px;
549 font-weight: 600;
550 line-height: 20px;
551 text-transform: capitalize;
552 margin-bottom: 10px;
553 }
554 span {
555 font-size: 14px;
556 line-height: 24px;
557 font-weight: 400;
558 color: #5D5D5D;
559 margin-bottom: 7px;
560 display: inline-block;
561 }
562 ul {
563 // border-top: 1px solid #ccc;
564 padding-top: 9px;
565
566 li a {
567 border: 1px solid #ECEDF0;
568 padding: 3px 11px;
569 background: #FBFCFF;
570 border-radius: 4px;
571 transition: all 0.3s linear;
572
573 &:hover {
574 background: #641DD7;
575 border-color: #641DD7;
576 color: #fff;
577 path {
578 stroke: #fff;
579 }
580 }
581 }
582 }
583 }
584 }
585 }
586
587 .sp-pcp-blocks-setting-wrapper .sp-smart-post-modules-wizard .sp-pcp-blocks-settings-card {
588 padding: 19px 20px;
589 }
590
591 // Pro badge.
592 .sp-pcp-pro-card {
593 position: relative;
594
595 .sp-pcp-blocks-settings-toggle-btn {
596 // opacity: 0.5;
597 pointer-events: none;
598 }
599
600 .sp-pcp-pro-blocks-badge {
601 align-items: center;
602 background: #E5F7EC;
603 border-radius: 20px;
604 color: #4AB866;
605 display: flex;
606 font-size: 10px;
607 font-weight: 600;
608 gap: 4px;
609 overflow: hidden;
610 padding: 0 0px;
611 position: absolute;
612 right: 4px;
613 top: 4px;
614 transition: width .3s ease;
615 width: 18px;
616 height: 18px;
617 border: 1px solid #93DCAC;
618 text-transform: uppercase;
619 line-height: 1.6;
620 box-sizing: border-box;
621 svg {
622 transform: translate(2.3px, -0.5px);
623 }
624 & * {
625 flex-shrink: 0;
626 }
627 }
628
629 &:hover .sp-pcp-pro-blocks-badge {
630 width: 43px;
631 }
632 }
633
634 .sp-pcp-blocks-settings-card-title {
635 display: flex;
636 gap: 8px;
637 margin-bottom: 2px;
638
639 .sp-pcp-pro-blocks-badge {
640 position: relative;
641 top: 0;
642 left: 0;
643 width: 14.5px;
644 }
645 }
646
647 .setup-wizard {
648 .sp-pcp-blocks-settings-card {
649 border-radius: 12px;
650 border: 1px solid #ddd;
651 box-shadow: none;
652
653 .sp-pcp-blocks-settings-card-docs,
654 .sp-pcp-blocks-settings-card-title {
655 h4 {
656 font-weight: 500;
657 }
658 }
659 }
660 .sp-pcp-pro-blocks-badge {
661 width: 43px;
662 }
663 }
664
665
666 .sp-pcp-blocks-settings-card.setup-wizard .sp-pcp-blocks-settings-card-info {
667 align-items: center;
668 h4 {
669 margin-bottom: 0;
670 }
671 }
672 .sp-pcp-blocks-settings-card.setup-wizard .sp-pcp-blocks-settings-toggle-btn {
673 justify-content: center;
674 width: 50px;
675 align-items: end;
676 }
677
678 // Start page design.
679 .sp-pcp-block-settings-start-page {
680 display: flex;
681 flex-direction: column;
682 justify-content: space-between;
683
684 &-footer {
685 margin-top: 50px;
686 align-self: center;
687 text-align: center;
688 color: #6E6A69;
689 font-size: 14px;
690 font-weight: 500;
691 line-height: 16px;
692
693 span {
694 display: flex;
695 margin-bottom: 8px;
696
697 a {
698 text-decoration: none;
699 color: #6E6A69;
700 margin: 0 4px;
701 transition: all .3s linear;
702 }
703
704 a:hover {
705 color: var(--sp-smart-primary-2-600);
706 }
707
708 svg {
709 margin: 0 5px;
710 }
711 }
712
713 ul {
714 display: flex;
715 justify-content: center;
716 gap: 12px;
717 margin-top: 10px;
718
719 li a svg {
720 fill: #6E6A69;
721 transition: all .3s linear;
722 }
723
724 li a:hover svg {
725 fill: var(--sp-smart-primary-2-600);
726 }
727 }
728 }
729 }
730
731 .sp-pcp-block-settings-start-page-wrapper {
732 display: flex;
733 gap: 40px;
734
735 .sp-pcp-video-section {
736 padding: 40px;
737 background: #fff;
738 border-radius: 8px;
739 box-shadow: 0 1px 2px 0 hsla(0,0%,7%,.2);
740 width: 65%;
741 // flex-shrink: 0;
742 &-text {
743 h3 {
744 font-size: 28px;
745 font-weight: 600;
746 line-height: 28px;
747 margin-bottom: 20px;
748 }
749
750 span {
751 font-size: 15px;
752 font-weight: 400;
753 display: block;
754 margin-bottom: 20px;
755 }
756 }
757
758 &-video {
759 overflow: hidden;
760 border-radius: 8px;
761
762 position: relative;
763 width: 100%;
764 padding-top: 56.25%;
765
766 iframe {
767 position: absolute;
768 top: 0;
769 left: 0;
770 bottom: 0;
771 right: 0;
772 width: 100%;
773 height: 100%;
774 border: none;
775 }
776 }
777
778 &-btn {
779 ul {
780 display: flex;
781 gap: 18px;
782 margin-top: 36px;
783
784 li {
785 display: inline-flex;
786
787 a {
788 text-decoration: none;
789 font-size: 16px;
790 font-weight: 600;
791 padding: 17px 24px;
792 border-radius: 4px;
793 border: 1px solid transparent;
794 transition: all .3s linear;
795 display: flex;
796 flex-direction: row;
797 align-items: center;
798 gap: 8px;
799 }
800 }
801
802 li:nth-child(1) a {
803 color: #fff;
804 // background-color: #F15D32;
805 background-color: var(--sp-smart-primary-2-600);
806 }
807
808 li:nth-child(1) a:hover {
809 // background-color: #d4512a;
810 background-color: var(--sp-smart-primary-2-700);
811 }
812
813 // li:nth-child(2) a {
814 // // color: #F15D32;
815 // // border-color: #F15D32;
816 // color: var(--sp-smart-primary-2-600);
817 // border-color: var(--sp-smart-primary-2-600);
818 // }
819
820 // li:nth-child(2) a:hover {
821 // color: #fff;
822 // background-color: var(--sp-smart-primary-2-600);
823 // border-color: transparent;
824 // }
825
826 li:nth-child(2) a {
827 display: flex;
828 color: #949494;
829 border-color: #949494;
830
831 svg {
832 fill: #949494;
833 transition: all .3s linear;
834 }
835 }
836
837 li:nth-child(2) a:hover {
838 color: #fff;
839 background-color: var(--sp-smart-primary-2-600);
840 border-color: var(--sp-smart-primary-2-600);
841
842 svg {
843 fill: #fff;
844 }
845 }
846 }
847 }
848
849 .sp-pcp-video-section-video {
850 iframe {
851 border: 0;
852 }
853 }
854 }
855
856 .sp-pcp-sidebar-section {
857 width: 35%;
858 // flex-shrink: 0;
859 .sp-pcp-sidebar-box {
860 background-color: #fff;
861 border-radius: 4px;
862 padding: 30px;
863 box-shadow: 0 1px 2px 0 hsla(0,0%,7%,.2);
864 max-width: 380px;
865
866 &-title {
867 display: flex;
868 align-items: center;
869 margin-bottom: 12px;
870
871 h4 {
872 font-size: 18px;
873 font-weight: 600;
874 line-height: 20px;
875 margin-left: 10px;
876 }
877 }
878
879 &-text {
880 font-size: 14px;
881 font-weight: 400;
882 line-height: 22px;
883 margin-bottom: 24px;
884 }
885
886 &-btn {
887 text-decoration: none;
888 border: 1px solid #949494;
889 padding: 10px 16px;
890 font-size: 14px;
891 line-height: 16px;
892 font-weight: 600;
893 color: #949494;
894 border-radius: 3px;
895 display: inline-block;
896 transition: all .3s linear;
897 }
898
899 &-btn:hover {
900 background-color: var(--sp-smart-primary-2-600);
901 color: #fff;
902 border-color: var(--sp-smart-primary-2-600);
903 }
904 }
905
906 .sp-pcp-sidebar-box:not(:first-child) {
907 margin-top: 40px;
908 }
909 }
910 }
911
912 .sp-pcp-change-log-notice-icon {
913 display: flex;
914 padding: 0 !important;
915 width: 23px;
916 height: 23px;
917 align-items: center;
918 justify-content: center;
919 cursor: pointer;
920 }
921 }
922
923 // Change log popup design.
924 body.show-change-log {
925 position: relative;
926 overflow: hidden;
927 }
928
929 body.show-change-log::after {
930 position: absolute;
931 content: "";
932 width: 100%;
933 height: 100%;
934 top: 0;
935 left: 0;
936 background-color: #1E1E1E;
937 opacity: 0;
938 transition: all .3s linear;
939 visibility: hidden;
940 z-index: 20;
941 }
942
943 body.show-change-log::after {
944 opacity: .8;
945 visibility: visible;
946 }
947
948 .sp-pcp-change-log {
949 position: fixed;
950 width: 350px;
951 height: 100%;
952 right: -350px;
953 background: #fff;
954 z-index: 99;
955 overflow-y: auto;
956 font-size: 20px;
957 transition: all .3s;
958 box-shadow: 0 1px 2px 0 hsla(0,0%,7%,.2);
959 }
960
961 .show-change-log .sp-pcp-change-log {
962 right: 0;
963 }
964
965 .sp-smart-changelog-details {
966 padding: 0px 15px 50px 15px;
967 }
968
969 .sp-smart-changelog-details ul {
970 font-size: 13px;
971 list-style: disc;
972
973 li {
974 margin-bottom: 5px;
975 margin-left: 18px;
976
977 }
978 }
979
980 .sp-pcp-change-log-header {
981 display: flex;
982 padding: 15px;
983 justify-content: space-between;
984 position: sticky;
985 top: 0;
986 left: 0;
987 background: #fff;
988 z-index: 9;
989 box-shadow: 0 1px 2px 0 hsla(0,0%,7%,.2);
990
991 h4 {
992 margin: 0;
993 }
994 }
995
996 .sp-pcp-change-log-close {
997 cursor: pointer;
998 svg path {
999 fill: currentColor;
1000 }
1001 }
1002
1003 .sp-smart-changelog-details .markdown-body>p,
1004 .sp-smart-changelog-details>p {
1005 font-size: 16px;
1006 margin: 20px 0px;
1007 }
1008
1009 @media screen and (max-width: 1199px) {
1010 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-setting-wrapper .sp-pcp-blocks-setting-blocks-page {
1011 grid-template-columns: repeat(2, 1fr);
1012 }
1013 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-setting-wrapper .sp-pcp-blocks-setting-modules-page {
1014 grid-template-columns: repeat(2, 1fr);
1015 }
1016
1017 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-setting-wrapper .sp-pcp-blocks-setting-title {
1018 grid-column: 1 / 3;
1019 }
1020 }
1021
1022 @media screen and (max-width: 1023px) {
1023 .sp-smart-post-blocks-settings-page .sp-pcp-block-settings-start-page-wrapper {
1024 flex-direction: column;
1025
1026 .sp-pcp-sidebar-section,
1027 .sp-pcp-video-section {
1028 width: auto;
1029 }
1030 .sp-pcp-sidebar-section {
1031 margin: auto;
1032 }
1033 }
1034 .sp-pcp-blocks-setting-saved-template-content-table-wrapper {
1035 overflow-x: auto;
1036 .sp-pcp-blocks-setting-saved-template-content-table {
1037 width: 1200px;
1038 }
1039 }
1040 }
1041
1042 @media screen and (max-width: 765px) {
1043 .sp-smart-post-blocks-settings-page .sp-pcp-block-settings-start-page-wrapper .sp-pcp-video-section {
1044 padding: 25px 15px;
1045 }
1046 .sp-smart-post-blocks-settings-page .sp-pcp-block-settings-start-page-wrapper .sp-pcp-video-section-btn ul {
1047 flex-direction: column;
1048 }
1049 .sp-smart-post-blocks-settings-page .sp-pcp-block-settings-start-page-wrapper .sp-pcp-video-section-btn ul li a {
1050 text-align: center;
1051 justify-content: center;
1052 width: 100%;
1053 }
1054 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-setting-wrapper .sp-pcp-blocks-setting-blocks-page {
1055 grid-template-columns: repeat(1, 1fr);
1056 }
1057 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-setting-wrapper .sp-pcp-blocks-setting-modules-page {
1058 grid-template-columns: repeat(1, 1fr);
1059 }
1060
1061 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-setting-wrapper .sp-pcp-blocks-setting-title {
1062 grid-column: 1 / 2;
1063 }
1064 }
1065
1066 .sp-pcp-blocks-setting-builder-page {
1067 background-color: #FFF;
1068
1069 .sp-pcp-builder-dashboard {
1070 .sp-pcp-builder-dashboard__content {
1071 &.sp-pcp-builder-tab {
1072 display: grid;
1073 grid-template-columns: 220px 1fr;
1074 border: 1px solid #E0E0E0;
1075 border-radius: 4px;
1076 width: 100%;
1077
1078 .sp-pcp-builder-tab-option {
1079 width: 220px;
1080 min-height: 100vh;
1081
1082 ul .sp-pcp-tab-sub-option {
1083 border-top: 1px solid #E0E0E0;
1084 }
1085
1086 ul .sp-pcp-tab-sub-option li {
1087 padding-left: 40px;
1088
1089 &.active {
1090 border-radius: 0;
1091 }
1092 }
1093
1094 ul {
1095 margin: 0;
1096 padding: 0;
1097 }
1098
1099 ul li {
1100 display: flex;
1101 // justify-content: space-between;
1102 gap: 8px;
1103 align-items: center;
1104 border-top: 1px solid #E0E0E0;
1105 border-right: 1px solid #E0E0E0;
1106 background: #F0F0F0;
1107 color: #2F2F2F;
1108 font-size: 13px;
1109 font-style: normal;
1110 font-weight: 500;
1111 line-height: 153.846%;
1112 cursor: pointer;
1113 margin: 0;
1114 padding: 12px 14px;
1115 box-sizing: border-box;
1116 border-left: 3px solid transparent;
1117
1118 &.active {
1119 background: #FFF;
1120 border-left: 3px solid var(--sp-smart-primary-2-600);
1121 border-right: 0;
1122 border-radius: 0;
1123 color: var(--sp-smart-primary-2-600);
1124 }
1125
1126 &:first-child {
1127 border-radius: 4px 0 0 0;
1128 border-top: 0;
1129 }
1130 }
1131
1132 ul {
1133 li.child-tab {
1134 max-height: 0;
1135 overflow: hidden;
1136 opacity: 0;
1137 transition: all 0.4s ease;
1138 padding: 0;
1139 pointer-events: none;
1140 border: none;
1141
1142 }
1143
1144 li.archive.open-submenu~li.child-tab {
1145 max-height: 50px;
1146 opacity: 1;
1147 pointer-events: auto;
1148 padding: 12px 14px 12px 40px;
1149 border-top: 1px solid #E0E0E0;
1150 border-right: 1px solid #E0E0E0;
1151 border-left: 3px solid transparent;
1152 }
1153
1154 li.archive.open-submenu~li.child-tab.active {
1155 border-left: 3px solid var(--sp-smart-primary-2-600);
1156 }
1157
1158 li.archive {
1159 position: relative;
1160 }
1161
1162 li.archive .submenu-arrow {
1163 position: absolute;
1164 right: 14px;
1165 display: flex;
1166 }
1167
1168 li.archive.open-submenu .submenu-arrow {
1169 rotate: 0deg;
1170 transition: 0.3s ease-in-out;
1171 }
1172
1173 li.archive .submenu-arrow {
1174 rotate: -90deg;
1175 transition: 0.3s ease-in-out;
1176 }
1177 }
1178 }
1179
1180 .sp-pcp-builder-tab-content {
1181 display: flex;
1182 padding: 32px 24px;
1183 flex-direction: column;
1184 gap: 24px;
1185 align-self: stretch;
1186
1187 .sp-pcp-builder-tab__heading {
1188 display: flex;
1189 flex-direction: row;
1190 align-items: center;
1191 justify-content: space-between;
1192
1193 button {
1194 display: flex;
1195 justify-content: center;
1196 align-items: center;
1197 padding: 10px 24px 10px 20px;
1198 gap: 8px;
1199 color: #FFF;
1200 font-size: 16px;
1201 font-style: normal;
1202 font-weight: 600;
1203 line-height: 28px;
1204 /* 175% */
1205 border: 0;
1206 border-radius: 4px;
1207 background: var(--sp-smart-primary-2-600);
1208 cursor: pointer;
1209 }
1210 }
1211
1212 .sp-pcp-builder-tab__heading h3 {
1213 color: #2F2F2F;
1214
1215 font-size: 24px;
1216 font-style: normal;
1217 font-weight: 600;
1218 line-height: 116.667%;
1219 margin: 0;
1220
1221 a {
1222 display: flex;
1223 align-items: center;
1224 color: #2F2F2F;
1225
1226 font-size: 24px;
1227 font-style: normal;
1228 font-weight: 600;
1229 line-height: 28px;
1230 /* 116.667% */
1231 text-decoration: none;
1232 cursor: pointer;
1233 }
1234 }
1235
1236 .sp-pcp-builder-tab__content-items-* {
1237 display: none;
1238
1239 &.active {
1240 display: block;
1241 }
1242 }
1243
1244 // .sp-pcp-builder-tab__content-items-home {
1245 // display: none;
1246 // &.active {
1247 // display: block;
1248 // }
1249 // }
1250 }
1251 }
1252 }
1253 }
1254 }
1255
1256 .sp-pcp-template-list-tab {
1257 .sp-pcp-builder-items {
1258 display: grid;
1259 gap: 24px;
1260 // min-height: 100vh;
1261 grid-template-columns: repeat(3, 1fr);
1262
1263 // &.grid-columns-3 {
1264 // grid-template-columns: repeat(3, 1fr);
1265 // }
1266 // &.grid-columns-2 {
1267 // grid-template-columns: repeat(2, 1fr);
1268 // }
1269
1270 .sp-pcp-list-item {
1271 &.sp-pcp-pre-made-item {
1272 display: flex;
1273 min-width: 284px;
1274 min-height: 320px;
1275 flex-direction: column;
1276 align-items: flex-start;
1277 gap: 1px;
1278 flex-shrink: 0;
1279 border-radius: 4px;
1280 border: 1px solid #E0E0E0;
1281 background: #FFF;
1282 box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
1283 height: 100%;
1284
1285 .list-item-heading {
1286 display: flex;
1287 flex-direction: row;
1288 justify-content: space-between;
1289 align-items: center;
1290 width: 100%;
1291 padding: 12px 16px;
1292 box-sizing: border-box;
1293
1294 .list-info {
1295 display: flex;
1296 flex-direction: column;
1297 flex-shrink: 0;
1298 align-self: stretch;
1299
1300 font-style: normal;
1301 text-transform: capitalize;
1302
1303 .list-info-title {
1304 color: #1E1E1E;
1305 font-size: 16px;
1306 font-weight: 600;
1307 line-height: 20px;
1308 /* 125% */
1309 }
1310
1311 .list-info-description {
1312 color: #757575;
1313 font-size: 13px;
1314 font-weight: 500;
1315 line-height: 120%;
1316 /* 15.6px */
1317 margin-top: 4px;
1318 }
1319 }
1320
1321 .list-icon {
1322 display: flex;
1323 flex-direction: row;
1324 justify-content: center;
1325 gap: 8px;
1326
1327 .list-icon-favourite {
1328 display: flex;
1329 justify-content: center;
1330 align-items: center;
1331 width: 24px;
1332 height: 24px;
1333 border: 1px solid #F0F0F0;
1334 border-radius: 50%;
1335 background: #FFF;
1336 box-shadow: 1px 1px 5px 1px rgba(76, 189, 246, 0.10);
1337 cursor: pointer;
1338 }
1339
1340 .list-icon-crown {
1341 display: flex;
1342 width: 24px;
1343 height: 24px;
1344 justify-content: center;
1345 align-items: center;
1346 background-color: #F2930D;
1347 border-radius: 4px;
1348 cursor: pointer;
1349 }
1350
1351 }
1352 }
1353
1354 .list-overlay {
1355 display: flex;
1356 padding: 0px 16px 12px;
1357 align-items: flex-start;
1358 align-content: flex-start;
1359 gap: 10px;
1360 flex: 1 0 0;
1361 align-self: stretch;
1362 flex-wrap: wrap;
1363 position: relative;
1364
1365 img {
1366 width: 100%;
1367 max-width: 100%;
1368 object-fit: fill;
1369 }
1370
1371 .list-overlay-img-box {
1372 width: 100%;
1373 max-width: 100%;
1374 height: 100%;
1375 max-height: 100%;
1376 border: 1px solid var(--sp-smart-primary-2-600);
1377 background-color: var(--sp-smart-primary-2-50);
1378
1379 button {
1380 border: none;
1381 }
1382 }
1383
1384 .sp-pcp-white-overlay {
1385 position: absolute;
1386 width: calc(100% - 32px);
1387 height: calc(100% - 12px);
1388 display: flex;
1389 flex-direction: column;
1390 align-items: center;
1391 justify-content: center;
1392 color: #2F2F2F;
1393
1394 font-size: 14px;
1395 font-style: normal;
1396 font-weight: 600;
1397 line-height: 20px;
1398 /* 142.857% */
1399 text-transform: capitalize;
1400 gap: 4px;
1401 cursor: pointer;
1402 background-color: transparent;
1403 transition: all 0.3s ease-in-out;
1404
1405 svg {
1406 width: 36px;
1407 height: 36px;
1408 font-size: 20px;
1409 color: var(--sp-smart-primary-2-600);
1410 }
1411
1412 &:has(.sp-pcp-overlay-preview):hover {
1413 background-color: rgba(0, 0, 0, 0.40);
1414 }
1415 }
1416
1417 .sp-pcp-overlay-preview {
1418 display: flex;
1419 width: 40px;
1420 height: 40px;
1421 justify-content: center;
1422 align-items: center;
1423 border-radius: 40px;
1424 border: 1px solid var(--sp-smart-primary-2-600);
1425 background: var(--sp-smart-primary-2-600);
1426 opacity: 0;
1427 visibility: hidden;
1428 transition: all 0.3s ease-in-out;
1429
1430 svg {
1431 width: 20px;
1432 height: 20px;
1433 }
1434 }
1435
1436 &:hover .sp-pcp-overlay-preview {
1437 opacity: 1;
1438 visibility: visible;
1439 }
1440 }
1441
1442 .sp-pcp-gutenberg-edit {
1443 padding: 0 16px 12px;
1444 width: 100%;
1445 box-sizing: border-box;
1446
1447 .sp-pcp-gutenberg-edit-content {
1448 button.gutenberg-edit-btn {
1449 width: 100%;
1450 display: flex;
1451 align-items: center;
1452 justify-content: center;
1453 background-color: #4AB866;
1454 border: none;
1455 border-radius: 4px;
1456 color: #FFF;
1457
1458 font-size: 14px;
1459 font-style: normal;
1460 font-weight: 500;
1461 line-height: 20px;
1462 /* 142.857% */
1463 padding: 8px;
1464 cursor: pointer;
1465 }
1466 }
1467 }
1468 }
1469 }
1470 }
1471
1472 .sp-pcp-builder-list-footer {
1473 margin-top: 36px;
1474
1475 .sp-pcp-footer-content {
1476 display: flex;
1477 flex-direction: row;
1478 justify-content: space-between;
1479 align-items: center;
1480
1481 .sp-pcp-builder-pagination {
1482 display: flex;
1483 flex-direction: row;
1484 gap: 8px;
1485
1486 button {
1487 display: flex;
1488 justify-content: center;
1489 align-items: center;
1490 border-radius: 4px;
1491 border: 1px solid #2F2F2F;
1492 background: transparent;
1493 cursor: pointer;
1494
1495 &.sp-pcp-builder-pagination-btn {
1496 padding: 4px 12px;
1497 color: #2F2F2F;
1498 text-align: center;
1499 font-size: 14px;
1500 font-style: normal;
1501 font-weight: 500;
1502 line-height: 20px;
1503
1504 /* 142.857% */
1505 &.active {
1506 color: #fff;
1507 background-color: #2F2F2F;
1508 }
1509 }
1510
1511 &.sp-pcp-builder-pagination-btn-left,
1512 &.sp-pcp-builder-pagination-btn-right {
1513 padding: 4px 3px;
1514 border: 1px solid #2F2F2F;
1515
1516 svg path {
1517 stroke: #2F2F2F;
1518 }
1519 }
1520 }
1521 }
1522 }
1523 }
1524 }
1525
1526 .sp-pcp-builder-list-wrapper {
1527 ul {
1528 margin: 0;
1529 padding: 0;
1530 border-radius: 4px;
1531 border: 1px solid #FCD8CF;
1532 background: #FFF;
1533 box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
1534
1535 li {
1536 display: flex;
1537 align-items: center;
1538 align-self: stretch;
1539 gap: 16px;
1540 padding: 14px 24px;
1541 margin: 0;
1542
1543 &.list-heading {
1544 background: #FEE8E1;
1545
1546 .sp-pcp-font-list-heading {
1547
1548 font-size: 16px;
1549 font-style: normal;
1550 font-weight: 500;
1551 line-height: 20px;
1552 /* 125% */
1553 text-transform: capitalize;
1554 }
1555 }
1556
1557 &.list-content:nth-of-type(odd) {
1558 background: #FDF7F7;
1559 }
1560
1561 span {
1562 display: flex;
1563 align-items: center;
1564 justify-content: flex-start;
1565 color: #2F2F2F;
1566
1567 font-size: 14px;
1568 font-style: normal;
1569 font-weight: 400;
1570 line-height: 24px;
1571 /* 171.429% */
1572 }
1573
1574 span.sp-pcp-checkbox {
1575 width: 20px;
1576 height: 20px;
1577 margin: 0;
1578 }
1579
1580 span.sp-pcp-checkbox input[type=checkbox]=checkbox] {
1581 width: 20px;
1582 height: 20px;
1583 margin: 0;
1584 border-color: #2F2F2F;
1585
1586 // box-shadow: 0 0 2px 0 #2f2f2fff;
1587 &::before {
1588 width: 1.5125rem;
1589 }
1590 }
1591
1592 span.sp-pcp-list-title {
1593 width: 25%;
1594 }
1595
1596 span.sp-pcp-list-id {
1597 width: 14%;
1598 }
1599
1600 span.sp-pcp-list-type {
1601 width: 17%;
1602 text-transform: capitalize;
1603 }
1604
1605 span.sp-pcp-list-status {
1606 width: 10%;
1607 @extend %reactToggle;
1608 }
1609
1610 span.sp-pcp-list-assign {
1611 width: 12%;
1612
1613 button.sp-pcp-list-assign-condition-btn {
1614 color: var(--sp-smart-primary-2-600);
1615 background-color: transparent;
1616 border: 1px solid var(--sp-smart-primary-2-600);
1617 border-radius: 4px;
1618 padding: 6px 12px;
1619
1620 font-size: 14px;
1621 font-style: normal;
1622 font-weight: 600;
1623 line-height: 20px;
1624 /* 142.857% */
1625 text-transform: capitalize;
1626 cursor: pointer;
1627 }
1628 }
1629
1630 span.sp-pcp-list-action {
1631 width: 12%;
1632 display: flex;
1633 gap: 10px;
1634
1635 span {
1636 cursor: pointer;
1637 padding: 2px;
1638 }
1639 }
1640
1641 span.sp-pcp-list-font-family {
1642 width: 15%;
1643 }
1644
1645 span.sp-pcp-list-preview {
1646 width: 38%;
1647 }
1648
1649 span.sp-pcp-list-file-type {
1650 width: 25%;
1651 }
1652
1653 span.sp-pcp-list-date {
1654 width: 15%;
1655 }
1656
1657 &.sp-pcp-no-data {
1658 display: flex;
1659 align-items: center;
1660 justify-content: center;
1661 color: #2F2F2F;
1662
1663 font-size: 20px;
1664 font-style: normal;
1665 font-weight: 600;
1666 line-height: 24px;
1667 /* 120% */
1668 }
1669
1670 }
1671 }
1672 }
1673
1674 body.modal-open {
1675 overflow: auto;
1676 max-width: 100vw;
1677 position: relative;
1678
1679 .components-modal__screen-overlay {
1680 position: fixed;
1681 top: 0;
1682 right: 0;
1683 bottom: 0;
1684 left: 0;
1685 background-color: rgba(0, 0, 0, 0.64);
1686 z-index: 100000;
1687 display: flex;
1688
1689 .sp-pcp-builder-conditional-modal {
1690 max-width: 960px;
1691 min-width: 360px;
1692 width: 45%;
1693 max-height: 580px;
1694 height: 60%;
1695 position: absolute;
1696 top: 50%;
1697 left: 50%;
1698 transform: translate(-50%, -50%);
1699 background-color: #FFFFFF;
1700 padding: 80px 120px;
1701 border-radius: 4px;
1702
1703 .components-modal__content,
1704 .popover-wrapper,
1705 .popover-container {
1706 height: 100%;
1707 }
1708
1709 .components-modal__header+div {
1710 height: 90%;
1711 }
1712
1713 .components-modal__header {
1714 button.components-button {
1715 display: flex;
1716 align-items: center;
1717 justify-content: center;
1718 position: absolute;
1719 right: -45px;
1720 top: 0;
1721 border-radius: 50%;
1722 border-style: none;
1723 width: 40px;
1724 height: 40px;
1725 transition: all 0.3s ease-in-out;
1726 cursor: pointer;
1727
1728 svg path {
1729 fill: var(--sp-smart-primary-2-600);
1730 }
1731
1732 &:hover {
1733 background-color: var(--sp-smart-primary-2-600);
1734
1735 svg path {
1736 fill: #fff;
1737 }
1738 }
1739 }
1740 }
1741
1742 .popover-container {
1743 display: flex;
1744 flex-direction: column;
1745 justify-content: space-between;
1746
1747 .popover-content {
1748 display: flex;
1749 flex-direction: column;
1750 gap: 40px;
1751
1752 .popover-heading {
1753 display: flex;
1754 flex-direction: column;
1755 gap: 16px;
1756 text-align: center;
1757
1758 font-style: normal;
1759
1760 .popover-title {
1761 color: #2F2F2F;
1762 font-size: 32px;
1763 font-weight: 600;
1764 line-height: 120%;
1765 }
1766
1767 .popover-sub-title {
1768 color: #757575;
1769 font-size: 16px;
1770 font-weight: 400;
1771 line-height: 120%;
1772 /* 19.2px */
1773 }
1774 }
1775
1776 .popover-main {
1777 display: flex;
1778 flex-direction: column;
1779 gap: 24px;
1780
1781 .popover-all-conditions {
1782 .popover-condition-list ul {
1783 li {
1784 display: flex;
1785 justify-content: center;
1786 }
1787
1788 li .condition-list.condition {
1789 display: flex;
1790 flex-direction: row;
1791 max-width: 750px;
1792 width: 100%;
1793 gap: 8px;
1794
1795 .include-exclude select {
1796 width: 120px;
1797 }
1798
1799 .site-page-condition {
1800 display: flex;
1801 flex-direction: row;
1802 width: 100%;
1803
1804 select {
1805 display: flex;
1806 max-width: 100%;
1807 width: 100%;
1808 }
1809 }
1810
1811 .condition-remove {
1812 display: flex;
1813 align-items: center;
1814 justify-content: center;
1815
1816 svg {
1817 width: 20px;
1818 height: 20px;
1819 cursor: pointer;
1820
1821 path {
1822 stroke-width: 2;
1823 }
1824
1825 &:hover path {
1826 stroke: var(--sp-smart-primary-2-600);
1827 }
1828 }
1829 }
1830 }
1831 }
1832
1833 }
1834
1835 .popover-add-condition-btn {
1836 display: flex;
1837 align-items: center;
1838 justify-content: center;
1839
1840 .add-condition-btn {
1841 display: flex;
1842 padding: 10px 24px 10px 20px;
1843 justify-content: center;
1844 align-items: center;
1845 gap: 8px;
1846 background-color: #FFF;
1847 border-radius: 4px;
1848 border: 1px solid, var(--sp-smart-primary-2-600);
1849 cursor: pointer;
1850
1851 .btn-text {
1852 color: var(--sp-smart-primary-2-600);
1853
1854 font-size: 16px;
1855 font-style: normal;
1856 font-weight: 600;
1857 line-height: 28px;
1858 /* 175% */
1859 text-transform: capitalize;
1860 }
1861
1862 .btn-svg-icon {
1863 svg path {
1864 fill: var(--sp-smart-primary-2-600);
1865 }
1866 }
1867 }
1868 }
1869 }
1870 }
1871
1872 .popover-save-conditions-btn {
1873 display: flex;
1874 align-items: center;
1875 justify-content: center;
1876 background-color: var(--sp-smart-primary-2-600);
1877 padding: 10px 24px;
1878 color: #FFF;
1879
1880 font-size: 16px;
1881 font-style: normal;
1882 font-weight: 600;
1883 line-height: 28px;
1884 /* 175% */
1885 border-radius: 4px;
1886 border: 1px solid var(--sp-smart-primary-2-600);
1887 margin-top: 10px;
1888 cursor: pointer;
1889 }
1890 }
1891 }
1892 }
1893 }
1894
1895 .sp-pcp-custom-select {
1896 position: relative;
1897 height: max-content;
1898
1899 select {
1900 padding: 6px 40px 6px 12px;
1901 border-radius: 4px;
1902 height: 48px;
1903 appearance: none;
1904 -webkit-appearance: none;
1905 -moz-appearance: none;
1906 cursor: pointer;
1907 color: #2F2F2F;
1908
1909 font-size: 14px;
1910 font-style: normal;
1911 font-weight: 500;
1912 line-height: 20px;
1913 /* 142.857% */
1914 text-transform: capitalize;
1915 }
1916
1917 .sp-pcp-dropdown-arrow {
1918 position: absolute;
1919 display: flex;
1920 top: 50%;
1921 right: 10px;
1922 transform: translateY(-50%);
1923 background: #fff;
1924 align-items: center;
1925 font-size: 12px;
1926 color: #666;
1927 pointer-events: none;
1928 cursor: pointer;
1929 z-index: 999;
1930 }
1931 }
1932
1933 .sp-pcp-builder-filter-wrapper {
1934 display: flex;
1935 justify-content: space-between;
1936 margin-bottom: 24px;
1937
1938 .sp-pcp-filter-dropdown {
1939 display: flex;
1940 flex-direction: row;
1941 column-gap: 8px;
1942
1943 .sp-pcp-custom-select {
1944 select {
1945 height: 36px;
1946 }
1947 }
1948
1949 .sp-pcp-custom-search {
1950 input[type=search]=search] {
1951 height: 36px;
1952 width: 260px;
1953 }
1954 }
1955 }
1956
1957 .sp-pcp-grid-btn-popular {
1958 display: flex;
1959 flex-direction: row;
1960 gap: 16px;
1961
1962 .sp-pcp-grid-btn {
1963 display: flex;
1964 flex-direction: row;
1965 gap: 12px;
1966
1967 .sp-pcp-grid-icon {
1968 display: flex;
1969 width: 36px;
1970 height: 36px;
1971 justify-content: center;
1972 align-items: center;
1973 gap: 8px;
1974 border-radius: 4px;
1975 border: 1px solid #DDD;
1976 background: transparent;
1977 cursor: pointer;
1978
1979 &.grid-three {
1980 background-color: var(--sp-smart-primary-2-600);
1981 }
1982 }
1983 }
1984
1985 .sp-pcp-divider {
1986 font-size: 36px;
1987 line-height: 36px;
1988 font-weight: 100;
1989 color: #ECEDF0;
1990 align-self: stretch;
1991 overflow: hidden;
1992 }
1993
1994 .sp-pcp-popular {
1995 position: relative;
1996
1997 .sp-pcp-popular-icon svg {
1998 display: flex;
1999 width: 36px;
2000 height: 36px;
2001 justify-content: center;
2002 align-items: center;
2003 gap: 8px;
2004 cursor: pointer;
2005
2006 path {
2007 stroke-width: 0.78571;
2008 }
2009 }
2010
2011 .sp-pcp-popular-count {
2012 position: absolute;
2013 top: -12px;
2014 right: -8px;
2015 display: flex;
2016 align-items: center;
2017 justify-content: center;
2018 width: 14px;
2019 height: 14px;
2020 padding: 4px;
2021 background: var(--sp-smart-primary-2-600);
2022 color: #fff;
2023 border-radius: 50%;
2024 font-size: 10px;
2025 line-height: 20px;
2026 }
2027 }
2028 }
2029 }
2030
2031 .sp-pcp-blocks-settings-header-area-top {
2032 text-align: center;
2033 background-color: #3D9E56;
2034 padding: 12px 0;
2035 p {
2036 color: #fff;
2037 font-size: 16px;
2038 font-weight: 400;
2039 line-height: 20px;
2040 margin: 0;
2041 padding: 0;
2042 .sp-pcp-blocks-slogan-icon {
2043 margin-right: 8px;
2044 }
2045 }
2046 a {
2047 color: #fff;
2048 font-size: 16px;
2049 font-weight: 400;
2050 line-height: 20px;
2051 text-decoration: none;
2052 border-bottom: 1px solid #fff;
2053 &:focus {
2054 box-shadow: none;
2055 outline: 0;
2056 }
2057 }
2058 svg {
2059 width: 16px;
2060 height: 18px;
2061 margin-bottom: -2px;
2062 path {
2063 fill: #fff;
2064 }
2065 }
2066 }
2067 .sp-disabled,
2068 .sp-disabled .a {
2069 // opacity: 0.75;
2070 cursor: auto;
2071 user-select: none;
2072 pointer-events: none;
2073 }
2074 .spf-tooltip {
2075 position: absolute;
2076 z-index: 5000001;
2077 text-align: left;
2078 text-decoration: none;
2079 max-width: 250px;
2080 background-color: rgba(12, 25, 36, 1);
2081 border-radius: 4px;
2082 padding: 14px 20px;
2083 color: #94b2c1;
2084 font-size: 14px;
2085 line-height: 20px;
2086 margin-left: 10px;
2087 }
2088
2089 .spf-open-docs.browser-docs {
2090 background-color: #1d81f9;
2091 border-radius: 2px;
2092 &:hover {
2093 background-color: #226DE5;
2094 }
2095 }
2096
2097 .sp-smart-post-blocks-settings-page .sp-pcp-blocks-settings-card-docs .sp-pcp-blocks-settings-card-ai-settings {
2098 display: flex !important;
2099 line-height: 1 !important;
2100 margin-bottom: 0 !important;
2101 margin-left: 130px;
2102 cursor: pointer;
2103 }
2104
2105 .sp-pcp-blocks-settings-popup-container {
2106 display: flex;
2107 align-items: center;
2108 justify-content: center;
2109 margin-left: auto;
2110 margin-right: auto;
2111
2112 .components-modal__content {
2113 display: flex;
2114 flex-direction: column;
2115 row-gap: 24px;
2116 background-color: #fff;
2117 padding: 48px;
2118 border-radius: 4px;
2119
2120 .components-modal__header {
2121 display: flex;
2122 flex-direction: row;
2123 justify-content: space-between;
2124 align-items: center;
2125
2126 .components-modal__header-heading-container {
2127 display: flex;
2128 flex-direction: row;
2129 align-items: center;
2130 column-gap: 8px;
2131 }
2132
2133 .components-modal__icon-container {
2134 width: 24px;
2135 height: 24px;
2136 svg {
2137 width: 24px;
2138 height: 24px;
2139 fill: var(--sp-smart-primary-2-600);
2140 }
2141 }
2142
2143 button {
2144 display: flex;
2145 align-items: center;
2146 justify-content: center;
2147 width: 34px;
2148 height: 34px;
2149 box-sizing: border-box;
2150 background-color: transparent;
2151 border: 2px solid #222;
2152 border-radius: 50%;
2153 transition: border-color 0.3s, fill 0.3s;
2154
2155 &:hover {
2156 border-color: #f03;
2157 svg {
2158 fill: #f03;
2159 }
2160 }
2161 }
2162 }
2163 .sp-pcp-blocks-settings-form {
2164 display: flex;
2165 flex-direction: row;
2166 column-gap: 42px;
2167 font-size: 16px;
2168 line-height: 1.2;
2169 align-items: center;
2170
2171 .sp-pcp-blocks-settings-label {
2172 font-size: 22px;
2173
2174 }
2175
2176 input {
2177 width: 380px;
2178 font-size: 18px;
2179 padding: 2px 4px;
2180 border: 1px solid var(--sp-smart-primary-2-400);
2181 border-radius: 4px;
2182 }
2183 input:focus {
2184 outline: none;
2185 }
2186 }
2187 }
2188
2189 .sp-pcp-blocks-settings-popup-setup {
2190 width: 500px;
2191 display: flex;
2192 flex-direction: column;
2193 column-gap: 24px;
2194 padding-top: 24px;
2195 padding-bottom: 24px;
2196 }
2197 .sp-pcp-blocks-settings-body-content {
2198 .sp-pcp-blocks-settings-form-save {
2199 margin-top: 32px;
2200
2201 .sp-pcp-blocks-settings-form-save-btn {
2202 padding: 8px 16px;
2203 color: var(--sp-smart-primary-2-600);
2204 background-color: transparent;
2205 border: 1px solid var(--sp-smart-primary-2-600);
2206 border-radius: 4px;
2207 cursor: pointer;
2208 transition: background-color 0.3s, color 0.3s;
2209
2210 &:hover {
2211 background-color: var(--sp-smart-primary-2-600);
2212 color: #fff;
2213 }
2214 }
2215 }
2216 }
2217 }
2218 .sp-pcp-blocks-settings-toggle-btn {
2219 display: flex;
2220 flex-direction: column;
2221 justify-content: space-between;
2222 height: 102%;
2223
2224 .sp-smart-post-sidebar-popup-toggle {
2225 display: flex;
2226 justify-content: center;
2227 cursor: pointer;
2228 }
2229 }
2230
2231 .sp-pcp-blocks-setting-blocks-page .sp-pcp-blocks-settings-toggle-btn {
2232 justify-content: center;
2233 }
2234
2235