PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.8
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.8
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 / setup-wizard / setup-wizard.scss

setup-wizard.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/admin/setup-wizard/setup-wizard.scss

957 lines 19.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-pcp-blocks-setting-wrapper.setup-wizard {
2 // position: fixed;
3 // top: 0px;
4 // left: 160px;
5 // width: calc(100% - 160px);
6 margin: 0 !important;
7 max-width: 100% !important;
8 background-color: #EFE6FB;
9 // padding: 60px 0 120px 0 !important;
10 // height: 100vh;
11 // overflow-y: auto;
12 }
13 #wpcontent:has(.sp-smart-post-setup-wizard-wrapper) {
14 background: #EFE6FB !important;
15 }
16 .sp-smart-post-setup-page-wrapper {
17 text-align: center;
18 }
19
20
21 .sp-pcp-blocks-setting-wrapper.setup-wizard:has(.sp-smart-post-setup-finish-page) {
22 top: 30px;
23 }
24
25 .sp-smart-post-setup-wizard-wrapper {
26 position: relative;
27 min-height: 100vh;
28 overflow-x: hidden;
29 // background: #EFE6FB;
30 // display: flex;
31 // flex-direction: column;
32 // justify-content: center;
33 // align-items: center;
34 padding: 30px 0;
35
36 .setup-wizard-bg {
37 position: absolute;
38 bottom: 0;
39 width: 100%;
40 }
41
42 .sp-pcp-blocks-settings-card.setup-wizard.sp-disabled {
43 pointer-events: auto;
44 }
45 }
46
47 .sp-smart-post-setup-wizard-content {
48 z-index: 1;
49 display: flex;
50 flex-direction: column;
51 justify-content: center;
52 align-items: center;
53 gap: 32px;
54 max-width: 1140px;
55 margin: 0 auto;
56
57 .sp-smart-post-setup-wizard-nav-btn {
58 padding: 20px 22px;
59 border-radius: 4px;
60 font-size: 16px;
61 font-weight: 600;
62 border: none;
63 outline: none;
64 line-height: 160%;
65 cursor: pointer;
66 height: 48px;
67 display: inline-flex;
68 align-items: center;
69 gap: 3px;
70 transition: all 0.3s ease;
71 justify-content: center;
72 // width: auto;
73
74 &.prev-btn {
75 background: transparent;
76 color: #4E4F52;
77 border: 1px solid #CACBCF;
78 text-decoration: none;
79
80 &:hover {
81 border-color: #adaeb1;
82 }
83 }
84
85 &.next-btn {
86 background: #641DD7;
87 color: #ffffff;
88 border: 1px solid #641DD7;
89 margin-left: 12px;
90
91 &:hover {
92 background: #5417b6;
93 }
94
95 }
96
97 svg {
98 height: 14px;
99 width: 17px;
100 }
101
102 }
103
104 .components-select-control__input {
105 font-size: 14px !important;
106 background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55% !important;
107 }
108
109 .components-input-control__suffix {
110 display: none;
111 }
112 }
113
114 .sp-smart-post-blocks-settings-page .sp-smart-post-setup-wizard-nav-btn.skip-it-btn {
115 width: auto;
116 padding: 0 20px;
117 color: #838487;
118 }
119
120 .sp-smart-post-setup-steps {
121 display: flex;
122 gap: 28px;
123 }
124
125 .sp-smart-post-setup-step {
126 display: flex;
127 align-items: center;
128
129 &-number {
130 color: #2C2D2F;
131 font-size: 16px;
132 font-weight: 600;
133 border-radius: 100%;
134 border: 1px solid transparent;
135 background: #E9D8FF;
136 width: 36px;
137 height: 36px;
138 display: flex;
139 align-items: center;
140 justify-content: center;
141 margin-right: 12px;
142 transition: all 0.3s ease-in-out;
143
144 &.active {
145 background: #ffffff;
146 color: #641DD7;
147 border: 1px solid #641DD7;
148 }
149
150 &.previous {
151 color: #ffffff;
152 border: 1px solid #641DD7;
153 background: #641DD7;
154 }
155 }
156
157 &-title {
158 color: #000;
159 font-size: 20px;
160 font-weight: 600;
161 }
162
163 >svg {
164 margin-left: 28px;
165 }
166 }
167
168 .sp-smart-post-setup-step-page {
169 border-radius: 12px;
170 background: #FFF;
171 box-shadow: 0 16px 32px -4px rgba(12, 12, 13, 0.05), 0 4px 4px -4px rgba(12, 12, 13, 0.02);
172 width: 100%;
173 padding: 48px;
174 min-height: 330px;
175 // width: 1140px;
176 height: 688px;
177 position: relative;
178 box-sizing: border-box;
179
180
181 &.is-exiting {
182 animation: sp-smart-post-setup-wizard-fade-out 0.2s forwards;
183 }
184
185 &.is-entering {
186 animation: sp-smart-post-setup-wizard-fade-in 0.2s forwards;
187 }
188
189 >div {
190 height: 100%;
191 width: 100%;
192 }
193
194 .sp-smart-post-setup-page-title {
195 color: #2C2D2F;
196 font-size: 24px;
197 font-weight: 600;
198 line-height: 1.3;
199 margin: 0 0 8px 0;
200
201 &-highlight {
202 background: linear-gradient(90deg, #4A00C2 0%, #E96DA9 100%);
203 background-clip: text;
204 -webkit-background-clip: text;
205 color: transparent;
206 }
207 }
208
209 .sp-smart-post-setup-page-subtitle {
210 color: #2C2D2F;
211 font-size: 16px;
212 font-style: normal;
213 font-weight: 500;
214 line-height: 1.3;
215 margin: 0 0 8px 0;
216 }
217
218 .sp-smart-post-logo-title {
219 background: linear-gradient(90deg, #FF512F 26%, #F09819 100%);
220 background-clip: text;
221 -webkit-background-clip: text;
222 color: transparent;
223 }
224
225 .sp-smart-post-setup-page-desc {
226 color: #4E4F52;
227 font-size: 14px;
228 font-weight: 400;
229 line-height: 160%;
230 margin: 0 0 30px 0;
231 }
232
233 .sp-smart-post-settings-page-container {
234 all: unset;
235 position: relative;
236 }
237 }
238
239 .sp-smart-post-setup-step-page:has(.sp-smart-post-setup-welcome-page) {
240 height: 506px;
241 }
242
243 .sp-smart-post-setup-step-page:has(.sp-smart-post-setup-finish-page) {
244 height: auto;
245 }
246
247 // License key page.
248 .sp-smart-post-settings-license-key {
249 height: 100%;
250 display: flex;
251 flex-direction: column;
252 justify-content: center;
253 align-items: center;
254
255 .sp-pcp-blocks-setting-title {
256 margin-bottom: 0 !important;
257 }
258
259 .sp-smart-post-help-text {
260 color: #757575;
261 font-size: 14px;
262 font-weight: 400;
263 line-height: 28px;
264 margin-top: 8px;
265
266 a {
267 text-decoration: underline;
268 color: #641DD7;
269 }
270 }
271
272 .sp-smart-post-input-control {
273 width: 380px;
274 display: flex;
275 flex-direction: column;
276 margin-bottom: 0;
277 }
278
279 .components-input-control__input {
280 height: 42px !important;
281 }
282
283 .components-base-control__help {
284 margin: 0;
285 padding: 0;
286 }
287
288 .sp-smart-post-settings-option {
289 margin-top: 24px;
290 gap: 8px;
291 display: flex;
292 align-items: center;
293
294 .components-base-control.components-input-control {
295 max-width: 460px;
296 position: relative;
297 flex: 1;
298 }
299
300 span.key-icon {
301 position: absolute;
302 top: 10px;
303 left: 10px;
304 }
305 }
306
307 .sp-smart-post-license-action-btn {
308 font-size: 14px;
309 line-height: 20px;
310 padding: 10px 18px;
311 justify-content: center;
312 color: #FFFFFF;
313 background: #641DD7;
314 border-radius: 4px;
315 border: none;
316 outline: none;
317 cursor: pointer;
318
319 &.deactivate {
320 background: rgb(246, 247, 247);
321 color: rgb(220, 53, 69);
322 border: 1px solid rgb(220, 53, 69);
323 padding: 9px 18px;
324 }
325 }
326
327 .sp-smart-post-settings-option.license-active {
328 input {
329 pointer-events: none;
330 color: #757575 !important;
331 }
332 }
333
334 .active-status {
335 position: absolute;
336 top: 50%;
337 transform: translateY(-50%);
338 right: 7px;
339 background: #28a745;
340 color: #fff;
341 padding: 4px 10px;
342 border-radius: 3px;
343 line-height: 20px;
344 }
345
346 .sp-smart-post-license-key-inactive-notice {
347 color: #856404;
348 background-color: #fff3cd;
349 border-color: #ffeeba;
350 padding: 12px 20px;
351 font-size: 14px;
352 display: inline-flex;
353 align-items: center;
354 gap: 6px;
355 margin-left: -46px;
356 position: absolute;
357 bottom: 82px;
358 }
359 }
360
361 .sp-smart-post-blocks-settings-page:has(.sp-smart-post-setup-wizard-wrapper) {
362 background-color: #FBFCFF;
363 }
364
365 .sp-smart-post-blocks-settings-page .sp-smart-post-settings-license-key .components-input-base .components-input-control__input {
366 width: 100%;
367 padding-left: 38px;
368 height: 40px !important;
369 }
370
371 .sp-smart-post-api-integration-notice {
372 color: #856404;
373 background-color: #fff3cd;
374 border-color: #ffeeba;
375 padding: 12px 20px;
376 font-size: 14px;
377 display: inline-flex;
378 align-items: center;
379 gap: 6px;
380 position: absolute;
381 bottom: 1px;
382 right: 0;
383 }
384
385 @keyframes sp-smart-post-setup-wizard-fade-in {
386 from {
387 opacity: 0;
388 }
389
390 to {
391 opacity: 1;
392 }
393 }
394
395 @keyframes sp-smart-post-setup-wizard-fade-out {
396 from {
397 opacity: 1;
398 }
399
400 to {
401 opacity: 0;
402 }
403 }
404
405 .sp-smart-post-setup-wizard-btn-wrapper {
406 width: 100%;
407 display: flex;
408 justify-content: flex-end;
409 }
410
411 // Welcome page CSS.
412 .sp-smart-post-setup-welcome-page {
413 display: flex;
414 gap: 24px;
415 align-items: center;
416
417 .sp-smart-post-setup-page-title {
418 font-size: 28px;
419 margin-bottom: 16px;
420 }
421
422 &-left {
423 flex: 1;
424 display: flex;
425 flex-direction: column;
426 }
427
428 &-right {
429 width: 510px;
430 height: 410px;
431 position: relative;
432 overflow: hidden;
433 display: flex;
434 border-radius: 8px;
435 background-size: cover;
436
437 #sp-smart-post-setup-video {
438 width: 100%;
439 height: auto;
440 display: block;
441 }
442 }
443 }
444
445 .sp-smart-post-setup-video-overlay {
446 background: #00000026;
447 visibility: visible;
448 position: absolute;
449 height: 100%;
450 width: 100%;
451 display: flex;
452 align-items: center;
453 justify-content: center;
454
455 #sp-smart-post-play-btn {
456 width: 60px;
457 height: 60px;
458 border-radius: 60px;
459 background: #FFFFFF;
460 border: none;
461 display: flex;
462 align-items: center;
463 justify-content: center;
464 cursor: pointer;
465
466 img {
467 z-index: 11;
468 }
469 }
470 }
471
472 .sp-smart-post-setup-feature {
473 &-lists {
474 display: grid;
475 grid-template-columns: auto auto;
476 row-gap: 10px;
477 }
478
479 &-list {
480 display: flex;
481 align-items: center;
482 gap: 8px;
483 position: relative;
484 }
485
486 &-list-icon {
487 display: flex;
488 border-radius: 4px;
489 }
490
491 &-title {
492 color: #2C2D2F;
493 font-size: 14px;
494 font-weight: 500;
495 }
496
497 &-hot {
498 position: absolute;
499 color: #FFFFFF;
500 right: -10px;
501 font-size: 8px;
502 font-weight: 500;
503 border-radius: 20px;
504 background: #E63946;
505 padding: 2px 6px;
506 display: flex;
507 align-items: center;
508 height: 14px;
509 }
510
511 }
512
513 .sp-smart-post-setup-blocks-page {
514 .sp-smart-post-setup-modes {
515 margin-top: 36px;
516
517 .sp-smart-post-setup-page-title {
518 margin-bottom: 10px;
519 }
520 }
521
522 .sp-smart-post-setup-modes-grid {
523 display: grid;
524 grid-template-columns: repeat(3, 1fr);
525 gap: 28px;
526 margin-top: 10px;
527 }
528
529 .sp-setup-mode-card {
530 position: relative;
531 text-align: left;
532 padding: 28px;
533 border: 1px solid transparent;
534 border-radius: 8px;
535 background: #F6F7FB;
536 cursor: pointer;
537 transition: border-color 0.2s ease, box-shadow 0.2s ease;
538
539 .sp-setup-mode-card-check {
540 position: absolute;
541 top: 12px;
542 right: 12px;
543 width: 20px;
544 height: 20px;
545 display: flex;
546 align-items: center;
547 justify-content: center;
548 background-color: #641DD7;
549 border-radius: 50%;
550 color: #fff;
551
552 .dashicons {
553 width: 22px;
554 height: 18px;
555 font-size: 18px;
556 text-align: left;
557 }
558 }
559
560
561 /* Show on hover */
562 &:hover .sp-setup-mode-card-check {
563 opacity: 1;
564 transform: scale(1);
565 }
566
567 /* Stay visible when selected */
568 &.is-active .sp-setup-mode-card-check {
569 opacity: 1;
570 transform: scale(1);
571 }
572 }
573
574 .sp-setup-mode-card:hover,
575 .sp-setup-mode-card.is-active {
576 border-color: #641DD7;
577 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
578 }
579
580 .sp-setup-mode-card-title {
581 margin: 0 0 16px;
582 font-size: 16px;
583 font-weight: 600;
584 }
585
586 .sp-setup-mode-card-desc {
587 margin: 0;
588 font-size: 14px;
589 color: #555;
590 }
591
592 }
593
594 .sp-smart-post-modules-wizard .sp-pcp-blocks-setting-modules-page,
595 .sp-smart-post-wizard-blocks-container {
596 height: 400px;
597 overflow-y: auto;
598 margin: 0 -48px;
599 padding: 0 48px;
600 margin-top: 38px;
601
602 .sp-pcp-blocks-setting-blocks-page {
603 padding-bottom: 10px;
604 }
605
606 &::-webkit-scrollbar {
607 width: 4px;
608
609 &-thumb {
610 background-color: transparent;
611 border-radius: 4px;
612 }
613
614 }
615
616 // &:hover {
617 // &::-webkit-scrollbar {
618 // &-thumb {
619 // background-color: #b3b3b3;
620 // }
621 // }
622 // }
623 }
624
625 .sp-smart-post-modules-wizard .sp-pcp-blocks-setting-modules-page {
626 height: 500px;
627 }
628
629 .sp-smart-post-setup-step-page {
630 &:hover {
631 .sp-pcp-blocks-setting-modules-page::-webkit-scrollbar,
632 .sp-smart-post-wizard-blocks-container::-webkit-scrollbar {
633 &-thumb {
634 background-color: #b3b3b3;
635 }
636 }
637 }
638 }
639
640 .sp-smart-post-setup-blocks-page-header {
641 display: flex;
642 justify-content: space-between;
643
644 .sp-smart-post-setup-page-wrapper {
645 text-align: left;
646 }
647
648 >div {
649 width: 42%;
650 }
651
652 .sp-smart-post-component-mb {
653 margin-bottom: 0;
654 }
655
656 .header-left {
657 .sp-smart-post-setup-page-desc {
658 margin-top: 8px;
659 }
660 }
661
662 .header-right {
663 .sp-smart-post-setup-page-desc {
664 font-size: 16px;
665 margin-bottom: 8px;
666 }
667 }
668
669 .required-star {
670 color: #EB48A8
671 }
672
673 .components-input-control__backdrop {
674 border: 1px solid #CACBCF !important;
675 border-radius: 4px !important;
676 }
677 }
678 // Finish Page CSS.
679 .sp-smart-post-setup-finish-page {
680 display: flex;
681 flex-direction: column;
682 justify-content: center;
683 align-items: center;
684
685 .sp-smart-post-setup-wizard-nav-btn {
686 margin-top: 24px;
687 margin-bottom: 40px;
688 padding: 0 20px;
689 }
690
691 .sp-smart-post-setup-plugin-logo-wrapper {
692 position: absolute;
693 top: 20px;
694 right: 20px;
695
696 img {
697 width: 180px;
698 height: 180px;
699 }
700 }
701
702 .sp-smart-post-setup-finish-page-banner-content {
703 display: flex;
704 flex-direction: column;
705 padding-left: 48px;
706 z-index: 2;
707
708 .sp-smart-post-setup-wizard-nav-btn {
709 margin-top: 0;
710 margin-bottom: 0;
711 }
712
713 .sp-smart-post-setup-page-title {
714 margin: 0;
715 }
716 }
717
718 >img {
719 margin-bottom: 24px;
720 }
721
722 .sp-smart-post-setup-finish-page-banner {
723 display: flex;
724 align-items: center;
725 justify-content: space-between;
726 border-radius: 8px;
727 border: 1px solid #EFE6FB;
728 background: #F7F3FD;
729 width: 100%;
730 height: 280px;
731 position: relative;
732 overflow: hidden;
733
734 .sp-smart-post-setup-page-title {
735 width: 420px;
736 font-size: 20px;
737 }
738
739 .sp-smart-post-setup-finish-page-right-banner-img {
740 display: contents;
741 }
742
743 img {
744 height: 100%;
745 width: 100%;
746 transform: translateX(-25px);
747 z-index: 1;
748 }
749
750 .sp-smart-post-setup-wizard-nav-btn {
751 z-index: 10;
752 transition: all 0.3s;
753 white-space: nowrap;
754
755 &:hover {
756 background-color: #641DD7;
757 color: #ffffff;
758 border-color: #641DD7;
759 }
760 }
761
762 .sp-smart-post-setup-wizard-btn {
763 display: flex;
764 gap: 10px;
765 margin-top: 8px;
766
767 .sp-smart-post-upgrade-btn {
768 white-space: nowrap;
769 padding: 15px 30px;
770 width: auto;
771 font-size: 16px;
772 font-weight: 600;
773 background: #159E2E;
774 transition: all 0.3s ease;
775
776 &:hover {
777 background: #128f29;
778 }
779 }
780 .sp-go-pro-icon {
781 background-size: cover;
782 width: 20px;
783 }
784 }
785 }
786
787 .sp-smart-post-checkbox-component-wrapper {
788 display: flex;
789 flex-direction: row-reverse;
790 align-items: center;
791 margin-top: 28px;
792
793 .components-checkbox-control__input {
794 &-container {
795 margin-right: 8px;
796 }
797
798 &:checked {
799 background-color: #838487;
800 border: none;
801 }
802
803 &:focus {
804 box-shadow: none;
805 }
806 }
807 }
808
809 .sp-smart-post-setup-page-desc {
810 margin: 0;
811 }
812
813 .sp-smart-post-modal-btn {
814 cursor: pointer;
815 text-decoration: underline;
816 font-weight: 600;
817 }
818 }
819
820 .sp-smart-post-setup-page-modal {
821 .components-modal__content {
822 margin: 0;
823 padding: 32px;
824 width: 558px;
825
826 }
827
828 .components-modal__header {
829 height: auto;
830 padding: 0;
831 position: static;
832
833 .components-modal__header-heading {
834 color: #2F2F2F;
835 font-size: 18px;
836 font-weight: 600;
837 line-height: 130%;
838 }
839
840 svg {
841 width: 16px;
842 height: 16px;
843 }
844
845 .components-button {
846 justify-content: end;
847 height: 16px;
848 width: 16px;
849
850 &:focus {
851 box-shadow: none;
852 }
853 }
854 }
855
856 hr {
857 color: #ECEDF0;
858 margin: 16px 0;
859 }
860
861 .modal-description {
862 color: #4E4F52;
863 font-size: 14px;
864 font-weight: 400;
865 line-height: 160%;
866 }
867
868 li {
869 list-style: disc;
870 margin-left: 18px;
871 }
872
873 a {
874 display: inline-flex;
875 align-items: center;
876 text-decoration: underline dotted;
877 cursor: pointer;
878
879 svg {
880 transform: scale(0.7);
881 fill: #4E4F52;
882 }
883 }
884 }
885
886 .sp-smart-post-play-btn-sonar {
887 position: relative;
888
889 &::before,
890 &::after {
891 content: '';
892 position: absolute;
893 top: 0;
894 left: 0;
895 right: 0;
896 bottom: 0;
897 border-radius: 50%;
898 background-color: #ffffff3b;
899 animation: sp-smart-post-sonar-wave 1.5s infinite linear;
900 }
901
902 &::after {
903 animation-delay: 0.5s;
904 }
905 }
906
907 @keyframes sp-smart-post-sonar-wave {
908 0% {
909 transform: scale(1);
910 opacity: 1;
911 }
912
913 100% {
914 transform: scale(2);
915 opacity: 0;
916 }
917 }
918
919 .sp-smart-post-setup-website-type-select {
920 .components-input-control__container {
921 height: 48px;
922 min-height: 48px;
923 padding-right: 8px;
924 }
925 }
926
927 .components-popover__content:has(.sp-tooltip-body) {
928 margin-bottom: 10px;
929 border-radius: 12px;
930 animation: sp-smart-post-setup-wizard-fade-in .4s forwards;
931
932 &::after {
933 content: '';
934 position: absolute;
935 bottom: -10px;
936 left: 50%;
937 transform: translateX(-50%);
938 border-width: 10px;
939 border-style: solid;
940 border-color: rgba(12, 25, 36, 1) transparent transparent transparent;
941 }
942 }
943
944 .is-exiting {
945 animation: sp-smart-post-setup-wizard-fade-out .4s forwards;
946 }
947
948 .sp-tooltip-body {
949 background: rgba(12, 25, 36, 1);
950 color: rgb(148, 178, 193);
951 padding: 15px 18px;
952 font-size: 14px;
953 font-weight: 400;
954 line-height: 24px;
955 pointer-events: none;
956 width: 327px;
957 }