PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.2
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.2
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 / blocks / editor.scss

editor.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.2, at src/blocks/editor.scss

1,159 lines 22.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @forward "./post-list-one/style";
2 @forward "./section-heading/style";
3 @forward "./live-filter/style";
4 // @forward "./taxonomy-filter/styles";
5 // @forward "./sort-filter/styles";
6 // @forward "./author-filter/styles";
7 @forward "./pagination/style";
8 /**
9 * Timeline one and two block css file
10 * location: './post-timeline-one/style.scss'
11 */
12 @forward "./post-timeline-one/style";
13 @forward "./post-timeline-two/style";
14 @forward "./post-timeline-three/style";
15 @forward "./post-grid-two/style";
16 @forward "./post-grid-one/style";
17 @forward "./post-grid-six/style";
18 @forward "./post-grid-four/style";
19 @forward "./post-grid-five/style";
20 @forward "./post-grid-three/style";
21 @forward "./post-list-two/style";
22 @forward "./post-list-three/style";
23 @forward "./thumbnail-slider/style";
24 @forward "./thumbnail-slider-two/style";
25 @forward "./post-slider/style";
26 @forward "./post-slider-two/style";
27 @forward "./button/style";
28 @forward "./news-ticker/style";
29 @forward "./taxonomy/style";
30 @forward "./social-profiles/style";
31 @forward "./container/style";
32 @forward "./column/style";
33 @forward "./post-carousel/style";
34 @forward "./smart-image/style";
35 @forward "./table-of-content/style";
36 @forward "./post-carousel-two/style";
37 @forward "./post-timeline-two/style";
38 @forward "./smart-search/style";
39 @forward "./smart-info-box/style";
40 @forward "./smart-lists/style";
41 @forward "./smart-list/style";
42
43
44 :root {
45 --sp-smart-primary-2-50: #efe6fb;
46 --sp-smart-primary-2-100: #d6c2f5;
47 --sp-smart-primary-2-200: #bb99ee;
48 --sp-smart-primary-2-300: #9e6de9;
49 --sp-smart-primary-2-400: #884ae3;
50 --sp-smart-primary-2-500: #6f22dd;
51 --sp-smart-primary-2-600: #641dd7;
52 --sp-smart-primary-2-700: #5412cf;
53 --sp-smart-primary-2-800: #4307c9;
54 --sp-smart-primary-2-900: #1e00c0;
55 --sp-smart-primary-2-gradient: linear-gradient(90deg, #0054fb 0%, #4a70fe 65.02%);
56 }
57
58 .is-selected {
59 .sp-st0 {
60 fill: var(--sp-smart-primary-2-50);
61 }
62 }
63
64 // css for components
65 .sp-smart-post-d-flex {
66 display: flex;
67 }
68
69 .sp-smart-post-component-mb {
70 margin-bottom: 16px;
71 }
72
73 // Customize panel body scroll bar.
74 .interface-complementary-area.editor-sidebar {
75 overflow-x: hidden;
76 }
77
78 .interface-complementary-area.editor-sidebar {
79 scrollbar-width: none;
80 }
81
82 .sp-smart-post-tab-panel {
83 .components-panel__body {
84 .components-panel__body-title {
85 .components-panel__body-toggle {
86 font-size: 13px;
87 position: relative;
88 }
89 }
90
91 // Active Panel Body Background colgroup.
92 &.is-opened {
93 .components-panel__body-title {
94 background-color: #f0f0f0;
95 }
96 }
97 }
98
99 }
100
101 .editor-block-list-item-sp-smart-post-show-post-list-two,
102 .editor-block-list-item-sp-smart-post-show-smart-search,
103 .editor-block-list-item-sp-smart-post-show-post-grid-four,
104 .editor-block-list-item-sp-smart-post-show-thumbnail-slider-two,
105 .editor-block-list-item-sp-smart-post-show-post-slider-two,
106 .sp-smart-post-list-panel-body .components-panel__body-toggle,
107 .sp-smart-post-separator-panel-body .components-panel__body-toggle,
108 .sp-smart-post-badge-panel-body .components-panel__body-toggle,
109 .sp-smart-post-rating-panel-body .components-panel__body-toggle,
110 .sp-button-icon-panel-body .components-panel__body-toggle,
111 .sp-smart-post-image-panel-body .components-panel__body-toggle {
112 &::before{
113 align-items: center;
114 background: #E5F7EC;
115 background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMi4yOTQgOS4xNzgtLjY1My01LjE5Yy0uMDQ4LS4zODMuMzA5LS42NDUuNTYzLS40MTJsMi4wMzUgMS44NjZjLjIyMy4yMDQuNTQxLjEzOC42OTYtLjE0Nkw2LjYzIDIuMTljLjE4LS4zMjkuNTc0LS4zMjkuNzUzIDBsMS42OTQgMy4xMDZjLjE1NS4yODQuNDc0LjM1LjY5Ny4xNDZsMi4wMzUtMS44NjZjLjI1NC0uMjMzLjYxMS4wMjkuNTYzLjQxMmwtLjY1NCA1LjE5em04LjkzMiAyLjg3OWgtOC40NGMtLjI3MiAwLS40OTItLjI2OS0uNDkyLS42di0xLjMyaDkuNDIzdjEuMzJjMCAuMzMxLS4yMi42LS40OTEuNiIgZmlsbD0iIzRhYjg2NiIvPjwvc3ZnPg==");
116 background-position: 53% 45%;
117 background-repeat: no-repeat;
118 background-size: 11px 11px;
119 border-radius: 50%;
120 bottom: 0;
121 box-sizing: border-box;
122 color: #4AB866;
123 content: "";
124 display: inline-flex;
125 font-size: 10px;
126 height: 18px;
127 justify-content: center;
128 overflow: hidden;
129 position: absolute;
130 right: 50px;
131 top: 50%;
132 transform: translateY(-50%);
133 transition: all .3s ease;
134 white-space: nowrap;
135 width: 18px;
136 border: 1px solid #93DCAC;
137 font-weight: 600;
138 }
139 }
140
141 .editor-block-list-item-sp-smart-post-show-post-list-two,
142 .editor-block-list-item-sp-smart-post-show-smart-search,
143 .editor-block-list-item-sp-smart-post-show-post-grid-four,
144 .editor-block-list-item-sp-smart-post-show-thumbnail-slider-two,
145 .editor-block-list-item-sp-smart-post-show-post-slider-two {
146 position: relative;
147
148 &::before {
149 border-radius: 20px;
150 padding-left: 15px;
151 right: 0;
152 top: 12px;
153 }
154
155 &:hover::before {
156 background-position: 4px 45%;
157 border-radius: 12px;
158 content: "PRO";
159 width: 43px;
160 }
161 }
162
163 .sp-smart-pro-block-top-bar {
164 display: flex;
165 background-color: #EDFAEF;
166 border: 1px solid #93DCAC;
167 color: #fff;
168 gap: 8px;
169 padding: 11px 10px 11px 20px;
170 font-size: 16px;
171 border-radius: 8px;
172 align-items: center;
173 margin-bottom: 10px;
174 color: #2F2F2F;
175 font-size: 14px;
176 font-weight: 400;
177 a {
178 text-decoration: none;
179 white-space: nowrap;
180 }
181
182 .sp-upgrade-to-pro-btn {
183 background-color: #159E2E;
184 padding: 12px 24px 12px 50px;
185 border-radius: 4px;
186 line-height: 20px;
187 color: #fff;
188 position: relative;
189 transition: all .3s ease-in-out;
190
191 &:hover {
192 background-color: #087f1e;
193 }
194
195 &::before {
196 position: absolute;
197 content: "";
198 background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%2710%27 fill=%27none%27%3E%3Cg clip-path=%27url%28%23a%29%27%3E%3Cpath stroke=%27%23fff%27 stroke-width=%27.847%27 d=%27M6.386 3.76a.84.84 0 0 0 .557.428.78.78 0 0 0 .69-.195l1.46-1.34-.473 3.768H1.39L.914 2.653l1.462 1.34c.19.175.443.247.69.195a.84.84 0 0 0 .557-.427l1.38-2.533z%27/%3E%3Cpath fill=%27%23fff%27 d=%27M8.577 9.281H1.432c-.23 0-.416-.227-.416-.508V7.656h7.977v1.117c0 .28-.186.508-.416.508%27/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%27a%27%3E%3Cpath fill=%27%23fff%27 d=%27M0 0h10v10H0z%27/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
199 background-repeat: no-repeat;
200 background-size: cover;
201 width: 17px;
202 height: 17px;
203 top: 50%;
204 left: 22px;
205 transform: translateY(-50%);
206 }
207 }
208
209 .sp-smart-pro-block-demo-btn {
210 border: 1px solid #ccc;
211 padding: 10px;
212 border-radius: 4px;
213 color: #2F2F2F;
214 transition: all .3s ease-in-out;
215
216 &:hover {
217 color: #159E2E;
218 border-color: #159E2E;
219 }
220 }
221 }
222
223 .sp-smart-post-pro-block .sp-smart-post-slider-two .sp-smart-post-swiper {
224 position: relative;
225 &::after {
226 position: absolute;
227 content: "";
228 width: 100%;
229 height: 100%;
230 top: 0;
231 left: 0;
232 background-color: #000;
233 opacity: .4;
234 z-index: 99;
235 }
236 }
237
238 div:has(> .sp-smart-post-tab-panel)~div:has(> .block-editor-block-inspector__advanced) {
239 display: none;
240 }
241
242 .sp-smart-post-select-dropdown-option .sp-smart-post-select-nav-icon {
243 display: flex;
244 column-gap: 4px;
245 font-size: 18px;
246 color: #2f2f2f;
247 }
248
249 // .sp-smart-post-card a:active {
250 // pointer-events: none;
251 // }
252
253 .sp-smart-post-card {
254 a {
255 &:has(.sp-smart-post-title) {
256 pointer-events: all;
257 }
258 }
259
260 .sp-smart-post-category {
261 pointer-events: all;
262 cursor: pointer;
263
264 span {
265 pointer-events: all;
266 cursor: pointer;
267 }
268 }
269 }
270
271 .sp-smart-post-card-image {
272 a {
273 pointer-events: all;
274 }
275 }
276
277 .sp-smart-post-details {
278 pointer-events: all;
279 cursor: pointer;
280
281 .sp-smart-post-author a {
282 pointer-events: none;
283 }
284 }
285
286 .sp-smart-post-card {
287 .sp-smart-post-social-share {
288 a:active {
289 pointer-events: none;
290 }
291 }
292 }
293
294 .sp-smart-post-product-add-to-cart {
295 pointer-events: all;
296
297 a:active {
298 pointer-events: none;
299 }
300 }
301
302 .editor-styles-wrapper .sp-smart-post-product-add-to-cart a {
303 white-space: pre-wrap;
304 word-break: break-word;
305 }
306
307 .editor-styles-wrapper .sp-smart-post-card-content {
308 word-break: break-word;
309 }
310
311 .sp-smart-post-layout-card.disabled::after {
312 content: "Coming soon";
313 background: transparent;
314 position: absolute;
315 left: 0;
316 top: 50%;
317 right: 0;
318 bottom: 0;
319 color: #000;
320 font-size: 18px;
321 font-weight: 700;
322 transform: translateY(-50%);
323 z-index: 99999;
324 }
325
326 .components-range-control__wrapper {
327 .components-range-control__thumb-wrapper {
328 background-color: transparent;
329 z-index: 0 !important;
330 }
331 }
332
333 .block-editor-block-inspector {
334 .sp-smart-post-tab-panel {
335 .components-panel__body {
336 margin-top: -1px;
337 }
338 }
339 }
340
341 .components-form-toggle {
342 .components-form-toggle__input:focus+.components-form-toggle__track {
343 box-shadow:
344 0 0 0 var(--wp-admin-border-width-focus) #fff,
345 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) var(--sp-smart-primary-2-400);
346 }
347 }
348
349 .sp-smart-post-tab-panel .components-tab-panel__tabs .components-button:hover {
350 color: #2f2f2f;
351 }
352
353 .sp-smart-post-tab-panel .components-panel__body-title .components-button:hover {
354 color: #2f2f2f;
355 }
356
357 .sp-live-filter-parent-tag {
358 input[type="radio" i] {
359 height: 1rem !important;
360 }
361 }
362
363 .sp-smart-post-toggle {
364 .components-toggle-control__help {
365 margin-inline-start: 0;
366 }
367 }
368
369 .sp-smart-post-load-more-button {
370 .sp-smart-post-show-preloading {
371 visibility: hidden;
372 }
373 }
374
375 // .sp-smart-post-tab-panel .components-tab-panel__tabs button.components-button:focus:not(:disabled) {
376 // border-bottom-color: #f05d31!important;
377 // }
378
379 .sp-smart-post-grid-one-editor-page,
380 .sp-smart-post-grid-six-editor-page,
381 .sp-smart-post-grid-three-editor-page,
382 .sp-smart-post-grid-four-editor-page,
383 .sp-smart-post-grid-five-editor-page {
384 overflow: hidden;
385 }
386
387 .sp-smart-post-custom-css {
388 font-size: 12px;
389 line-height: 20px;
390 height: 300px;
391 overflow-y: scroll;
392 }
393
394 body.rtl {
395 .sp-smart-post-header-control-left {
396 column-gap: 10px;
397 }
398 }
399
400 .sp-smart-post-template-library {
401 margin-left: 36px;
402 padding-left: 18px;
403 margin-bottom: 26px;
404
405 .template-library-btn {
406 padding: 8px 12px;
407 border-radius: 2px;
408 border: 1px solid var(--sp-smart-primary-2-600);
409 background: #faeae9;
410 cursor: pointer;
411 color: var(--sp-smart-primary-2-600);
412 font-family: "Inter";
413 font-size: 13px;
414 font-style: normal;
415 font-weight: 500;
416 line-height: 14px;
417 /* 107.692% */
418 text-transform: capitalize;
419 }
420 }
421
422 button.sp-smart-post-header-control-reset {
423 svg {
424 fill: #fff !important;
425
426 path: {
427 fill: transparent !important;
428 }
429 }
430
431 &.active {
432 svg {
433 stroke: var(--sp-smart-primary-2-600) !important;
434 }
435 }
436 }
437
438 .sp-mb-8px {
439 margin-bottom: 8px;
440 }
441
442 .sp-gap-8px {
443 gap: 8px;
444 }
445
446 .sp-block-icon {
447 fill: transparent !important;
448 }
449
450 .sp-smart-post-typography-word-spacing-latter-spacing-wrapper {
451 input[type="number"]="number""].components-input-control__input {
452 text-align: center;
453 min-height: 32px;
454 height: 32px;
455 font-size: 14px;
456 }
457
458 .sp-smart-post-component-title {
459 margin-bottom: 0;
460 }
461 }
462
463 .sp-component-simple:not(.sp-metadata-taxonomy) li:hover a,
464 .sp-component-simple:hover {
465 box-shadow: inset 0 0 0 1px #037fff;
466 }
467
468 .sp-component-simple:has(img):hover {
469 box-shadow: 0 0 0 1px #037fff;
470 }
471
472 .sp-smart-post-single-inspector {
473 padding: 16px;
474 }
475
476 .sp-component-simple-img:hover::before {
477 content: "";
478 position: absolute;
479 top: 0;
480 left: 0;
481 width: 100%;
482 height: 100%;
483 z-index: 3;
484 pointer-events: none;
485 box-shadow: inset 0 0 0 1px #037fff;
486 }
487
488 .m-16 {
489 display: block;
490 margin-top: 16px;
491 }
492
493 // .wp-block-sp-smart-post-show-container {
494 // padding: 20px;
495 // }
496
497 .sp-smart-post-single-inspector {
498 padding: 16px;
499 }
500
501 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-template-one-content {
502 pointer-events: none;
503
504 .sp-smart-post-card-content {
505 pointer-events: all;
506 }
507 }
508
509 .sp-live-filter-general .sp-smart-post-layouts .sp-smart-post-layout-card:last-child {
510 // opacity: .5;
511 // pointer-events: none;
512 position: relative;
513
514 .sp-smart-layout-img {
515 opacity: 1;
516 }
517 }
518
519 // .sp-live-filter-general .sp-smart-post-layouts .sp-smart-post-layout-card:last-child::after {
520 // position: absolute;
521 // content: "Upcoming";
522 // top: 0px;
523 // right: 1px;
524 // background: #6b818e;
525 // color: #ffffff;
526 // padding: 3px 5px 4px 5px;
527 // font-size: 10px;
528 // line-height: 10px;
529 // text-transform: lowercase;
530 // }
531
532 // docs link added............................................
533 .smart-post-show-block-description a {
534 display: none;
535 }
536
537 .block-editor-block-inspector {
538 .smart-post-show-block-description a {
539 display: flex;
540 flex-wrap: nowrap;
541 column-gap: 2px;
542 align-items: center;
543 font-size: 12px;
544 font-style: normal;
545 font-weight: 600;
546 line-height: 16px;
547 margin-top: 5px;
548 }
549
550 .smart-post-show-block-description a:focus {
551 box-shadow: none;
552 outline: none;
553 }
554 }
555
556 .block-editor-block-inspector {
557 .sp-smart-post-block-doc-link a {
558 display: flex;
559 flex-wrap: nowrap;
560 column-gap: 2px;
561 align-items: center;
562 font-size: 12px;
563 font-style: normal;
564 font-weight: 600;
565 line-height: 16px;
566 margin-top: -12px;
567 margin-bottom: 22px;
568 margin-left: 52px;
569 text-decoration: none;
570 width: fit-content;
571 }
572
573 .sp-smart-post-block-doc-link a:focus {
574 box-shadow: none;
575 outline: none;
576 }
577 }
578
579 .components-popover:has(.sp-smart-post-icon-picker-popup) {
580 position: absolute;
581 top: 0px !important;
582 left: -110px !important;
583 opacity: 1;
584 transform: translateX(1483px) translateY(279px) translateY(0em) scale(1) translateZ(0px);
585 }
586
587 .sp-smart-style-image-sample-components {
588 position: absolute;
589 top: 15px;
590 left: 50%;
591 transform: translateX(-50%);
592 display: flex;
593 padding: 5px 8px;
594 justify-content: center;
595 align-items: center;
596 gap: 4px;
597 border: none;
598 border-radius: 2px;
599 background: #3858e9;
600 cursor: pointer;
601 pointer-events: all;
602 z-index: 6;
603 overflow: hidden;
604
605 .sp-style-image-icon {
606 display: flex;
607
608 svg {
609 width: 13px;
610 height: 13px;
611 }
612 }
613
614 .sp-style-image-text {
615 color: #fff;
616 font-family: inherit;
617 font-size: 10px;
618 font-style: normal;
619 font-weight: 500;
620 line-height: normal;
621 white-space: nowrap;
622 }
623
624 &::after {
625 content: "";
626 position: absolute;
627 background: #fff;
628 top: -50px;
629 left: -75px;
630 height: 155px;
631 opacity: 0.4;
632 transform: rotate(-35deg);
633 // transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
634 width: 5px;
635 z-index: -10;
636 // animation: none;
637 animation: moveAfter 3s cubic-bezier(0.19, 1, 0.22, 1) 550ms forwards;
638 }
639 }
640
641 .sp-cat-position-top-left,
642 .sp-cat-position-center-top,
643 .sp-cat-position-top-right {
644 .sp-smart-style-image-sample-components {
645 top: 40px;
646 }
647 }
648
649 @keyframes moveAfter {
650 to {
651 left: 140%;
652 }
653 }
654
655 .sp-smart-post-component-title {
656 margin-bottom: 9px;
657 margin-top: -4px !important;
658 }
659
660 .sp-smart-post-spacing .sp-smart-post-component-title,
661 .sp-smart-post-range-control .sp-smart-post-component-title {
662 margin-bottom: 0px;
663 }
664
665 .suggest-widget.visible {
666 left: 0 !important;
667 }
668
669 .block-editor-block-popover:has(.block-editor-block-list__insertion-point) {
670 display: none;
671 }
672
673 // Date Picker css.
674 .sp-smart-specific-date-item,
675 .sp-smart-specific-date {
676 margin-bottom: 8px;
677 }
678
679 .sp-smart-specific-date-item {
680 display: flex;
681 justify-content: space-between;
682 align-items: center;
683
684 .react-datepicker__tab-loop {
685 position: absolute;
686 }
687
688 .react-datepicker-popper {
689 left: -55px !important;
690 }
691
692 .react-datepicker-wrapper {
693 input {
694 width: 130px;
695 margin: 0;
696 height: 32px;
697 }
698 }
699
700 svg.react-datepicker__triangle {
701 left: auto !important;
702 right: 60px !important;
703 }
704 }
705
706 .sp-column-resizer {
707 display: none;
708 }
709
710 .is-selected,
711 .is-hovered,
712 .sp-hovered {
713 .sp-column-resizer {
714 display: block;
715 }
716 }
717
718 .sp-global-typography-typeset {
719 display: flex;
720 flex-direction: column;
721 row-gap: 12px;
722 margin-bottom: 16px;
723
724 .sp-typography-typeset-label {
725 font-size: 13px;
726 font-weight: 400;
727 color: #1e1e1e;
728 font-family: Inter, sans-serif;
729 }
730
731 .sp-global-typography-typeset-btn-group {
732 display: grid;
733 grid-template-columns: repeat(4, 1fr);
734 gap: 8px;
735
736 .sp-global-typography-typeset-btn {
737 display: flex;
738 border-radius: 2px;
739 border: 1.5px solid;
740 border-color: #ddd;
741 padding: 12px;
742 cursor: pointer;
743
744 &.active {
745 border-color: #ff5b2e;
746 }
747
748 .sp-typeset-btn-label {
749 color: #2f2f2f;
750 text-align: center;
751 font-size: 26px;
752 font-style: normal;
753 font-weight: 400;
754 line-height: 19px;
755 user-select: none;
756 }
757 }
758 }
759 }
760
761 .sp-mb-16 {
762 margin-bottom: 16px;
763 }
764
765 .sp-mb-12 {
766 margin-bottom: 12px;
767 }
768
769 .sp-global-typography-fonts-list-wrapper {
770 .sp-global-typography-fonts-list-list {
771 display: flex;
772 flex-direction: column;
773 }
774
775 .sp-smart-post-component-title {
776 margin-bottom: 0;
777 }
778
779 .sp-smart-post-typography {
780 width: 100%;
781 }
782
783 .sp-global-typography-fonts-list-item {
784 display: flex;
785 width: 252px;
786 height: 40px;
787 padding: 4px 14px;
788 justify-content: space-between;
789 align-items: center;
790 border-radius: 2px 2px 0 0;
791 border: 1px solid #ddd;
792 background: #fff;
793
794 &:not(:last-child) {
795 border-bottom: none;
796 }
797
798 .sp-list-item-label {
799 font-size: 13px;
800 font-style: normal;
801 font-weight: 400;
802 line-height: 20px;
803 }
804
805 .sp-list-name {
806 color: #2f2f2f;
807 }
808
809 .sp-list-variants {
810 color: #757575;
811 }
812
813 .sp-list-icon {
814 font-size: 13px;
815 line-height: 10px;
816 }
817 }
818 }
819
820 .smart-post-global-color {
821 flex: 1;
822 height: 30px;
823 }
824
825 .smart-post-global-content {
826 display: grid;
827 grid-template-columns: 1fr 1fr;
828 gap: 10px;
829 }
830
831 .smart-post-preset-color-show {
832 display: flex;
833 }
834
835 .smart-post-global-current-content {
836 padding: 3px;
837 border: 1px solid #ddd;
838 border-radius: 2px;
839 }
840
841 .smart-post-global-color-preset {
842 display: flex;
843 margin-top: 30px;
844 }
845
846 .smart-post-global-current-content.selected {
847 border-color: #ff5b2e;
848 }
849
850 .smart-post-custom-color-item {
851 display: flex;
852 align-items: center;
853 gap: 8px;
854 padding: 8px;
855 background: #f6f7f7;
856 border-radius: 4px;
857 }
858
859 .smart-post-custom-color-preview {
860 width: 24px;
861 height: 24px;
862 border-radius: 4px;
863 }
864
865 .smart-post-custom-color-name {
866 flex: 1;
867 font-size: 13px;
868 }
869
870 .smart-post-gradient-presets {
871 display: grid;
872 grid-template-columns: repeat(2, 1fr);
873 gap: 12px;
874 margin: 16px 0;
875 }
876
877 .smart-post-gradient-preset {
878 height: 60px;
879 border-radius: 4px;
880 cursor: pointer;
881 display: flex;
882 align-items: center;
883 justify-content: center;
884 color: white;
885 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
886 font-size: 12px;
887 text-align: center;
888 padding: 8px;
889 }
890
891 .smart-post-gradient-preview {
892 height: 60px;
893 border-radius: 4px;
894 margin: 16px 0;
895 }
896
897 // section heading block css
898 .sp-smart-post-section-heading-block-panel-body {
899
900 .sp-smart-post-select-dropdown-option.active:hover,
901 .sp-smart-post-select-dropdown-option.active {
902 svg {
903 fill: #2f2f2f;
904 }
905
906 g[fill="#F05D31"]="#F05D31""] {
907 fill: #fff;
908 }
909
910 rect[fill="#F05D31"]="#F05D31""] {
911 fill: #fff;
912 }
913
914 path[fill="#F05D31"]="#F05D31""] {
915 fill: #fff;
916 }
917
918 path[fill="#fff"]="#fff""] {
919 fill: #2f2f2f;
920 }
921 }
922 }
923
924 .editor-styles-wrapper a.sp-social-profile-item-wrapper,
925 a.sp-social-profile-item-wrapper {
926 display: block;
927 text-decoration: none;
928 position: relative;
929 }
930
931 .sp-block-is-selected {
932 outline: 1.5px solid #007cba;
933 }
934
935 .sp-table-of-content-toc {
936 position: static !important;
937 width: 100% !important;
938 }
939
940 // Meta field design
941 #sp_post_video_box .postbox-header h2,
942 #sp_post_video_box .inside {
943 padding-left: 16px !important;
944 padding-right: 16px !important;
945 }
946 .sp-smart-meta-title {
947 white-space: nowrap;
948 }
949 .sp-gallery-preview-images {
950 position: relative;
951 }
952 span.sp-gallery-remove-img {
953 position: absolute;
954 right: -5px;
955 top: -4px;
956 padding: 5px;
957 background: red;
958 border-radius: 50%;
959 color: #fff;
960 line-height: 7px;
961 cursor: pointer;
962 opacity: 0;
963 visibility: hidden;
964 transition: all .3s;
965 }
966 .sp-gallery-preview-images:hover span.sp-gallery-remove-img {
967 opacity: 1;
968 visibility: visible;
969 }
970 .sp-smart-video-metabox {
971 span {
972 font-size: 13px;
973 font-weight: 500;
974 }
975 &-input {
976 display: flex;
977 margin-top: 6px;
978 position: relative;
979
980 input {
981 width: 100%;
982 height: 32px;
983 border: 1px solid #ddd;
984 padding-right: 54px;
985
986 &:focus {
987 outline: none;
988 box-shadow: none;
989 border-color: #ddd;
990 }
991 }
992
993 .sp-smart-upload-video-btn {
994 position: absolute;
995 right: 0;
996 top: 0;
997 height: 100%;
998 background-color: var(--sp-smart-primary-2-600);
999 color: #fff;
1000 border: none;
1001 width: 40px;
1002 border-top-left-radius: 0;
1003 border-bottom-left-radius: 0;
1004 cursor: pointer;
1005 }
1006 }
1007
1008 &-note {
1009 font-size: 11px;
1010 font-style: italic;
1011 font-weight: 400;
1012 line-height: 20px;
1013 color: #949494;
1014 margin: 5px 0 8px;
1015 display: inline-block;
1016 }
1017 }
1018 .sp-gallery-metabox {
1019 .sp-gallery-preview {
1020 display: grid;
1021 grid-template-columns: repeat(3, 1fr);
1022 gap: 16px;
1023
1024 img {
1025 border-radius: 2px;
1026 }
1027 }
1028 .sp-upload-gallery {
1029 border: none;
1030 text-align: left;
1031 background: transparent;
1032 margin-top: 10px;
1033 font-size: 13px;
1034 font-weight: 400;
1035 color: #2271B1;
1036 text-decoration: underline;
1037 cursor: pointer;
1038 img {
1039 border-radius: 2px;
1040 }
1041 }
1042 .sp-upload-gallery {
1043 border: none;
1044 text-align: left;
1045 background: transparent;
1046 margin-top: 10px;
1047 font-size: 13px;
1048 font-weight: 400;
1049 color: #2271b1;
1050 text-decoration: underline;
1051 }
1052 }
1053 .sp-smart-dash-block-btn {
1054 display: flex;
1055 justify-content: center;
1056 padding: 10px 15px;
1057 text-decoration: none;
1058 background: var(--sp-smart-primary-2-600);
1059 color: #fff !important;
1060 margin-top: 15px;
1061 border-radius: 4px;
1062 gap: 10px;
1063 }
1064 .sp-smart-post-modules-notes {
1065 color: #2f2f2f;
1066 font-family: Roboto;
1067 font-size: 12px;
1068 font-style: normal;
1069 font-weight: 400;
1070 line-height: 16px;
1071 a {
1072 color: #757575;
1073 font-weight: 600;
1074 text-decoration: underline;
1075 }
1076 }
1077 .sp-smart-post-popup-wrapper {
1078 width: 350px;
1079 background-color: #ffffff;
1080 // padding: 20px;
1081 .sp-smart-post-popup-content-area {
1082 width: 100%;
1083 }
1084 }
1085 .sp-smart-post-popup-wrapper:has(.sp-smart-global-shadow-wrapper) {
1086 width: 100%;
1087 padding: 0;
1088 }
1089
1090 .sp-table-of-content-toc {
1091 position: static !important;
1092 transform: translateY(0%) !important;
1093 }
1094
1095 .sp-smart-help-text {
1096 font-size: 11px;
1097 font-style: italic;
1098 font-weight: 400;
1099 line-height: 20px;
1100 color: #949494;
1101 position: static !important;
1102 transform: translateY(0%) !important;
1103 }
1104
1105 .rfm-marquee-container {
1106 overflow-x: hidden;
1107 display: flex;
1108 flex-direction: row;
1109 position: relative;
1110 width: var(--width);
1111 transform: var(--transform);
1112 }
1113
1114 .rfm-marquee {
1115 flex: 0 0 auto;
1116 min-width: var(--min-width);
1117 z-index: 1;
1118 display: flex;
1119 flex-direction: row;
1120 align-items: center;
1121 animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
1122 animation-play-state: var(--play);
1123 animation-delay: var(--delay);
1124 animation-direction: var(--direction);
1125 }
1126 .rfm-initial-child-container {
1127 flex: 0 0 auto;
1128 display: flex;
1129 min-width: auto;
1130 flex-direction: row;
1131 align-items: center;
1132 }
1133 .rfm-marquee-container:hover div {
1134 animation-play-state: var(--pause-on-hover);
1135 }
1136 .editor-styles-wrapper .is-root-container .sp-smart-post-smart-lists-wrapper a,
1137 .editor-styles-wrapper .is-root-container .sp-smart-post-wrapper a {
1138 text-decoration: none;
1139 }
1140 .editor-styles-wrapper .is-root-container .wp-block-sp-smart-post-show-smart-post-parent a {
1141 text-decoration: none;
1142 }
1143
1144 // @media screen and (max-width: 767px) {
1145 // .block-editor-block-list__layout > div {
1146 // max-width: 100% !important;
1147 // }
1148 // }
1149 .sp-smart-post-title-badges-style-tab-wrapper {
1150 padding: 20px;
1151 }
1152 .sp-smart-post-title-wrapper {
1153 display: flex;
1154 }
1155 .sp-smart-post-title-badges-style-tab-wrapper {
1156 .sp-smart-post-popup-content-area {
1157 padding: 18px;
1158 }
1159 }