PluginProbe
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets / trunk
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets vtrunk
4.5.4 4.2.1 4.2.2 4.2.3 4.5.0 4.5.2 4.5.3 4.2.0 4.1.18 4.1.17 4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 All 146 releases
ultimate-post-kit / assets / css / upk-timeline.css

upk-timeline.css in Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets trunk, at assets/css/upk-timeline.css

392 lines 10.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 :root {
2 --upk-border-width: 30px;
3 --upk-image-width: 420px;
4 --upk-image-spacing: 30px;
5 }
6
7 .upk-timeline .upk-wrapper {
8 padding: 40px 0 20px 0;
9 }
10 .upk-timeline .upk-item {
11 position: relative;
12 }
13 .upk-timeline .upk-item-box {
14 display: flex;
15 }
16 .upk-timeline .upk-start-end-wrap {
17 position: absolute;
18 width: 60px;
19 height: 60px;
20 text-transform: uppercase;
21 color: #2B2D42;
22 background: #ffffff;
23 font-weight: 700;
24 font-size: 12px;
25 border-radius: 15px;
26 border: calc(var(--upk-border-width) / 6) solid var(--upk-line-color, #8D99AE);
27 }
28 .upk-timeline .upk-start-end-wrap .upk-start,
29 .upk-timeline .upk-start-end-wrap .upk-end {
30 display: none;
31 position: absolute;
32 top: 50%;
33 left: 50%;
34 transform: translate(-50%, -50%);
35 }
36 .upk-timeline .upk-date-wrapper {
37 background: #ffffff;
38 width: 90px;
39 height: 90px;
40 text-align: center;
41 border: calc(var(--upk-border-width) / 3) solid var(--upk-line-color, #8D99AE);
42 position: absolute;
43 top: calc(-45px + var(--upk-border-width) / 2);
44 color: #2B2D42;
45 border-radius: 15px;
46 z-index: 111;
47 display: none;
48 }
49 .upk-timeline .upk-date-wrapper .upk-date-inner {
50 position: absolute;
51 top: 50%;
52 left: 50%;
53 padding: 5px;
54 transform: translate(-50%, -50%);
55 }
56 .upk-timeline .upk-date-wrapper .upk-date-inner .upk-month {
57 font-weight: 500;
58 font-size: 14px;
59 }
60 .upk-timeline .upk-date-wrapper .upk-date-inner .upk-year {
61 font-size: 12px;
62 font-weight: 600;
63 }
64 .upk-timeline .upk-image-and-content-wrapper {
65 display: block;
66 align-items: center;
67 }
68 .upk-timeline .upk-image-wrapper {
69 height: auto;
70 }
71 .upk-timeline .upk-image-wrapper .upk-img {
72 width: 100%;
73 height: 100%;
74 border-radius: 20px;
75 object-fit: cover;
76 margin-bottom: var(--upk-image-spacing);
77 }
78 .upk-timeline .upk-content-wrap {
79 width: 100%;
80 z-index: 1;
81 }
82 .upk-timeline .upk-category {
83 margin-bottom: 15px;
84 }
85 .upk-timeline .upk-category a {
86 color: #EF233C;
87 font-size: 10px;
88 font-weight: 600;
89 padding: 6px 12px;
90 border-radius: 3px;
91 display: inline-block;
92 text-transform: uppercase;
93 transition: all 0.3s ease-in-out;
94 }
95 .upk-timeline .upk-category a:hover {
96 background: #EF233C;
97 color: #fff;
98 }
99 .upk-timeline .upk-category a + a {
100 margin-left: 5px;
101 }
102 .upk-timeline .upk-title {
103 margin: 0;
104 padding-bottom: 10px;
105 text-transform: capitalize;
106 font-size: 18px;
107 font-weight: 700;
108 line-height: 1.4;
109 }
110 .upk-timeline .upk-title a {
111 color: #2B2D42;
112 text-decoration: none;
113 transition: all 0.3s ease;
114 }
115 .upk-timeline .upk-title a:hover {
116 color: #D90429;
117 }
118 .upk-timeline .upk-text {
119 margin-bottom: 15px;
120 color: #6f6f6f;
121 line-height: 1.6;
122 font-size: 12px;
123 }
124 .upk-timeline .upk-text p {
125 margin: 0;
126 }
127 .upk-timeline .upk-meta {
128 display: flex;
129 align-items: center;
130 position: relative;
131 font-size: 12px;
132 text-transform: capitalize;
133 color: rgba(125, 125, 125, 0.7294117647);
134 font-weight: 500;
135 }
136 .upk-timeline .upk-meta .upk-author-name-wrap {
137 display: flex;
138 }
139 .upk-timeline .upk-meta .upk-author-name-wrap .upk-by {
140 font-weight: 700;
141 padding-right: 6px;
142 }
143 .upk-timeline .upk-meta .upk-author-name-wrap .upk-author-name {
144 text-decoration: none;
145 color: rgba(125, 125, 125, 0.7294117647);
146 font-weight: 500;
147 }
148 .upk-timeline .upk-meta .upk-separator {
149 margin: 0 6px;
150 }
151 .upk-timeline .upk-responsive-date {
152 display: block;
153 margin-bottom: 10px;
154 font-size: 12px;
155 text-transform: capitalize;
156 color: rgba(125, 125, 125, 0.7294117647);
157 }
158 .upk-timeline .upk-responsive-date .upk-publish {
159 font-weight: 700;
160 }
161 .upk-timeline .upk-responsive-date .upk-date {
162 padding-left: 10px;
163 }
164 .upk-timeline .upk-responsive-date .upk-post-time {
165 margin-left: 5px;
166 }
167 .upk-timeline .upk-responsive-date .upk-post-time i {
168 margin-right: 2px;
169 }
170 .upk-timeline .upk-line-right,
171 .upk-timeline .upk-line-left {
172 border: calc(var(--upk-border-width) / 2) solid var(--upk-line-color, #8D99AE);
173 position: absolute;
174 height: 100%;
175 width: 50%;
176 }
177 .upk-timeline .upk-line-right {
178 border-radius: 0 40px 40px 0;
179 position: absolute;
180 right: 0;
181 border-left: 0;
182 }
183 .upk-timeline .upk-line-left {
184 border-radius: 40px 0 0 40px;
185 left: 0;
186 border-right: 0;
187 }
188 .upk-timeline .upk-item:nth-child(1) .upk-start-end-wrap .upk-start {
189 display: inherit;
190 }
191 .upk-timeline .upk-item:nth-last-child(1) .upk-start-end-wrap .upk-end {
192 display: inherit;
193 }
194 .upk-timeline .upk-item:nth-child(2n+1) {
195 margin-top: calc(-1 * var(--upk-border-width) / 2);
196 }
197 .upk-timeline .upk-item:nth-child(2n+1) .upk-image-and-content-wrapper {
198 padding: 70px 40px 50px 0;
199 }
200 .upk-timeline .upk-item:nth-child(2n+1) .upk-meta {
201 display: inline-flex;
202 }
203 .upk-timeline .upk-item:nth-child(2n+1) .upk-date-wrapper {
204 left: calc((var(--upk-image-spacing)) + (var(--upk-image-width)));
205 }
206 .upk-timeline .upk-item:nth-child(2n+1) .upk-line-left {
207 display: none !important;
208 }
209 .upk-timeline .upk-item:nth-child(2n+1) .upk-start-end-wrap {
210 display: none;
211 }
212 .upk-timeline .upk-item:nth-child(2n+2) {
213 margin-top: calc(-1 * var(--upk-border-width) / 2);
214 }
215 .upk-timeline .upk-item:nth-child(2n+2) .upk-item-box {
216 flex-direction: row-reverse;
217 }
218 .upk-timeline .upk-item:nth-child(2n+2) .upk-date-wrapper {
219 right: calc((var(--upk-image-spacing)) + (var(--upk-image-width)));
220 }
221 .upk-timeline .upk-item:nth-child(2n+2) .upk-image-wrapper {
222 text-align: right;
223 }
224 .upk-timeline .upk-item:nth-child(2n+2) .upk-image-and-content-wrapper {
225 padding: 70px 0 50px 42px;
226 flex-direction: row-reverse;
227 }
228 .upk-timeline .upk-item:nth-child(2n+2) .upk-content-wrap {
229 text-align: right;
230 }
231 .upk-timeline .upk-item:nth-child(2n+2) .upk-meta {
232 display: inline-flex !important;
233 }
234 .upk-timeline .upk-item:nth-child(2n+2) .upk-comments:before {
235 left: 90px;
236 }
237 .upk-timeline .upk-item:nth-child(2n+2) .upk-line-right {
238 display: none;
239 }
240 .upk-timeline .upk-item:nth-child(2n+2) .upk-start-end-wrap {
241 display: none;
242 }
243 .upk-timeline .upk-item:first-child .upk-item-box:before {
244 position: absolute;
245 top: 0;
246 left: 0;
247 content: "";
248 background: var(--upk-line-color, #8D99AE);
249 width: 50%;
250 height: calc(var(--upk-border-width) / 2);
251 }
252 .upk-timeline .upk-item:first-child .upk-start-end-wrap {
253 display: inherit !important;
254 left: 0;
255 top: calc(-30px + var(--upk-border-width) / 4);
256 }
257 .upk-timeline .upk-item:nth-last-child(1) .upk-item-box:after {
258 position: absolute;
259 bottom: 0;
260 content: "";
261 background: var(--upk-line-color, #8D99AE);
262 width: 50%;
263 height: calc(var(--upk-border-width) / 2);
264 }
265 .upk-timeline .upk-last-even-item:nth-child(2n+1) .upk-start-end-wrap {
266 display: inherit !important;
267 left: 0;
268 bottom: calc(-40px + var(--upk-border-width) / 2);
269 z-index: 111;
270 }
271 .upk-timeline .upk-last-odd-item:nth-child(2n+2) .upk-start-end-wrap {
272 display: inherit !important;
273 right: 0;
274 bottom: calc(-40px + var(--upk-border-width) / 2);
275 z-index: 111;
276 }
277
278 @media (min-width: 768px) {
279 .upk-timeline .upk-image-and-content-wrapper {
280 display: flex;
281 }
282 .upk-timeline .upk-image-wrapper {
283 height: 100%;
284 flex: none;
285 }
286 .upk-timeline .upk-image-wrapper .upk-img {
287 width: var(--upk-image-width);
288 margin-bottom: 0px !important;
289 }
290 .upk-timeline .upk-item:nth-child(2n+2) .upk-image-wrapper .upk-img {
291 margin-left: var(--upk-image-spacing);
292 }
293 .upk-timeline .upk-item:nth-child(2n+1) .upk-image-wrapper .upk-img {
294 margin-right: var(--upk-image-spacing);
295 }
296 .upk-timeline .upk-last-odd-item:nth-child(2n+2) .upk-start-end-wrap {
297 bottom: calc(-35px + var(--upk-border-width) / 2);
298 }
299 }
300 @media (min-width: 1024px) {
301 .upk-timeline .upk-wrapper {
302 padding: 65px 0 30px 0;
303 }
304 .upk-timeline .upk-start-end-wrap {
305 width: 100px;
306 height: 100px;
307 font-size: 18px;
308 border: calc(var(--upk-border-width) / 3) solid var(--upk-line-color, #8D99AE);
309 }
310 .upk-timeline .upk-image-and-content-wrapper {
311 display: flex;
312 }
313 .upk-timeline .upk-image-wrapper {
314 height: 100%;
315 }
316 .upk-timeline .upk-image-wrapper .upk-img {
317 width: var(--upk-image-width);
318 }
319 .upk-timeline .upk-category {
320 margin-bottom: 20px;
321 }
322 .upk-timeline .upk-category a {
323 font-size: 12px;
324 }
325 .upk-timeline .upk-title {
326 padding-bottom: 15px;
327 font-size: 24px;
328 }
329 .upk-timeline .upk-text {
330 display: inherit;
331 margin-bottom: 15px;
332 font-size: 14px;
333 }
334 .upk-timeline .upk-meta {
335 font-size: 14px;
336 }
337 .upk-timeline .upk-line-right {
338 border: var(--upk-border-width) solid var(--upk-line-color, #8D99AE);
339 border-left: none;
340 border-radius: 0 80px 80px 0;
341 }
342 .upk-timeline .upk-line-left {
343 border: var(--upk-border-width) solid var(--upk-line-color, #8D99AE);
344 border-right: none;
345 border-radius: 80px 0 0 80px;
346 }
347 .upk-timeline .upk-item:first-child .upk-start-end-wrap {
348 top: calc(-50px + var(--upk-border-width) / 2);
349 }
350 .upk-timeline .upk-item:first-child .upk-item-box:before {
351 height: var(--upk-border-width);
352 }
353 .upk-timeline .upk-item:nth-child(2n+1) {
354 margin-top: calc(-1 * var(--upk-border-width));
355 }
356 .upk-timeline .upk-item:nth-child(2n+1) .upk-image-and-content-wrapper {
357 padding: 130px 100px 130px 0;
358 }
359 .upk-timeline .upk-item:nth-child(2n+1) .upk-comments:before {
360 left: 86px;
361 }
362 .upk-timeline .upk-item:nth-child(2n+2) {
363 margin-top: calc(-1 * var(--upk-border-width));
364 }
365 .upk-timeline .upk-item:nth-child(2n+2) .upk-image-and-content-wrapper {
366 padding: 130px 0 130px 100px;
367 }
368 .upk-timeline .upk-item:nth-child(2n+2) .upk-comments:before {
369 left: 88px;
370 }
371 .upk-timeline .upk-item:nth-last-child(1) .upk-item-box:after {
372 height: var(--upk-border-width);
373 }
374 .upk-timeline .upk-last-even-item:nth-child(2n+1) .upk-start-end-wrap {
375 bottom: calc(-46px + var(--upk-border-width) / 2);
376 }
377 .upk-timeline .upk-last-odd-item:nth-child(2n+2) .upk-start-end-wrap {
378 bottom: calc(-46px + var(--upk-border-width) / 2);
379 }
380 .upk-date-hide--yes .upk-timeline .upk-date-wrapper {
381 display: block;
382 }
383 .upk-date-hide--yes .upk-timeline .upk-date-wrapper .upk-date-inner .upk-month {
384 font-size: 18px;
385 }
386 .upk-date-hide--yes .upk-timeline .upk-date-wrapper .upk-date-inner .upk-year {
387 font-size: 18px;
388 }
389 .upk-date-hide--yes .upk-timeline .upk-responsive-date {
390 display: none;
391 }
392 }