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

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

110 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // tab panel customization
2 .sp-smart-post-tab-panel {
3 &-header {
4 background: linear-gradient(90deg, var(--sp-smart-primary-2-600) 0%, var(--sp-smart-primary-2-400) 65.02%);
5 color: #fff;
6 display: flex;
7 justify-content: space-between;
8 align-items: center;
9 padding: 0 15px;
10 }
11
12 &-title {
13 display: flex;
14 align-items: center;
15 gap: 5px;
16 }
17
18 .sp-smart-post-tab-panel-header {
19 height: 50px;
20 }
21 .components-panel__body {
22 transition: box-shadow 0.6s ease;
23 }
24 .components-panel__body.is-opened {
25 padding: 16px;
26 scroll-margin-top: unset;
27 }
28
29 &.sp-flash {
30 .components-panel__body.is-opened {
31 position: relative;
32 padding: 16px;
33 scroll-margin-top: 51px;
34 // animation: fadeBoxShadow 1s forwards;
35 // animation-delay: 1s;
36 &::before {
37 content: '';
38 position: absolute;
39 top: 0;
40 left: 0;
41 width: 100%;
42 height: 100%;
43 animation: fadeBoxShadow 1s forwards;
44 animation-delay: 1s;
45 pointer-events: none;
46 }
47 }
48 }
49
50 @keyframes fadeBoxShadow {
51 0% {
52 box-shadow: inset 0 0 0 2px #037fff;
53 }
54 100% {
55 box-shadow: inset 0 0 0 0 transparent;
56 }
57 }
58 .sp-smart-post-tab-panel-header-btn-wrapper {
59 padding: 0 18px 18px;
60
61 .sp-smart-post-btn-group {
62 display: flex;
63 flex-direction: row;
64 gap: 8px;
65
66 .sp-btn-item {
67 display: flex;
68 padding: 13px 7px;
69 justify-content: center;
70 align-items: center;
71 flex: 1 0 0;
72 align-self: stretch;
73 color: #FFF;
74 font-size: 13px;
75 font-style: normal;
76 font-weight: 600;
77 line-height: 14px;
78 text-decoration: none;
79 cursor: pointer;
80 user-select: none;
81
82 &.sp-ready-patterns {
83 border-radius: 4px;
84 border: 1px solid #1A74E4;
85 background: #1A74E4;
86 transition: all 0.3s ease-in-out;
87 &:hover {
88 border: 1px solid #1b63d2;
89 background: #1b63d2;
90 }
91 }
92 &.sp-block-preview {
93 border-radius: 4px;
94 border: 1px solid var(--sp-smart-primary-2-600);
95 background: var(--sp-smart-primary-2-600);
96 transition: all 0.3s ease-in-out;
97 &:hover {
98 border: 1px solid var(--sp-smart-primary-2-700);
99 background: var(--sp-smart-primary-2-700);
100 }
101 }
102 &:focus {
103 box-shadow: none;
104 outline: none;
105 }
106 }
107 }
108 }
109 }
110