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 / post-slider-two / style.scss

style.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/blocks/post-slider-two/style.scss

183 lines 4.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-slider-two {
2 .sp-smart-post-background-layout {
3 &.post-slider-two-layout-three {
4 .sp-smart-post-card {
5 background: transparent !important;
6 // img {
7 // width: unset !important;
8 // max-width: 100%;
9 // }
10 }
11 }
12
13 .sp-smart-post-card {
14 .sp-smart-post-template-one-content {
15 display: flex;
16 flex-direction: row;
17
18 .sp-smart-post-card-content {
19 display: flex;
20 flex-direction: column;
21 justify-content: center;
22 }
23 }
24 }
25 }
26
27 .sp-h-left {
28 .sp-smart-post-template-one-content {
29 justify-content: flex-start;
30 }
31 }
32
33 .sp-h-center {
34 .sp-smart-post-template-one-content {
35 justify-content: center;
36 }
37 }
38
39 .sp-h-right {
40 .sp-smart-post-template-one-content {
41 justify-content: flex-end;
42 }
43 }
44
45 .sp-v-left {
46 .sp-smart-post-template-one-content {
47 align-items: flex-start;
48 }
49 }
50
51 .sp-v-center {
52 .sp-smart-post-template-one-content {
53 align-items: center;
54 }
55 }
56
57 .sp-v-right {
58 .sp-smart-post-template-one-content {
59 align-items: flex-end;
60 }
61 }
62
63 .sp-smart-post-background-layout {
64 .sp-smart-post-card.overlay-type-box .image-overlay {
65 width: 100% !important;
66 height: 100% !important;
67 left: 0 !important;
68 top: 0 !important;
69 }
70 }
71
72 .sp-smart-post-swiper-nav-arrow {
73 padding: 0 30px;
74 }
75 }
76
77 .sp-smart-post-wrapper.sp-smart-post-slider-two.sp-pagination {
78 padding-bottom: 40px;
79
80 .sp-smart-post-slider-two {
81 .post-slider-two-layout-three+.sp-smart-post-swiper-nav-arrow {
82 top: calc(100% - 190px);
83 left: calc(100% - 80px);
84 padding: 0;
85 }
86 }
87 }
88
89 @media screen and (max-width: 767px) {
90 .sp-smart-post-slider-two .sp-smart-post-swiper-nav-arrow {
91 padding: 0px 0px;
92 }
93
94 .sp-smart-post-wrapper.sp-smart-post-slider-two.sp-pagination {
95 padding-bottom: 40px;
96
97 .sp-smart-post-slider-two {
98 .post-slider-two-layout-three+.sp-smart-post-swiper-nav-arrow {
99 top: calc(100% - 190px);
100 left: calc(100% - 80px);
101 padding: 0;
102 }
103 }
104 }
105 }
106
107
108
109 // // title animate effect..................................................
110 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title {
111 position: relative;
112 display: inline-block;
113 }
114
115 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:after {
116 content: "";
117 position: absolute;
118 transition: width 0.6s ease;
119 }
120
121 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title::before {
122 content: "";
123 position: absolute;
124 transition: width 0.6s ease;
125 }
126
127
128 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title .line {
129 position: relative;
130 display: inline-block;
131 padding-bottom: 2px;
132 }
133
134 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title .line::after {
135 content: '';
136 position: absolute;
137 bottom: 0;
138 left: 0;
139 width: 100%;
140 // height: 2px;
141 // background: linear-gradient(90deg, #ff416c, #ff4b2b);
142 // transform-origin: left;
143 transform: scaleX(0);
144 transition: transform 0.4s ease;
145 z-index: -1;
146 }
147
148 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line::after {
149 transform: scaleX(1);
150 }
151
152 /* Using :nth-of-type to target only .line elements */
153 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(1)::after {
154 transition-delay: 0s;
155 }
156
157 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(2)::after {
158 transition-delay: 0.2s;
159 }
160
161 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(3)::after {
162 transition-delay: 0.4s;
163 }
164
165 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(4)::after {
166 transition-delay: 0.6s;
167 }
168
169 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(5)::after {
170 transition-delay: 0.8s;
171 }
172
173 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(6)::after {
174 transition-delay: 1s;
175 }
176
177 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(7)::after {
178 transition-delay: 1.2s;
179 }
180
181 .sp-smart-post-slider-two .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(8)::after {
182 transition-delay: 1.4s;
183 }