PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 1.0.0
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v1.0.0
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / src / styles / style.scss

style.scss in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites 1.0.0, at src/styles/style.scss

477 lines 9.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 .blockspare-blocks .slick-slider .slick-slide:focus,
3 .blockspare-blocks .slick-slider .slick-item{text-align:center;outline:none;}
4 .blockspare-blocks .slick-slider .slick-item img{margin: 0 auto;}
5
6 .blockspare-blocks .slick-slider ul.slick-dots{
7 list-style:none;
8 text-align:center;
9 }
10 .blockspare-blocks .slick-slider ul.slick-dots li{
11 display: inline-block;
12 margin: 5px;
13 line-height: 1;
14 vertical-align: middle;
15 font-size: 0;
16 }
17 .blockspare-blocks .slick-slider ul.slick-dots li button{
18 font-size:0;
19 height:16px;
20 width:16px;
21 border-radius:50%;
22 outline:none;
23 color:inherit;
24 border:2px solid;
25 padding:0;
26 position:relative;
27 background-color:transparent;
28 -webkit-transition: all 0.2s ease;
29 transition: all 0.2s ease;
30 }
31 .blockspare-blocks .slick-slider ul.slick-dots li button:after{
32 content:'';
33 position:absolute;
34 top:50%;
35 left:50%;
36 transform: translate(-50%, -50%);
37 height:8px;
38 width:8px;
39 border-radius:50%;
40 border:2px solid;
41 -webkit-transition: all 0.2s ease;
42 transition: all 0.2s ease;
43 }
44 .blockspare-blocks .slick-slider ul.slick-dots li.slick-active button{
45 height:20px;
46 width:20px;
47 }
48 .blockspare-blocks .slick-slider ul.slick-dots li.slick-active button:after{
49 height:10px;
50 width:10px;
51 border:5px solid;
52 }
53 .blockspare-blocks .slick-slider .slick-arrow{
54 position:relative;
55 width: 35px;
56 height: 35px;
57 line-height:35px;
58 font-size:20px;
59 text-align: center;
60 background-color:transparent;
61 background-color: rgba(0,0,0,0.3);
62 color:inherit;
63 outline:none;
64 border:none;
65 visibility: hidden;
66 opacity: 0;
67 -webkit-transform: scale(0.7);
68 -ms-transform: scale(0.7);
69 transform: scale(0.7);
70 -webkit-transition: 0.4s;
71 -o-transition: 0.4s;
72 transition: 0.4s;
73 }
74 .blockspare-blocks .slick-slider:hover .slick-arrow{
75 opacity: 1;
76 visibility: visible;
77 -webkit-transform: translateY(-50%) scale(1);
78 -ms-transform: translateY(-50%) scale(1);
79 transform: translateY(-50%) scale(1);
80 }
81
82
83 /* BS slider navigation sizes */
84
85 .blockspare-blocks.blockspare-navigation-small .slick-slider .slick-arrow{
86 width: 35px;
87 height: 35px;
88 line-height: 35px;
89 font-size: 20px;
90 }
91 .blockspare-blocks.blockspare-navigation-medium .slick-slider .slick-arrow{
92 width: 40px;
93 height: 40px;
94 line-height: 40px;
95 font-size: 26px;
96 }
97 .blockspare-blocks.blockspare-navigation-large .slick-slider .slick-arrow{
98 width: 50px;
99 height: 50px;
100 line-height: 50px;
101 font-size: 32px;
102 }
103
104 /* BS slider navigation sizes */
105
106
107 /*for common titles*/
108
109 .blockspare-section-head-wrap .editor-rich-text .blockspare-title,
110 .blockspare-section-head-wrap .blockspare-title{
111 line-height:1.4;
112 margin: 10px 0 15px;
113 }
114 .blockspare-section-head-wrap .editor-rich-text div.blockspare-subtitle,
115 .blockspare-section-head-wrap div.blockspare-subtitle{
116 line-height: 1.4;
117 margin: 0 0 5px;
118 }
119 /*for common titles*/
120
121
122 /*for gallery item move and remove*/
123
124 .blockspare-blocks figure.blockspare-gallery-figure.is-selected{
125 position:relative;
126 }
127 .blockspare-blocks figure.blockspare-gallery-figure.is-selected .components-blockspare-gallery-item__remove-menu,
128 .blockspare-blocks figure.blockspare-gallery-figure.is-selected .components-blockspare-gallery-item__move-menu {
129 position: absolute;
130 z-index:1;
131 }
132
133 .blockspare-blocks figure.blockspare-gallery-figure.is-selected .components-blockspare-gallery-item__move-menu {
134 top: 0;
135 right: 26px;
136 display: flex;
137 justify-content: space-between;
138 }
139 .blockspare-blocks figure.blockspare-gallery-figure.is-selected .components-blockspare-gallery-item__remove-menu{
140 right: 0;
141 top: 0;
142 }
143 .blockspare-blocks figure.blockspare-gallery-figure.is-selected .components-blockspare-gallery-item__remove-menu .blockspare-gallery-item-button,
144 .blockspare-blocks figure.blockspare-gallery-figure.is-selected .components-blockspare-gallery-item__move-menu .blockspare-gallery-item-button{
145 color: #fff;
146 border-radius: 0;
147 padding: 3px;
148 background: #3c1a5b;
149 background: linear-gradient(79deg, #3c1a5b 0%, #8b249c 100%);
150 }
151
152 .components-blockspare-gallery-item-image-link {
153 -webkit-box-align: center;
154 -ms-flex-align: center;
155 align-items: center;
156 background: #3c1a5b;
157 background: linear-gradient(79deg, #3c1a5b 0%, #8b249c 100%);
158 bottom: 0;
159 display: -webkit-box;
160 display: -ms-flexbox;
161 display: flex;
162 -ms-flex-wrap: wrap;
163 flex-wrap: wrap;
164 font-size: 13px;
165 left: 0;
166 line-height: 1.4;
167 position: absolute;
168 right: 0;
169 z-index: 20;
170 }
171 /*for gallery item move and remove*/
172
173 .blockspare-add-more-item{
174 display: flex;
175 justify-items: center;
176 }
177 .blockspare-add-more-item .components-button{
178 display: flex;
179 align-items: center;
180 padding: 8px;
181 margin: 0 auto;
182 border: none;
183 background: none;
184 color: #555d66;
185 background-color: #fff;
186 position: relative;
187 overflow: hidden;
188 border-radius: 4px;
189 }
190
191
192 /* admin dashboard =====================================================*/
193
194 body.toplevel_page_blockspare #wpcontent {
195 padding-left: 0;
196 }
197
198 .wrap.blockspare-wrap{
199 margin: 0;
200 }
201
202 .blockspare-separator{}
203 .blockspare-separator .blockspare-separator-double-wave{
204 transform: scaleX(1) scaleY(1);
205 fill: #3c1a5b;
206
207 .st0{opacity: 0.22;}
208 .st1{opacity: 0.35;}
209 }
210
211
212
213 .blockspare-header{
214 background: #3c1a5b;
215 background-repeat: no-repeat;
216 background-position: center;
217 background-attachment: fixed;
218 background-size: cover;
219 display: flex;
220 flex-direction: row;
221 justify-content: space-between;
222 align-items: center;
223 padding: 50px;
224
225 padding-bottom: 180px;
226 margin-bottom: 50px;
227 position: relative;
228 background-image: url('images/banner.jpg');
229
230
231 h1{
232 text-transform: uppercase;
233 font-size: 2.5rem;
234 font-weight: 700;
235 }
236
237 h2{
238 font-size: 2rem;
239 }
240
241 h1, h2{
242 color: #fff;
243 margin-bottom: 20px;
244 }
245
246 .blockspare-separator {
247 position: absolute;
248 width: 100%;
249 left: 0;
250 bottom: -15px;
251 line-height: 1;
252
253 .blockspare-separator-double-wave{
254 fill: #f1f1f1;
255
256 .st0{opacity: 0.22;}
257 .st1{opacity: 0.35;}
258 }
259 }
260
261 }
262
263
264 .blockspare-main-container{
265 padding: 0 50px;
266
267 article{
268 display: grid;
269 grid-template-columns: 1fr 1fr;
270
271
272 h2{
273 font-size: 46px;
274 line-height: 3.5rem;
275 margin: 10px 0;
276 }
277
278 }
279
280 }
281
282
283
284 .blockspare-common-header-wrapper{
285 padding: 30px 0 15px;
286 .blockspare-subtitle{
287 position: relative;
288 padding-top: 15px;
289
290 &:before{
291 position: absolute;
292 content: "";
293 top: 0;
294 left: 0;
295 width: 60px;
296 height: 3px;
297 background-color: #8b249c;
298 }
299 }
300 h3{
301 font-size: 46px;
302 line-height: 2.5rem;
303 margin: 10px 0;
304 }
305
306
307 }
308
309
310 .blockspare-body-container{
311 display: grid;
312 grid-template-columns: 1fr 0.5fr;
313 grid-gap: 30px;
314 padding: 50px;
315 padding-top: 0;
316
317 ul.blockspare-premium-features{
318 list-style: disc;
319 padding: 15px;
320 }
321
322 }
323
324 .blockspare-body-container h3
325 {
326 font-size: 32px;
327 }
328
329 .blockspare-body-container aside h3
330 {
331 font-size: 24px;
332 margin: 15px 30px 30px 0px;
333
334 }
335
336 .blockspare-body-container h4{
337 font-size: 16px;
338 }
339
340 .blockspare-main-container article,
341 .blockspare-body-container article,
342 .blockspare-body-container aside
343 {
344 border-radius: 20px;
345 }
346
347 .blockspare-intro ,
348 .blockspare-section{
349 padding: 30px;
350 border-bottom: 1px solid;
351 border-color: #f1f1f1;
352 background-color: #fff;
353 margin-bottom: 30px;
354 }
355
356 .blockspare-section:last-child{border-bottom: none;}
357
358 .blockspare-side-sticky{
359 position: sticky;
360 top: 0;
361 }
362
363 .blocksparea-all-blocks-button{
364 margin: 30px 0;
365 text-align: center;
366 }
367
368 .blockspare-intro-col.blockspare-intro-desc {
369 padding-right: 30px;
370 }
371
372 .blockspare-intro-col.blockspare-intro-img p{
373 float: right;
374 }
375
376 .blockspare-intro-col.blockspare-intro-img img{
377 width: 100%;
378 }
379
380 .blockspare-main-container .blockspare-button,
381 .blockspare-body-container .blockspare-button
382 {
383 margin: 15px 0 0;
384 text-align: center;
385 font-size: 14px;
386 line-height: 1 !important;
387 background-color: #8b249c;
388 border: none;
389 border-radius: 50px;
390 -webkit-box-shadow: none;
391 box-shadow: none;
392 color: #fff;
393 cursor: pointer;
394 padding: 1em 2em;
395 text-decoration: none;
396 word-break: break-word;
397 -webkit-transition: .3s ease;
398 -o-transition: .3s ease;
399 transition: .3s ease;
400 display: inline-block;
401 border-width: 3px;
402 }
403 .blockspare-button:hover {
404 background-color: #3b1a5b;
405 color: #fff;
406 }
407
408 .blockspare-available-blocks-wrapper {
409 display: grid;
410 grid-gap: 30px;
411 margin-top: 40px;
412 grid-template-columns: 1fr 1fr 1fr;
413
414 .blockspare-available-blocks{
415 text-align: center;
416 padding: 30px 20px;
417 border: 1px solid;
418 background-color: #fff;
419 border-color: rgba(241,241,241,0.5);
420 border-radius: 5px;
421 box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.1);
422 -webkit-transition: all 0.4s ease;
423 transition: all 0.4s ease;
424
425 &:hover{
426
427 box-shadow: 0 1px 5px -2px rgba(0,0,0,0.3);
428 transform: translateY(-2px);
429
430 img{
431 filter: grayscale(0);
432 }
433 }
434
435 img{
436 width: 100px;
437 width: 70px;
438 //filter: grayscale(1);
439 -webkit-transition: all 0.4s ease;
440 transition: all 0.4s ease;
441 }
442 h3{
443 margin-bottom: 5px;
444
445 }
446
447 }
448
449 .blockspare-explore-btn{
450 text-decoration: none;
451 color: #404040;
452 display: inline-block;
453 }
454 }
455
456 .blockspare-premium-section.video-section{
457 .blockspare-video{width: 100%;}
458 }
459
460 @media only screen and (max-width: 1024px) {
461 .blockspare-available-blocks-wrapper,
462 .blockspare-main-container article,
463 .blockspare-body-container
464 {
465 grid-template-columns: 1fr;
466 }
467
468 .wrap.blockspare-wrap .blockspare-header,
469 .wrap.blockspare-wrap .blockspare-header{
470 display: block;
471 width: 100%;
472 text-align: center;
473 }
474 }
475
476
477 /* admin dashboard =====================================================*/