PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.3
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.3
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 / admin / styles / _modules.scss

_modules.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.3, at src/admin/styles/_modules.scss

376 lines 7.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Modules Popup Settings.
2 body.show-module-sidebar-popup {
3 position: relative;
4 overflow-y: hidden;
5 }
6 body.show-module-sidebar-popup::after {
7 content: '';
8 position: absolute;
9 visibility: visible;
10 background-color: #000000a3;
11 top: 0;
12 left: 0;
13 width: 100%;
14 height: 150%;
15 z-index: 9;
16 opacity: 1;
17 }
18
19 .sp-smart-post-modules-popup-settings-wrapper {
20 display: flex;
21 position: fixed;
22 max-width: 1800px;
23 height: 90%;
24 width: 90%;
25 top: 50%;
26 left: 50%;
27 background-color: #FFF;
28 z-index: 9999;
29 transform: translate(-50%, -49%);
30
31 .sp-smart-post-modules-popup-settings-container {
32 overflow: hidden;
33 width: 100%;
34 }
35
36 .sp-smart-post-sidebar-popup-header {
37 display: flex;
38 flex-direction: column;
39 align-items: center;
40 padding: 12px 32px;
41 background-color: #F0F0F0;
42 border-bottom: 1px solid #DDD;
43 .sp-smart-post-sidebar-popup-heading-top {
44 display: flex;
45 flex-direction: row;
46 justify-content: space-between;
47 align-items: center;
48 width: 100%;
49
50 .sp-smart-post-sidebar-title {
51 color: #2C2D2F;
52 font-size: 18px;
53 font-style: normal;
54 font-weight: 600;
55 line-height: 28px;
56 }
57 }
58 .sp-smart-post-sidebar-popup-close {
59 font-size: 20px;
60 line-height: 1.2;
61 padding: 8px 0 4px;
62 color: #1e1e1e;
63 cursor: pointer;
64 svg path {
65 stroke-width: 2px;
66 }
67 &:hover {
68 color: rgb(255, 136, 0);
69 svg path {
70 stroke: rgb(255, 136, 0);
71 }
72 }
73 }
74 }
75
76 .sp-smart-post-module-popup-sidebar-container {
77 display: flex;
78 flex-direction: column;
79 justify-content: space-between;
80 border-left: 1px solid #ddd;
81
82 .sp-smart-post-module-popup-sidebar-save-btn {
83 display: flex;
84 justify-content: center;
85 align-items: center;
86 height: 50px;
87 padding: 10px 24px;
88 gap: 10px;
89 align-self: stretch;
90 border: 1px solid var(--sp-smart-primary-2-600);
91 border-radius: 2px;
92 color: #FFF;
93 font-size: 16px;
94 font-style: normal;
95 font-weight: 500;
96 line-height: 130%;
97 background: var(--sp-smart-primary-2-600);
98 cursor: pointer;
99 transition: background 0.3s;
100 &:hover {
101 color: #FFF;
102 background: var(--sp-smart-primary-2-700);
103 }
104 .sp-smart-post-module-popup-sidebar-save-btn-spinner {
105 height: 16px;
106 svg {
107 margin: 0;
108 height: inherit;
109 }
110 }
111 &.is-disabled {
112 opacity: 0.7;
113 cursor: not-allowed;
114 pointer-events: none;
115 }
116 }
117 }
118 .sp-smart-post-module-popup-sidebar-wrapper {
119 max-width: 320px;
120 width: 300px;
121 overflow-y: auto;
122 overflow-x: hidden;
123
124 .components-panel__body-title {
125 background-color: #F0F0F0;
126 }
127 .sp-smart-post-tab-panel {
128 padding-top: 12px;
129 }
130
131 .sp-smart-post-sidebar-popup-heading-bottom {
132 display: flex;
133 flex-direction: row;
134 height: 43px;
135 }
136 }
137 .sp-smart-post-modules-popup-settings-content-wrapper {
138 padding: 24px 32px;
139 }
140 .sp-smart-post-sidebar-popup-content {
141 display: flex;
142 flex-direction: row;
143 column-gap: 0;
144 height: calc( 100% - 100px );
145 border-bottom: 1px solid #ddd;
146 }
147 .sp-smart-post-module-popup-preview-wrapper {
148 width: calc( 100% - 280px );
149 padding: 50px;
150 display: flex;
151 flex-direction: column;
152 align-items: center;
153 justify-content: center;
154 }
155 }
156
157 .sp-smart-post-toggle-button-group .sp-module-arrow-icon button svg {
158 fill: none;
159 }
160
161 .sp-smart-post-component-mb {
162 margin-bottom: 16px;
163 }
164
165 // Module Preview CSS.
166 #sp-smart-post-back-to-top-btn.sp-smart-post-back-to-top-wrapper {
167 position: static !important;
168
169 .sp-smart-post-back-to-top-button {
170 display: flex;
171 align-items: center;
172 justify-content: center;
173 gap: 8px;
174
175 .sp-smart-post-back-to-top-icon {
176 display: inline-block;
177 svg {
178 width: inherit;
179 height: inherit;
180 }
181 }
182 }
183 }
184 .sp-smart-post-module-popup-sidebar-wrapper.sp-smart-post-tab-panel {
185 .sp-smart-post-component-title {
186 margin-bottom: 8px;
187 }
188 .sp-smart-post-input-control {
189 .components-input-base {
190 height: 34px;
191 }
192 }
193 .components-input-base.components-select-control {
194 height: 34px;
195 .components-input-control__backdrop {
196 border-color: #DDD;
197 }
198 }
199 }
200 .sp-pcp-blocks-setting-saved-template-table-body {
201 min-height: 55px;
202
203 .sp-pcp-saved-template-preloader-no-data,
204 .sp-pcp-saved-template-loading {
205 display: flex;
206 align-items: center;
207 justify-content: center;
208 width: 100%;
209
210 svg {
211 width: 30px;
212 height: 30px;
213 }
214 }
215 }
216
217 @media screen and (max-width: 768px) {
218 .sp-pcp-blocks-setting-saved-template-page .sp-pcp-blocks-setting-saved-template-header .sp-pcp-blocks-setting-template-header-left .sp-pcp-blocks-setting-template-search .sp-pcp-blocks-setting-template-search-field {
219 width: 90%;
220 }
221 }
222
223
224 .sp-pcp-saved-template-promo {
225 background: #ffffff;
226 border: 1px solid #ddd;
227 border-radius: 6px;
228 display: flex;
229 align-items: center;
230 gap: 150px;
231 padding: 30px 48px;
232 margin-top: 24px;
233
234 &__text {
235 flex: 1 0 0;
236 min-width: 0;
237 display: flex;
238 flex-direction: column;
239 justify-content: center;
240 align-items: flex-start;
241 gap: 36px;
242 padding: 24px 0;
243 overflow: hidden;
244 }
245
246 &__title-wrap {
247 display: flex;
248 flex-direction: column;
249 align-items: flex-start;
250 gap: 16px;
251 width: 100%;
252 word-break: break-word;
253 }
254
255 &__title {
256 color: #2c2d2f;
257 font-size: 24px;
258 font-weight: 600;
259 line-height: 1.3;
260 margin: 0;
261 width: 100%;
262 white-space: pre-wrap;
263 }
264
265 &__title-accent {
266 background: linear-gradient(90deg, var(--sp-smart-primary-2-400) 0%, var(--sp-smart-primary-2-500) 100%);
267 -webkit-background-clip: text;
268 background-clip: text;
269 -webkit-text-fill-color: transparent;
270 color: transparent;
271 }
272
273 &__desc {
274 color: #4e4f52;
275 font-size: 14px;
276 font-weight: 400;
277 line-height: 20px;
278 margin: 0;
279 width: 100%;
280
281 strong {
282 font-weight: 700;
283 }
284 }
285
286 &__cta {
287 background: var(--sp-smart-primary-2-600);
288 border-radius: 4px;
289 color: #ffffff;
290 cursor: pointer;
291 display: inline-flex;
292 align-items: center;
293 justify-content: center;
294 font-size: 16px;
295 font-weight: 500;
296 line-height: 28px;
297 padding: 10px 24px;
298 text-decoration: none;
299 transition: background 0.2s ease-in-out;
300 white-space: nowrap;
301 gap: 5px;
302
303 &:hover,
304 &:focus {
305 background: var(--sp-smart-primary-2-700);
306 color: #ffffff;
307 }
308 }
309
310 &__video {
311 flex-shrink: 0;
312 position: relative;
313 width: 400px;
314 max-width: 100%;
315 aspect-ratio: 1920 / 1080;
316 border-radius: 4px;
317 overflow: hidden;
318 }
319
320 &__video-thumb {
321 all: unset;
322 position: relative;
323 display: block;
324 width: 100%;
325 height: 100%;
326 cursor: pointer;
327 background-color: #F26C0D;
328 background-position: center;
329 background-size: cover;
330 background-repeat: no-repeat;
331 }
332
333 &__video-overlay {
334 position: absolute;
335 inset: 0;
336 background: rgba(0, 0, 0, 0.3);
337 }
338
339 &__video-play {
340 position: absolute;
341 top: 50%;
342 left: 50%;
343 transform: translate(-50%, -50%);
344 width: 60px;
345 height: 60px;
346 border-radius: 50%;
347 background: #ffffff;
348 display: flex;
349 align-items: center;
350 justify-content: center;
351 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
352
353 svg {
354 margin-left: 3px;
355 }
356 }
357
358 &__video-frame {
359 width: 100%;
360 height: 100%;
361 border: 0;
362 }
363 }
364
365 @media (max-width: 960px) {
366 .sp-pcp-saved-template-promo {
367 flex-direction: column;
368 gap: 32px;
369 padding: 32px;
370
371 &__video {
372 width: 100%;
373 }
374 }
375 }
376