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 / styles / _quick-start.scss

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

909 lines 15.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Quick Start Page Styles
2 .sp-pcp-settings-getting-start-page {
3 max-width: $max-width;
4 margin: 0 auto;
5
6 * {
7 box-sizing: border-box;
8 }
9 }
10
11 .sp-pcp-settings-getting-start-page-content {
12 display: flex;
13 gap: 24px;
14 align-items: flex-start;
15 }
16
17 // Left Side Content
18 .sp-pcp-qs-left {
19 flex: 1;
20 display: flex;
21 flex-direction: column;
22 gap: 24px;
23 }
24
25 // About Section
26 .sp-pcp-qs-about-section {
27 background: $white;
28 border: 1px solid $border-color;
29 border-radius: 12px;
30 overflow: hidden;
31 }
32
33 .sp-pcp-qs-about-content {
34 display: flex;
35 gap: 24px;
36 padding: 32px;
37 align-items: center;
38 }
39
40 .sp-pcp-qs-about-text {
41 flex: 1;
42 display: flex;
43 flex-direction: column;
44 gap: 16px;
45 align-items: flex-start;
46 }
47
48 .sp-pcp-qs-greeting {
49 color: #2c2d2f;
50 font-size: 16px;
51 font-weight: 500;
52 margin: 0;
53 line-height: 1.3;
54 }
55
56 .sp-pcp-qs-welcome-title {
57 font-size: 24px;
58 font-weight: 600;
59 color: #2c2d2f;
60 margin: -6px 0 0 0;
61 line-height: 1.3;
62 }
63
64 .sp-pcp-qs-welcome-desc {
65 color: #4e4f52;
66 font-size: 14px;
67 line-height: 1.6;
68 margin: 0;
69 }
70
71 .sp-pcp-qs-create-btn {
72 display: inline-flex;
73 align-items: center;
74 justify-content: center;
75 gap: 8px;
76 background: var(--sp-smart-primary-2-600);
77 color: $white;
78 padding: 12px 18px;
79 border-radius: 4px;
80 text-decoration: none;
81 font-weight: 600;
82 font-size: 14px;
83 line-height: 20px;
84 transition: background 0.2s, color 0.2s;
85 text-transform: capitalize;
86 flex-shrink: 0;
87 white-space: nowrap;
88
89 &:hover {
90 background: var(--sp-smart-primary-2-700);
91 color: #fff;
92 }
93 &:focus {
94 color: #fff;
95 }
96 }
97
98 .sp-pcp-qs-video-wrapper {
99 position: relative;
100 flex: 1;
101 border-radius: 6px;
102 overflow: hidden;
103 flex-shrink: 0;
104 display: flex;
105 flex-direction: column;
106 gap: 9.689px;
107
108 &::after {
109 content: '';
110 position: absolute;
111 top: 0;
112 left: 0;
113 right: 0;
114 bottom: 0;
115 background: rgba(100, 29, 215, 0.4);
116 pointer-events: none;
117 }
118 }
119
120 .sp-pcp-qs-play-btn {
121 position: absolute;
122 top: calc(50% + 0.12px);
123 left: 50%;
124 transform: translate(-50%, -50%);
125 width: 54px;
126 height: 54px;
127 background: $white;
128 border: none;
129 border-radius: 50%;
130 display: flex;
131 align-items: center;
132 justify-content: center;
133 cursor: pointer;
134 z-index: 2;
135
136 svg {
137 width: 21px;
138 height: 21px;
139 margin-left: 2px;
140 position: relative;
141 z-index: 2;
142 }
143
144 &::before,
145 &::after {
146 content: '';
147 position: absolute;
148 top: 50%;
149 left: 50%;
150 transform: translate(-50%, -50%) scale(1);
151 width: 100%;
152 height: 100%;
153 border-radius: 50%;
154 background: $white;
155 opacity: 0;
156 z-index: 1;
157 }
158
159 &::before {
160 animation: pulse 2s ease-out infinite;
161 }
162
163 &::after {
164 animation: pulse 2s ease-out infinite 1s;
165 }
166 }
167
168 @keyframes pulse {
169 0% {
170 transform: translate(-50%, -50%) scale(1);
171 opacity: 0.6;
172 }
173 100% {
174 transform: translate(-50%, -50%) scale(2);
175 opacity: 0;
176 }
177 }
178
179 .sp-pcp-qs-video-placeholder {
180 width: 100%;
181 height: auto;
182 display: block;
183 border-radius: 6px;
184
185 img {
186 display: flex;
187 width: 100%;
188 }
189 }
190
191 // Video Modal
192 .sp-pcp-qs-video-modal {
193 position: fixed;
194 top: 0;
195 left: 0;
196 right: 0;
197 bottom: 0;
198 background: rgba(0, 0, 0, 0.8);
199 display: flex;
200 align-items: center;
201 justify-content: center;
202 z-index: 100000;
203 padding: 20px;
204 }
205
206 .sp-pcp-qs-video-modal-content {
207 position: relative;
208 width: 100%;
209 max-width: 900px;
210 background: $white;
211 border-radius: 12px;
212 overflow: hidden;
213 }
214
215 .sp-pcp-qs-video-modal-close {
216 position: absolute;
217 top: 16px;
218 right: 16px;
219 width: 36px;
220 height: 36px;
221 background: rgba(0, 0, 0, 0.6);
222 color: $white;
223 border: none;
224 border-radius: 50%;
225 font-size: 24px;
226 font-weight: 300;
227 line-height: 1;
228 display: flex;
229 align-items: center;
230 justify-content: center;
231 cursor: pointer;
232 z-index: 10;
233 transition: background 0.2s, color 0.2s;
234 font-family: sans-serif;
235
236 &:hover {
237 background: rgba(0, 0, 0, 0.8);
238 }
239 }
240
241 .sp-pcp-qs-video-modal-wrapper {
242 position: relative;
243 width: 100%;
244 aspect-ratio: 16 / 9;
245 display: flex;
246 background: #000;
247
248 iframe {
249 width: 100%;
250 height: 100%;
251 border: none;
252 }
253 }
254
255 // Blocks Section
256 .sp-pcp-qs-blocks-section {
257 background: $white;
258 border: 1px solid $border-color;
259 border-radius: 12px;
260 padding: 22px 32px 32px;
261 position: relative;
262 overflow: hidden;
263 display: flex;
264 flex-direction: column;
265 gap: 22px;
266 }
267
268 .sp-pcp-qs-section-header {
269 display: flex;
270 justify-content: space-between;
271 align-items: center;
272 }
273
274 .sp-pcp-qs-section-title {
275 font-size: 24px;
276 font-weight: 500;
277 color: #2c2d2f;
278 margin: 0;
279 line-height: 32px;
280 }
281
282 .sp-pcp-qs-view-more-btn {
283 display: inline-flex;
284 align-items: center;
285 gap: 7px;
286 color: $link-blue;
287 background: none;
288 border: none;
289 font-size: 16px;
290 font-weight: 500;
291 cursor: pointer;
292 text-decoration: none;
293 padding: 0;
294 border-radius: 0;
295 transition: background 0.2s, color 0.2s;
296
297 svg {
298 width: 12px;
299 height: 12px;
300 }
301
302 &:hover {
303 background: transparent;
304 color: $link-blue-hover;
305 }
306
307 &:focus {
308 color: $link-blue;
309 }
310 }
311
312 .sp-pcp-qs-blocks-grid.sp-post-carousel-settings-card-wrapper {
313 display: grid;
314 grid-template-columns: repeat(2, 1fr);
315 gap: 12px;
316
317 .sp-pcp-blocks-settings-card {
318 border: 1px solid #ddd;
319 box-shadow: none;
320 padding: 14px 18px;
321
322 // &:nth-last-child(-n+2) {
323 // opacity: 0.7;
324 // }
325
326 .sp-pcp-pro-blocks-badge {
327 visibility: hidden;
328 opacity: 0;
329 transition: all .3s ease-in-out;
330 }
331
332
333 .sp-pcp-blocks-settings-card-icon {
334 width: 48px;
335 height: 48px;
336 }
337
338 .sp-pcp-blocks-settings-toggle-btn {
339 justify-content: center;
340 }
341 }
342 .sp-pcp-blocks-settings-card &:hover .sp-pcp-pro-blocks-badge {
343 visibility: visible;
344 opacity: 1;
345 }
346 }
347
348 .sp-pcp-qs-blocks-gradient {
349 position: absolute;
350 bottom: 0;
351 left: 0;
352 right: 0;
353 height: 60px;
354 background: linear-gradient(to top, $white 0%, rgba(255, 255, 255, 0) 100%);
355 pointer-events: none;
356 }
357
358 // Modules Section
359 .sp-pcp-qs-modules-page {
360 background: $white;
361 border: 1px solid $border-color;
362 border-radius: 12px;
363 padding: 22px 32px 32px;
364 position: relative;
365 overflow: hidden;
366 display: flex;
367 flex-direction: column;
368 gap: 22px;
369 }
370
371 .sp-pcp-qs-modules-grid {
372 display: grid;
373 grid-template-columns: repeat(2, 1fr);
374 gap: 12px;
375
376 .sp-pcp-blocks-settings-card {
377 border: 1px solid #ddd !important;
378 box-shadow: none !important;
379 padding: 14px 18px;
380
381 // &:nth-last-child(-n+2) {
382 // opacity: 0.7;
383 // }
384
385 .sp-pcp-pro-blocks-badge {
386 visibility: hidden;
387 opacity: 0;
388 transition: all .3s ease-in-out;
389 }
390
391 &:hover .sp-pcp-pro-blocks-badge {
392 visibility: visible;
393 opacity: 1;
394 }
395
396 .sp-pcp-blocks-settings-card-icon {
397 width: 48px;
398 height: 48px;
399 border: none;
400
401 &.sp-saved-template {
402 background: linear-gradient(90deg, #00AFFF 0%, #2974FF 100%);
403 }
404
405 &.sp-template-library {
406 background: linear-gradient(90deg, #AB4CFE 0%, #7317FE 100%);
407 }
408
409 &.sp-taxonomy {
410 background: linear-gradient(135deg, #3662B2 0%, #13D2C4 100%);
411 }
412
413 &.sp-back-to-top {
414 background: linear-gradient(315deg, #79E9F1 0%, #0E5CAD 100%);
415 box-sizing: border-box;
416
417 svg {
418 padding: 10px 7px;
419 border: 2px solid #FFF;
420 border-radius: 50%;
421 }
422 }
423
424 svg {
425 width: 32px;
426 height: 32px;
427 // fill: #fff;
428 }
429 }
430
431 .sp-pcp-blocks-settings-toggle-btn {
432 justify-content: center;
433 }
434 }
435 }
436
437 .sp-pcp-qs-modules-gradient {
438 position: absolute;
439 bottom: 0;
440 left: 0;
441 right: 0;
442 height: 60px;
443 background: linear-gradient(to top, $white 0%, rgba(255, 255, 255, 0) 100%);
444 pointer-events: none;
445 }
446
447 // Video Tutorials Section
448 .sp-pcp-qs-tutorials-section {
449 background: $white;
450 border: 1px solid $border-color;
451 border-radius: 12px;
452 padding: 32px;
453 display: flex;
454 flex-direction: column;
455 gap: 22px;
456 }
457
458 .sp-pcp-qs-tutorials-grid {
459 display: flex;
460 gap: 24px;
461 }
462
463 .sp-pcp-qs-tutorial-card {
464 flex: 1;
465 display: flex;
466 flex-direction: column;
467 gap: 9.689px;
468 }
469
470 .sp-pcp-qs-tutorial-video {
471 position: relative;
472 width: 100%;
473 border-radius: 4px;
474 overflow: hidden;
475 aspect-ratio: 16 / 9;
476
477 iframe {
478 width: 100%;
479 height: 100%;
480 border: none;
481 }
482 }
483
484 .sp-pcp-qs-tutorial-title {
485 font-size: 18px;
486 font-weight: 600;
487 color: #2f2f2f;
488 margin: 0;
489 padding-top: 10px;
490 line-height: 1.4;
491 }
492
493 // Right Side Sidebar
494 .sp-pcp-qs-sidebar {
495 width: 380px;
496 display: flex;
497 flex-direction: column;
498 gap: 24px;
499 top: 20px;
500 position: sticky;
501 }
502
503 // Patterns Library Card
504 .sp-pcp-qs-patterns-card {
505 background: $white;
506 border: 1px solid $border-color;
507 border-radius: 12px;
508 overflow: hidden;
509 }
510
511 .sp-pcp-qs-patterns-image {
512 position: relative;
513 height: 200px;
514 background: rgba(239, 230, 251, 1);
515 overflow: hidden;
516 }
517
518 .sp-pcp-qs-patterns-bg {
519 position: absolute;
520 top: 0;
521 left: 0;
522 right: 0;
523 bottom: 0;
524 background: rgba(255, 255, 255, 0.2);
525 }
526
527 .sp-pcp-qs-patterns-cards {
528 position: relative;
529 width: 100%;
530 height: auto;
531 display: block;
532 margin-top: 8px;
533 transform: translateY(-5px);
534 }
535
536 .sp-pcp-qs-hot-tag {
537 position: absolute;
538 top: 9px;
539 left: 9px;
540 background: #cc1818;
541 color: #ffffff;
542 font-size: 12px;
543 font-weight: 500;
544 padding: 3px 9px;
545 border-radius: 4px;
546 }
547
548 .sp-pcp-qs-patterns-gradient {
549 position: absolute;
550 top: 50%;
551 left: 50%;
552 transform: translate(-50%, -50%);
553 width: 194px;
554 padding: 10px;
555 background: #FFF;
556 display: flex;
557 align-items: center;
558 justify-content: center;
559 box-shadow: 0 1px 2px 0 hsla(0,0%,7%,.2);
560 border-radius: 4px;
561 }
562
563 .sp-pcp-qs-patterns-text {
564 color: rgba(100, 29, 215, 1);
565 font-size: 16px;
566 font-weight: 600;
567 text-align: center;
568 }
569
570 .sp-pcp-qs-patterns-content {
571 padding: 24px;
572 background: $white;
573 display: flex;
574 flex-direction: column;
575 gap: 12px;
576 }
577
578 .sp-pcp-qs-patterns-title {
579 font-size: 18px;
580 font-weight: 600;
581 color: #2f2f2f;
582 margin: 0;
583 white-space: nowrap;
584 }
585
586 .sp-pcp-qs-patterns-desc {
587 font-size: 14px;
588 color: #2f2f2f;
589 line-height: 1.57;
590 margin: 0;
591 }
592
593 .sp-pcp-qs-patterns-btn-wrapper {
594 padding-top: 6px;
595 }
596
597 .sp-pcp-qs-patterns-btn {
598 display: inline-flex;
599 align-items: center;
600 justify-content: center;
601 gap: 4px;
602 background: $link-blue;
603 color: $white;
604 font-weight: 600;
605 font-size: 14px;
606 text-decoration: none;
607 padding: 13px 18px;
608 border-radius: 4px;
609 transition: all .3s ease-in-out;
610
611 svg {
612 width: 14px;
613 height: 14px;
614 }
615
616 &:hover {
617 background: $link-blue-hover;
618 color: #fff;
619 }
620 &:focus {
621 color: #fff;
622 }
623 }
624
625 // Go Pro Card
626 .sp-pcp-qs-pro-card {
627 background: linear-gradient(220.90946321468684deg, rgb(239, 230, 251) 0.73333%, rgba(239, 230, 251, 0.1) 35.519%), linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
628 border: 1px solid #d9b3fe;
629 border-radius: 12px;
630 overflow: hidden;
631 }
632
633 .sp-pcp-qs-pro-content {
634 padding: 24px;
635 display: flex;
636 flex-direction: column;
637 gap: 18px;
638 }
639
640 .sp-pcp-qs-pro-header {
641 display: flex;
642 flex-direction: column;
643 gap: 10px;
644 }
645
646 .sp-pcp-qs-pro-title {
647 font-size: 18px;
648 font-weight: 600;
649 color: #2f2f2f;
650 margin: 0;
651 white-space: nowrap;
652 }
653
654 .sp-pcp-qs-pro-desc {
655 font-size: 14px;
656 color: #2f2f2f;
657 line-height: 1.5;
658 margin: 0;
659 }
660
661 .sp-pcp-qs-pro-features {
662 display: flex;
663 flex-direction: column;
664 gap: 10px;
665 }
666
667 .sp-pcp-qs-pro-feature {
668 display: flex;
669 align-items: center;
670 gap: 6px;
671 font-size: 16px;
672 color: #2f2f2f;
673 line-height: 1.25;
674 font-weight: 500;
675 text-decoration: none;
676 transition: all 0.2s ease;
677
678 > svg {
679 opacity: 0;
680 visibility: hidden;
681 width: 12px;
682 height: 12px;
683 transition: all 0.2s ease;
684 transform: translateX(-3px);
685 }
686
687 &:hover {
688 color: inherit;
689
690 > svg {
691 opacity: 1;
692 visibility: visible;
693 transform: translateX(0);
694 }
695 }
696 }
697
698 a.sp-pcp-qs-pro-feature:hover {
699 text-decoration: underline;
700 }
701
702 .sp-pcp-qs-pro-buttons {
703 display: flex;
704 align-items: flex-start;
705 gap: 14px;
706 padding-top: 4px;
707 }
708
709 .sp-pcp-qs-pro-upgrade-btn {
710 display: flex;
711 align-items: center;
712 justify-content: center;
713 gap: 8px;
714 background: $link-blue;
715 color: $white;
716 padding: 14px 24px;
717 border-radius: 4px;
718 text-decoration: none;
719 font-weight: 700;
720 font-size: 14px;
721 transition: background 0.2s, color 0.2s;
722
723 svg {
724 width: 16px;
725 height: 16px;
726 }
727
728 &:focus,
729 &:hover {
730 background: $link-blue-hover;
731 color: #fff;
732 }
733 }
734
735 .sp-pcp-qs-pro-compare-btn {
736 display: block;
737 text-align: center;
738 color: #757575;
739 font-size: 14px;
740 font-weight: 500;
741 padding: 14px 24px;
742 transition: color 0.2s;
743 background: transparent;
744 border: none;
745 cursor: pointer;
746 text-decoration: underline;
747
748 &:hover {
749 color: $primary-color;
750 }
751 }
752
753 // Info Cards (Documentation & Community)
754 .sp-pcp-qs-info-card {
755 background: $white;
756 border: 1px solid $border-color;
757 border-radius: 12px;
758 padding: 28px;
759 }
760
761 .sp-pcp-qs-info-header {
762 display: flex;
763 align-items: center;
764 gap: 12px;
765 margin-bottom: 12px;
766 }
767
768 .sp-pcp-qs-info-icon {
769 width: 24px;
770 height: 24px;
771 display: flex;
772 align-items: center;
773 justify-content: center;
774 flex-shrink: 0;
775
776 svg {
777 width: 24px;
778 height: 24px;
779 }
780 }
781
782 .sp-pcp-qs-info-title {
783 font-size: 18px;
784 font-weight: 600;
785 color: #2f2f2f;
786 margin: 0;
787 text-transform: capitalize;
788 line-height: 20px;
789 }
790
791 .sp-pcp-qs-info-content-wrapper {
792 display: flex;
793 flex-direction: column;
794 gap: 18px;
795 }
796
797 .sp-pcp-qs-info-desc {
798 font-size: 14px;
799 color: #3c434a;
800 line-height: 22px;
801 margin: 0;
802 }
803
804 .sp-pcp-qs-info-link-wrapper {
805 display: flex;
806 align-items: center;
807 }
808
809 .sp-pcp-qs-info-link {
810 display: inline-flex;
811 align-items: center;
812 gap: 7px;
813 color: #6d6b6a;
814 border: 1px solid #6d6b6a;
815 padding: 12px;
816 font-weight: 500;
817 font-size: 16px;
818 text-decoration: none;
819 line-height: 13px;
820 white-space: nowrap;
821 border-radius: 4px;
822 transition: all 0.3s ease-in-out;
823
824 svg {
825 width: 12px;
826 height: 12px;
827 display: none;
828 }
829
830 &:hover {
831 background: var(--sp-smart-primary-2-600);
832 border-color: var(--sp-smart-primary-2-600);
833 color: #fff;
834 }
835 &:focus {
836 color: #6d6b6a;
837 }
838 }
839
840 // Pro icon wrapper
841 .sp-pcp-qs-pro-icon {
842 width: 14px;
843 height: 14px;
844 border-radius: 4px;
845 display: flex;
846 align-items: center;
847 justify-content: center;
848 flex-shrink: 0;
849
850 svg {
851 width: 14px;
852 height: 14px;
853 }
854 }
855
856 // Patterns card placeholder
857 .sp-pcp-qs-patterns-cards-placeholder {
858 position: relative;
859 width: 100%;
860 height: auto;
861 border-radius: 8px;
862 display: block;
863
864 img {
865 width: 100%;
866 height: auto;
867 display: block;
868 border-radius: 8px;
869 }
870 }
871
872 // Responsive
873 @media (max-width: 1200px) {
874 .sp-pcp-settings-getting-start-page-content {
875 flex-direction: column;
876 }
877
878 .sp-pcp-qs-sidebar {
879 width: 100%;
880 position: static;
881 }
882
883 .sp-pcp-qs-blocks-grid {
884 grid-template-columns: repeat(3, 1fr);
885 }
886
887 .sp-pcp-qs-tutorials-grid {
888 flex-direction: column;
889 }
890 }
891
892 @media (max-width: 768px) {
893 .sp-pcp-settings-getting-start-page {
894 padding: 0 20px;
895 }
896
897 .sp-pcp-qs-about-content {
898 flex-direction: column;
899 }
900
901 .sp-pcp-qs-video-wrapper {
902 width: 100%;
903 }
904
905 .sp-pcp-qs-blocks-grid {
906 grid-template-columns: 1fr;
907 }
908 }
909