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 / blocks / editor.scss

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

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