| 1 |
.sp-smart-show-pro { |
| 2 |
&.grid-six-container { |
| 3 |
.sp-smart-post-grid-six-large-contents { |
| 4 |
display: grid; |
| 5 |
gap: 8px; |
| 6 |
overflow: hidden; |
| 7 |
|
| 8 |
.sp-smart-post-card-image { |
| 9 |
a { |
| 10 |
width: 100%; |
| 11 |
height: 100%; |
| 12 |
} |
| 13 |
} |
| 14 |
|
| 15 |
&.grid-six-layout-one { |
| 16 |
.sp-smart-post-card { |
| 17 |
background: #f2f2f2; |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
&.grid-six-layout-one, |
| 22 |
&.grid-six-layout-two { |
| 23 |
.sp-smart-post-card { |
| 24 |
display: flex; |
| 25 |
gap: 20px; |
| 26 |
} |
| 27 |
|
| 28 |
.sp-smart-post-card-image { |
| 29 |
width: 50%; |
| 30 |
flex-shrink: 0; |
| 31 |
height: 100%; |
| 32 |
} |
| 33 |
|
| 34 |
.sp-smart-post-template-one-content { |
| 35 |
margin-top: 10px; |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
&.grid-six-layout-three { |
| 40 |
grid-template-columns: repeat(2, 1fr); |
| 41 |
|
| 42 |
.sp-smart-post-template-one-content { |
| 43 |
margin-top: 10px; |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
&.grid-six-layout-one, |
| 48 |
&.grid-six-layout-two, |
| 49 |
&.grid-six-layout-three { |
| 50 |
.sp-smart-post-template-one-content { |
| 51 |
width: 100%; |
| 52 |
} |
| 53 |
|
| 54 |
.sp-smart-post-card-content { |
| 55 |
|
| 56 |
.sp-smart-post-meta-icon, |
| 57 |
.sp-smart-post-meta-text, |
| 58 |
.sp-smart-post-title { |
| 59 |
color: #4E4F52; |
| 60 |
} |
| 61 |
|
| 62 |
.sp-smart-post-read-more-button { |
| 63 |
.sp-readmore-btn-link { |
| 64 |
color: #4E4F52 !important; |
| 65 |
border-color: #4E4F52; |
| 66 |
} |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
.overlay-custom { |
| 71 |
background-color: transparent !important; |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
&.grid-six-layout-four { |
| 76 |
grid-template-columns: repeat(2, 1fr); |
| 77 |
// height: 400px; |
| 78 |
|
| 79 |
.sp-smart-post-card-image { |
| 80 |
height: 100% !important; |
| 81 |
} |
| 82 |
|
| 83 |
.sp-smart-post-card-content * { |
| 84 |
position: relative; |
| 85 |
z-index: 1; |
| 86 |
|
| 87 |
.sp-social-share-popup-icon.sp-social-popup-icon-list { |
| 88 |
position: absolute; |
| 89 |
} |
| 90 |
} |
| 91 |
|
| 92 |
.sp-smart-post-card-content { |
| 93 |
height: fit-content; |
| 94 |
padding: 0 20px 20px; |
| 95 |
|
| 96 |
// .sp-smart-post-title { |
| 97 |
// color: #FFFFFF; |
| 98 |
// } |
| 99 |
|
| 100 |
// .sp-social-share-popup-icon.popup-share-icon svg path { |
| 101 |
// fill: #FFFFFF; |
| 102 |
// } |
| 103 |
|
| 104 |
// .sp-smart-post-read-more-button { |
| 105 |
// .sp-readmore-btn-link { |
| 106 |
// color: #FFFFFF; |
| 107 |
// border-color: #FFFFFF; |
| 108 |
// } |
| 109 |
// } |
| 110 |
|
| 111 |
// .sp-smart-post-details { |
| 112 |
|
| 113 |
// .sp-smart-post-meta { |
| 114 |
// .sp-smart-post-meta-icon svg path { |
| 115 |
// fill: #FFFFFF; |
| 116 |
// } |
| 117 |
|
| 118 |
// i, |
| 119 |
// .sp-smart-post-meta-text { |
| 120 |
// color: #FFFFFF; |
| 121 |
// } |
| 122 |
// } |
| 123 |
// } |
| 124 |
} |
| 125 |
} |
| 126 |
|
| 127 |
.image-overlay { |
| 128 |
background: transparent; |
| 129 |
|
| 130 |
// &.overlay-custom { |
| 131 |
// background-color: transparent !important; |
| 132 |
// } |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
.sp-smart-post-grid-six-dynamic-contents { |
| 137 |
display: grid; |
| 138 |
gap: 8px; |
| 139 |
|
| 140 |
.sp-smart-post-excerpt { |
| 141 |
display: none; |
| 142 |
} |
| 143 |
|
| 144 |
&.grid-six-layout-one { |
| 145 |
grid-template-columns: repeat(3, 1fr); |
| 146 |
|
| 147 |
.sp-smart-post-card { |
| 148 |
.sp-smart-post-template-one-content { |
| 149 |
height: 100%; |
| 150 |
|
| 151 |
.sp-smart-post-card-content * { |
| 152 |
position: relative; |
| 153 |
z-index: 1; |
| 154 |
|
| 155 |
.sp-social-share-popup-icon.sp-social-popup-icon-list { |
| 156 |
position: absolute; |
| 157 |
} |
| 158 |
} |
| 159 |
|
| 160 |
.sp-smart-post-card-content { |
| 161 |
position: relative; |
| 162 |
display: flex; |
| 163 |
box-sizing: border-box; |
| 164 |
padding: 0 20px 20px; |
| 165 |
|
| 166 |
.sp-smart-post-category, |
| 167 |
.sp-smart-post-read-more-button { |
| 168 |
display: none !important; |
| 169 |
} |
| 170 |
|
| 171 |
// .sp-smart-post-title { |
| 172 |
// color: #FFFFFF; |
| 173 |
// } |
| 174 |
|
| 175 |
.sp-social-share-popup-icon.popup-share-icon svg path { |
| 176 |
fill: #FFFFFF; |
| 177 |
} |
| 178 |
|
| 179 |
// .sp-smart-post-details { |
| 180 |
|
| 181 |
// .sp-smart-post-meta { |
| 182 |
// .sp-smart-post-meta-icon svg path { |
| 183 |
// fill: #FFFFFF; |
| 184 |
// } |
| 185 |
|
| 186 |
// i, |
| 187 |
// .sp-smart-post-meta-text { |
| 188 |
// color: #FFFFFF; |
| 189 |
// } |
| 190 |
// } |
| 191 |
// } |
| 192 |
} |
| 193 |
} |
| 194 |
} |
| 195 |
|
| 196 |
.sp-smart-post-read-more-button, |
| 197 |
.sp-smart-post-category { |
| 198 |
display: none !important; |
| 199 |
} |
| 200 |
} |
| 201 |
|
| 202 |
&.grid-six-layout-one .sp-smart-post-card-content { |
| 203 |
flex-direction: column; |
| 204 |
|
| 205 |
// .sp-smart-post-meta-icon svg path, |
| 206 |
// .sp-smart-post-meta-icon, |
| 207 |
// .sp-smart-post-meta-text, |
| 208 |
// .sp-smart-post-title { |
| 209 |
// color: #fff; |
| 210 |
// fill: #fff; |
| 211 |
// } |
| 212 |
|
| 213 |
// .sp-smart-post-read-more-button { |
| 214 |
// .sp-readmore-btn-link { |
| 215 |
// color: #fff !important; |
| 216 |
// border-color: #fff; |
| 217 |
// } |
| 218 |
// } |
| 219 |
} |
| 220 |
|
| 221 |
// &.grid-six-layout-two{ |
| 222 |
// .sp-smart-post-card { |
| 223 |
// display: flex; |
| 224 |
// } |
| 225 |
// } |
| 226 |
&.grid-six-layout-two, |
| 227 |
&.grid-six-layout-three { |
| 228 |
.image-overlay { |
| 229 |
&.overlay-custom { |
| 230 |
background-color: transparent !important; |
| 231 |
} |
| 232 |
} |
| 233 |
} |
| 234 |
|
| 235 |
&.grid-six-layout-three, |
| 236 |
&.grid-six-layout-two, |
| 237 |
&.grid-six-layout-four { |
| 238 |
.sp-smart-post-card { |
| 239 |
display: flex; |
| 240 |
flex-direction: row; |
| 241 |
align-items: center; |
| 242 |
gap: 10px !important; |
| 243 |
|
| 244 |
.sp-smart-post-card-image { |
| 245 |
width: 40%; |
| 246 |
height: 160px; |
| 247 |
|
| 248 |
img { |
| 249 |
object-fit: cover; |
| 250 |
} |
| 251 |
} |
| 252 |
|
| 253 |
.sp-smart-post-template-one-content { |
| 254 |
width: 60%; |
| 255 |
} |
| 256 |
|
| 257 |
.sp-smart-post-card-content { |
| 258 |
padding: 0; |
| 259 |
|
| 260 |
// .sp-smart-post-meta-icon svg path, |
| 261 |
// .sp-smart-post-meta-icon, |
| 262 |
// .sp-smart-post-meta-text, |
| 263 |
// .sp-smart-post-title { |
| 264 |
// color: #4E4F52; |
| 265 |
// fill: #4E4F52; |
| 266 |
// } |
| 267 |
|
| 268 |
.sp-smart-post-read-more-button { |
| 269 |
.sp-readmore-btn-link { |
| 270 |
color: #4E4F52 !important; |
| 271 |
border-color: #4E4F52; |
| 272 |
} |
| 273 |
} |
| 274 |
} |
| 275 |
} |
| 276 |
|
| 277 |
.sp-smart-post-read-more-button, |
| 278 |
.sp-smart-post-category { |
| 279 |
display: none !important; |
| 280 |
} |
| 281 |
} |
| 282 |
|
| 283 |
&.grid-six-layout-four { |
| 284 |
.sp-smart-post-card-image { |
| 285 |
.image-overlay { |
| 286 |
background: none !important; |
| 287 |
} |
| 288 |
} |
| 289 |
} |
| 290 |
} |
| 291 |
} |
| 292 |
} |
| 293 |
|
| 294 |
.grid-six-container .sp-smart-post-card .sp-smart-post-card-image img { |
| 295 |
width: 100% !important; |
| 296 |
height: 100% !important; |
| 297 |
} |
| 298 |
|
| 299 |
.grid-six-container { |
| 300 |
.sp-smart-post-card-content .sp-social-share-popup.space-between-taxonomy .sp-social-share-popup-icon.sp-social-popup-icon-list { |
| 301 |
bottom: unset; |
| 302 |
left: unset; |
| 303 |
top: calc(100% + 16px); |
| 304 |
|
| 305 |
&::before { |
| 306 |
top: unset; |
| 307 |
bottom: 100%; |
| 308 |
border-top: unset; |
| 309 |
border-bottom: 8px solid #fff; |
| 310 |
; |
| 311 |
} |
| 312 |
|
| 313 |
&:after { |
| 314 |
border-top: unset; |
| 315 |
} |
| 316 |
} |
| 317 |
|
| 318 |
.sp-smart-post-card-content .sp-social-share-popup.beside-taxonomy .sp-social-share-popup-icon.sp-social-popup-icon-list { |
| 319 |
bottom: unset; |
| 320 |
left: unset; |
| 321 |
top: calc(100% + 16px); |
| 322 |
|
| 323 |
&::before { |
| 324 |
top: unset; |
| 325 |
bottom: 100%; |
| 326 |
border-top: unset; |
| 327 |
border-bottom: 8px solid #fff; |
| 328 |
; |
| 329 |
} |
| 330 |
|
| 331 |
&:after { |
| 332 |
border-top: unset; |
| 333 |
} |
| 334 |
} |
| 335 |
} |
| 336 |
|
| 337 |
@media only screen and (max-width: 767px) { |
| 338 |
.sp-smart-post-wrapper.sp-smart-post-grid-six .sp-smart-post-grid-six-large-contents:not(.grid-six-layout-four) { |
| 339 |
.sp-smart-post-card-image { |
| 340 |
width: auto !important; |
| 341 |
} |
| 342 |
|
| 343 |
.sp-smart-post-card { |
| 344 |
background: transparent !important; |
| 345 |
} |
| 346 |
} |
| 347 |
|
| 348 |
.sp-smart-post-wrapper.sp-smart-post-grid-six .sp-smart-post-grid-six-dynamic-contents:not(.grid-six-layout-one) .sp-smart-post-card { |
| 349 |
flex-direction: column; |
| 350 |
} |
| 351 |
|
| 352 |
.sp-smart-show-pro.grid-six-container .sp-smart-post-grid-six-dynamic-contents:not(.grid-six-layout-one) .sp-smart-post-card .sp-smart-post-template-one-content, |
| 353 |
.sp-smart-show-pro.grid-six-container .sp-smart-post-grid-six-dynamic-contents:not(.grid-six-layout-one) .sp-smart-post-card .sp-smart-post-card-image { |
| 354 |
width: 100%; |
| 355 |
} |
| 356 |
} |
| 357 |
|
| 358 |
.sp-smart-post-grid-six { |
| 359 |
.sp-smart-post-grid-six-dynamic-contents { |
| 360 |
.sp-smart-post-card-image a { |
| 361 |
height: 100%; |
| 362 |
width: 100%; |
| 363 |
} |
| 364 |
} |
| 365 |
|
| 366 |
.sp-smart-post-grid-six-dynamic-contents.grid-six-layout-one { |
| 367 |
.sp-smart-post-card-image { |
| 368 |
// height: 100%; |
| 369 |
width: 100% !important; |
| 370 |
} |
| 371 |
} |
| 372 |
} |
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
// // title animate effect.................................................. |
| 379 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title { |
| 380 |
position: relative; |
| 381 |
display: inline-block; |
| 382 |
} |
| 383 |
|
| 384 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:after { |
| 385 |
content: ""; |
| 386 |
position: absolute; |
| 387 |
transition: width 0.6s ease; |
| 388 |
} |
| 389 |
|
| 390 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title::before { |
| 391 |
content: ""; |
| 392 |
position: absolute; |
| 393 |
transition: width 0.6s ease; |
| 394 |
} |
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title .line { |
| 399 |
position: relative; |
| 400 |
display: inline-block; |
| 401 |
padding-bottom: 2px; |
| 402 |
} |
| 403 |
|
| 404 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title .line::after { |
| 405 |
content: ''; |
| 406 |
position: absolute; |
| 407 |
bottom: 0; |
| 408 |
left: 0; |
| 409 |
width: 100%; |
| 410 |
// height: 2px; |
| 411 |
// background: linear-gradient(90deg, #ff416c, #ff4b2b); |
| 412 |
// transform-origin: left; |
| 413 |
transform: scaleX(0); |
| 414 |
transition: transform 0.4s ease; |
| 415 |
z-index: -1; |
| 416 |
} |
| 417 |
|
| 418 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line::after { |
| 419 |
transform: scaleX(1); |
| 420 |
} |
| 421 |
|
| 422 |
/* Using :nth-of-type to target only .line elements */ |
| 423 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(1)::after { |
| 424 |
transition-delay: 0s; |
| 425 |
} |
| 426 |
|
| 427 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(2)::after { |
| 428 |
transition-delay: 0.2s; |
| 429 |
} |
| 430 |
|
| 431 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(3)::after { |
| 432 |
transition-delay: 0.4s; |
| 433 |
} |
| 434 |
|
| 435 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(4)::after { |
| 436 |
transition-delay: 0.6s; |
| 437 |
} |
| 438 |
|
| 439 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(5)::after { |
| 440 |
transition-delay: 0.8s; |
| 441 |
} |
| 442 |
|
| 443 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(6)::after { |
| 444 |
transition-delay: 1s; |
| 445 |
} |
| 446 |
|
| 447 |
|
| 448 |
|
| 449 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(7)::after { |
| 450 |
transition-delay: 1.2s; |
| 451 |
} |
| 452 |
.sp-smart-post-grid-six .sp-smart-post-card .sp-smart-post-title:hover .line:nth-of-type(8)::after { |
| 453 |
transition-delay: 1.4s; |
| 454 |
} |
| 455 |
|
| 456 |
|
| 457 |
|