PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 3.1.4
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v3.1.4
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / admin / assets / styles / style.scss

style.scss in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites 3.1.4, at admin/assets/styles/style.scss

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