PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.4
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.4
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.4, at src/admin/styles/_base.scss

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