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

1,136 lines 22.2 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
533 .block-editor-block-inspector {
534 .sp-smart-post-block-doc-link a {
535 display: flex;
536 flex-wrap: nowrap;
537 column-gap: 2px;
538 align-items: center;
539 font-size: 12px;
540 font-style: normal;
541 font-weight: 600;
542 line-height: 16px;
543 margin-top: -12px;
544 margin-bottom: 22px;
545 margin-left: 52px;
546 text-decoration: none;
547 width: fit-content;
548 }
549
550 .sp-smart-post-block-doc-link a:focus {
551 box-shadow: none;
552 outline: none;
553 }
554 }
555
556 .components-popover:has(.sp-smart-post-icon-picker-popup) {
557 position: absolute;
558 top: 0px !important;
559 left: -110px !important;
560 opacity: 1;
561 transform: translateX(1483px) translateY(279px) translateY(0em) scale(1) translateZ(0px);
562 }
563
564 .sp-smart-style-image-sample-components {
565 position: absolute;
566 top: 15px;
567 left: 50%;
568 transform: translateX(-50%);
569 display: flex;
570 padding: 5px 8px;
571 justify-content: center;
572 align-items: center;
573 gap: 4px;
574 border: none;
575 border-radius: 2px;
576 background: #3858e9;
577 cursor: pointer;
578 pointer-events: all;
579 z-index: 6;
580 overflow: hidden;
581
582 .sp-style-image-icon {
583 display: flex;
584
585 svg {
586 width: 13px;
587 height: 13px;
588 }
589 }
590
591 .sp-style-image-text {
592 color: #fff;
593 font-family: inherit;
594 font-size: 10px;
595 font-style: normal;
596 font-weight: 500;
597 line-height: normal;
598 white-space: nowrap;
599 }
600
601 &::after {
602 content: "";
603 position: absolute;
604 background: #fff;
605 top: -50px;
606 left: -75px;
607 height: 155px;
608 opacity: 0.4;
609 transform: rotate(-35deg);
610 // transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
611 width: 5px;
612 z-index: -10;
613 // animation: none;
614 animation: moveAfter 3s cubic-bezier(0.19, 1, 0.22, 1) 550ms forwards;
615 }
616 }
617
618 .sp-cat-position-top-left,
619 .sp-cat-position-center-top,
620 .sp-cat-position-top-right {
621 .sp-smart-style-image-sample-components {
622 top: 40px;
623 }
624 }
625
626 @keyframes moveAfter {
627 to {
628 left: 140%;
629 }
630 }
631
632 .sp-smart-post-component-title {
633 margin-bottom: 9px;
634 margin-top: -4px !important;
635 }
636
637 .sp-smart-post-spacing .sp-smart-post-component-title,
638 .sp-smart-post-range-control .sp-smart-post-component-title {
639 margin-bottom: 0px;
640 }
641
642 .suggest-widget.visible {
643 left: 0 !important;
644 }
645
646 .block-editor-block-popover:has(.block-editor-block-list__insertion-point) {
647 display: none;
648 }
649
650 // Date Picker css.
651 .sp-smart-specific-date-item,
652 .sp-smart-specific-date {
653 margin-bottom: 8px;
654 }
655
656 .sp-smart-specific-date-item {
657 display: flex;
658 justify-content: space-between;
659 align-items: center;
660
661 .react-datepicker__tab-loop {
662 position: absolute;
663 }
664
665 .react-datepicker-popper {
666 left: -55px !important;
667 }
668
669 .react-datepicker-wrapper {
670 input {
671 width: 130px;
672 margin: 0;
673 height: 32px;
674 }
675 }
676
677 svg.react-datepicker__triangle {
678 left: auto !important;
679 right: 60px !important;
680 }
681 }
682
683 .sp-column-resizer {
684 display: none;
685 }
686
687 .is-selected,
688 .is-hovered,
689 .sp-hovered {
690 .sp-column-resizer {
691 display: block;
692 }
693 }
694
695 .sp-global-typography-typeset {
696 display: flex;
697 flex-direction: column;
698 row-gap: 12px;
699 margin-bottom: 16px;
700
701 .sp-typography-typeset-label {
702 font-size: 13px;
703 font-weight: 400;
704 color: #1e1e1e;
705 font-family: Inter, sans-serif;
706 }
707
708 .sp-global-typography-typeset-btn-group {
709 display: grid;
710 grid-template-columns: repeat(4, 1fr);
711 gap: 8px;
712
713 .sp-global-typography-typeset-btn {
714 display: flex;
715 border-radius: 2px;
716 border: 1.5px solid;
717 border-color: #ddd;
718 padding: 12px;
719 cursor: pointer;
720
721 &.active {
722 border-color: #ff5b2e;
723 }
724
725 .sp-typeset-btn-label {
726 color: #2f2f2f;
727 text-align: center;
728 font-size: 26px;
729 font-style: normal;
730 font-weight: 400;
731 line-height: 19px;
732 user-select: none;
733 }
734 }
735 }
736 }
737
738 .sp-mb-16 {
739 margin-bottom: 16px;
740 }
741
742 .sp-mb-12 {
743 margin-bottom: 12px;
744 }
745
746 .sp-global-typography-fonts-list-wrapper {
747 .sp-global-typography-fonts-list-list {
748 display: flex;
749 flex-direction: column;
750 }
751
752 .sp-smart-post-component-title {
753 margin-bottom: 0;
754 }
755
756 .sp-smart-post-typography {
757 width: 100%;
758 }
759
760 .sp-global-typography-fonts-list-item {
761 display: flex;
762 width: 252px;
763 height: 40px;
764 padding: 4px 14px;
765 justify-content: space-between;
766 align-items: center;
767 border-radius: 2px 2px 0 0;
768 border: 1px solid #ddd;
769 background: #fff;
770
771 &:not(:last-child) {
772 border-bottom: none;
773 }
774
775 .sp-list-item-label {
776 font-size: 13px;
777 font-style: normal;
778 font-weight: 400;
779 line-height: 20px;
780 }
781
782 .sp-list-name {
783 color: #2f2f2f;
784 }
785
786 .sp-list-variants {
787 color: #757575;
788 }
789
790 .sp-list-icon {
791 font-size: 13px;
792 line-height: 10px;
793 }
794 }
795 }
796
797 .smart-post-global-color {
798 flex: 1;
799 height: 30px;
800 }
801
802 .smart-post-global-content {
803 display: grid;
804 grid-template-columns: 1fr 1fr;
805 gap: 10px;
806 }
807
808 .smart-post-preset-color-show {
809 display: flex;
810 }
811
812 .smart-post-global-current-content {
813 padding: 3px;
814 border: 1px solid #ddd;
815 border-radius: 2px;
816 }
817
818 .smart-post-global-color-preset {
819 display: flex;
820 margin-top: 30px;
821 }
822
823 .smart-post-global-current-content.selected {
824 border-color: #ff5b2e;
825 }
826
827 .smart-post-custom-color-item {
828 display: flex;
829 align-items: center;
830 gap: 8px;
831 padding: 8px;
832 background: #f6f7f7;
833 border-radius: 4px;
834 }
835
836 .smart-post-custom-color-preview {
837 width: 24px;
838 height: 24px;
839 border-radius: 4px;
840 }
841
842 .smart-post-custom-color-name {
843 flex: 1;
844 font-size: 13px;
845 }
846
847 .smart-post-gradient-presets {
848 display: grid;
849 grid-template-columns: repeat(2, 1fr);
850 gap: 12px;
851 margin: 16px 0;
852 }
853
854 .smart-post-gradient-preset {
855 height: 60px;
856 border-radius: 4px;
857 cursor: pointer;
858 display: flex;
859 align-items: center;
860 justify-content: center;
861 color: white;
862 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
863 font-size: 12px;
864 text-align: center;
865 padding: 8px;
866 }
867
868 .smart-post-gradient-preview {
869 height: 60px;
870 border-radius: 4px;
871 margin: 16px 0;
872 }
873
874 // section heading block css
875 .sp-smart-post-section-heading-block-panel-body {
876
877 .sp-smart-post-select-dropdown-option.active:hover,
878 .sp-smart-post-select-dropdown-option.active {
879 svg {
880 fill: #2f2f2f;
881 }
882
883 g[fill="#F05D31"]="#F05D31""] {
884 fill: #fff;
885 }
886
887 rect[fill="#F05D31"]="#F05D31""] {
888 fill: #fff;
889 }
890
891 path[fill="#F05D31"]="#F05D31""] {
892 fill: #fff;
893 }
894
895 path[fill="#fff"]="#fff""] {
896 fill: #2f2f2f;
897 }
898 }
899 }
900
901 .editor-styles-wrapper a.sp-social-profile-item-wrapper,
902 a.sp-social-profile-item-wrapper {
903 display: block;
904 text-decoration: none;
905 position: relative;
906 }
907
908 .sp-block-is-selected {
909 outline: 1.5px solid #007cba;
910 }
911
912 .sp-table-of-content-toc {
913 position: static !important;
914 width: 100% !important;
915 }
916
917 // Meta field design
918 #sp_post_video_box .postbox-header h2,
919 #sp_post_video_box .inside {
920 padding-left: 16px !important;
921 padding-right: 16px !important;
922 }
923 .sp-smart-meta-title {
924 white-space: nowrap;
925 }
926 .sp-gallery-preview-images {
927 position: relative;
928 }
929 span.sp-gallery-remove-img {
930 position: absolute;
931 right: -5px;
932 top: -4px;
933 padding: 5px;
934 background: red;
935 border-radius: 50%;
936 color: #fff;
937 line-height: 7px;
938 cursor: pointer;
939 opacity: 0;
940 visibility: hidden;
941 transition: all .3s;
942 }
943 .sp-gallery-preview-images:hover span.sp-gallery-remove-img {
944 opacity: 1;
945 visibility: visible;
946 }
947 .sp-smart-video-metabox {
948 span {
949 font-size: 13px;
950 font-weight: 500;
951 }
952 &-input {
953 display: flex;
954 margin-top: 6px;
955 position: relative;
956
957 input {
958 width: 100%;
959 height: 32px;
960 border: 1px solid #ddd;
961 padding-right: 54px;
962
963 &:focus {
964 outline: none;
965 box-shadow: none;
966 border-color: #ddd;
967 }
968 }
969
970 .sp-smart-upload-video-btn {
971 position: absolute;
972 right: 0;
973 top: 0;
974 height: 100%;
975 background-color: var(--sp-smart-primary-2-600);
976 color: #fff;
977 border: none;
978 width: 40px;
979 border-top-left-radius: 0;
980 border-bottom-left-radius: 0;
981 cursor: pointer;
982 }
983 }
984
985 &-note {
986 font-size: 11px;
987 font-style: italic;
988 font-weight: 400;
989 line-height: 20px;
990 color: #949494;
991 margin: 5px 0 8px;
992 display: inline-block;
993 }
994 }
995 .sp-gallery-metabox {
996 .sp-gallery-preview {
997 display: grid;
998 grid-template-columns: repeat(3, 1fr);
999 gap: 16px;
1000
1001 img {
1002 border-radius: 2px;
1003 }
1004 }
1005 .sp-upload-gallery {
1006 border: none;
1007 text-align: left;
1008 background: transparent;
1009 margin-top: 10px;
1010 font-size: 13px;
1011 font-weight: 400;
1012 color: #2271B1;
1013 text-decoration: underline;
1014 cursor: pointer;
1015 img {
1016 border-radius: 2px;
1017 }
1018 }
1019 .sp-upload-gallery {
1020 border: none;
1021 text-align: left;
1022 background: transparent;
1023 margin-top: 10px;
1024 font-size: 13px;
1025 font-weight: 400;
1026 color: #2271b1;
1027 text-decoration: underline;
1028 }
1029 }
1030 .sp-smart-dash-block-btn {
1031 display: flex;
1032 justify-content: center;
1033 padding: 10px 15px;
1034 text-decoration: none;
1035 background: var(--sp-smart-primary-2-600);
1036 color: #fff !important;
1037 margin-top: 15px;
1038 border-radius: 4px;
1039 gap: 10px;
1040 }
1041 .sp-smart-post-modules-notes {
1042 color: #2f2f2f;
1043 font-family: Roboto;
1044 font-size: 12px;
1045 font-style: normal;
1046 font-weight: 400;
1047 line-height: 16px;
1048 a {
1049 color: #757575;
1050 font-weight: 600;
1051 text-decoration: underline;
1052 }
1053 }
1054 .sp-smart-post-popup-wrapper {
1055 width: 350px;
1056 background-color: #ffffff;
1057 // padding: 20px;
1058 .sp-smart-post-popup-content-area {
1059 width: 100%;
1060 }
1061 }
1062 .sp-smart-post-popup-wrapper:has(.sp-smart-global-shadow-wrapper) {
1063 width: 100%;
1064 padding: 0;
1065 }
1066
1067 .sp-table-of-content-toc {
1068 position: static !important;
1069 transform: translateY(0%) !important;
1070 }
1071
1072 .sp-smart-help-text {
1073 font-size: 11px;
1074 font-style: italic;
1075 font-weight: 400;
1076 line-height: 20px;
1077 color: #949494;
1078 position: static !important;
1079 transform: translateY(0%) !important;
1080 }
1081
1082 .rfm-marquee-container {
1083 overflow-x: hidden;
1084 display: flex;
1085 flex-direction: row;
1086 position: relative;
1087 width: var(--width);
1088 transform: var(--transform);
1089 }
1090
1091 .rfm-marquee {
1092 flex: 0 0 auto;
1093 min-width: var(--min-width);
1094 z-index: 1;
1095 display: flex;
1096 flex-direction: row;
1097 align-items: center;
1098 animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
1099 animation-play-state: var(--play);
1100 animation-delay: var(--delay);
1101 animation-direction: var(--direction);
1102 }
1103 .rfm-initial-child-container {
1104 flex: 0 0 auto;
1105 display: flex;
1106 min-width: auto;
1107 flex-direction: row;
1108 align-items: center;
1109 }
1110 .rfm-marquee-container:hover div {
1111 animation-play-state: var(--pause-on-hover);
1112 }
1113 .editor-styles-wrapper .is-root-container .sp-smart-post-smart-lists-wrapper a,
1114 .editor-styles-wrapper .is-root-container .sp-smart-post-wrapper a {
1115 text-decoration: none;
1116 }
1117 .editor-styles-wrapper .is-root-container .wp-block-sp-smart-post-show-smart-post-parent a {
1118 text-decoration: none;
1119 }
1120
1121 // @media screen and (max-width: 767px) {
1122 // .block-editor-block-list__layout > div {
1123 // max-width: 100% !important;
1124 // }
1125 // }
1126 .sp-smart-post-title-badges-style-tab-wrapper {
1127 padding: 20px;
1128 }
1129 .sp-smart-post-title-wrapper {
1130 display: flex;
1131 }
1132 .sp-smart-post-title-badges-style-tab-wrapper {
1133 .sp-smart-post-popup-content-area {
1134 padding: 18px;
1135 }
1136 }