| 1 |
.sp-smart-toolbar-design-library { |
| 2 |
span { |
| 3 |
display: flex; |
| 4 |
height: 36px; |
| 5 |
padding: 12px; |
| 6 |
justify-content: center; |
| 7 |
align-items: center; |
| 8 |
gap: 8px; |
| 9 |
border-radius: 2px; |
| 10 |
background: #6F22DD; |
| 11 |
color: #FFF; |
| 12 |
font-size: 13px; |
| 13 |
line-height: 14px; |
| 14 |
font-weight: 600; |
| 15 |
cursor: pointer; |
| 16 |
text-decoration: none; |
| 17 |
white-space: nowrap; |
| 18 |
transition: all 0.3s ease-in-out; |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
.sp-smart-skeleton__image { |
| 23 |
height: 300px; |
| 24 |
width: 300px; |
| 25 |
border-radius: 4px; |
| 26 |
} |
| 27 |
|
| 28 |
.sp-smart-skeleton__circle { |
| 29 |
height: 300px; |
| 30 |
width: 300px; |
| 31 |
border-radius: 50%; |
| 32 |
} |
| 33 |
|
| 34 |
.sp-smart-skeleton__title { |
| 35 |
height: 20px; |
| 36 |
width: 100%; |
| 37 |
border-radius: 4px; |
| 38 |
} |
| 39 |
|
| 40 |
.sp-smart-skeleton__button { |
| 41 |
height: 40px; |
| 42 |
width: 90px; |
| 43 |
border-radius: 4px; |
| 44 |
} |
| 45 |
|
| 46 |
.sp_smart_frequency { |
| 47 |
position: relative; |
| 48 |
background-color: #e2e2e2; |
| 49 |
|
| 50 |
&.loop { |
| 51 |
margin-bottom: 10px; |
| 52 |
|
| 53 |
&:last-child { |
| 54 |
margin-bottom: 0; |
| 55 |
} |
| 56 |
} |
| 57 |
|
| 58 |
overflow: hidden; |
| 59 |
} |
| 60 |
|
| 61 |
.sp_smart_frequency::after { |
| 62 |
display: block; |
| 63 |
content: ''; |
| 64 |
position: absolute; |
| 65 |
width: 100%; |
| 66 |
height: 100%; |
| 67 |
transform: translateX(-100%); |
| 68 |
background: -webkit-gradient(linear, left top, |
| 69 |
right top, from(transparent), |
| 70 |
color-stop(rgba(255, 255, 255, 0.2)), |
| 71 |
to(transparent)); |
| 72 |
|
| 73 |
background: linear-gradient(90deg, transparent, |
| 74 |
rgba(255, 255, 255, 0.2), transparent); |
| 75 |
animation: loadings 0.8s infinite; |
| 76 |
} |
| 77 |
|
| 78 |
.skeletonOverflow { |
| 79 |
overflow: hidden; |
| 80 |
} |
| 81 |
|
| 82 |
@keyframes loadings { |
| 83 |
100% { |
| 84 |
transform: translateX(100%); |
| 85 |
} |
| 86 |
} |
| 87 |
|
| 88 |
.sp-smart-popup-open { |
| 89 |
.sp-smart-builder-modal.sp-smart-blocks-layouts { |
| 90 |
display: block; |
| 91 |
position: fixed; |
| 92 |
z-index: 999999; |
| 93 |
height: 100%; |
| 94 |
width: 90%; |
| 95 |
top: 20px; |
| 96 |
right: 90px; |
| 97 |
} |
| 98 |
} |
| 99 |
|
| 100 |
/* Modal component for Design template end */ |
| 101 |
.sp-smart-popup-header { |
| 102 |
position: sticky; |
| 103 |
top: 0; |
| 104 |
z-index: 9999; |
| 105 |
background: #F5F6FF; |
| 106 |
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.10); |
| 107 |
} |
| 108 |
|
| 109 |
.sp-smart-popup-header .sp-smart-popup-filter { |
| 110 |
padding: 30px 5px; |
| 111 |
max-width: 600px; |
| 112 |
margin: 0 auto; |
| 113 |
display: flex; |
| 114 |
align-items: center; |
| 115 |
justify-content: center; |
| 116 |
} |
| 117 |
|
| 118 |
.sp-smart-popup-filter-title { |
| 119 |
position: relative; |
| 120 |
padding: 0 30px; |
| 121 |
background-color: #F5F6FF; |
| 122 |
display: flex; |
| 123 |
justify-content: space-between; |
| 124 |
height: 72px; |
| 125 |
} |
| 126 |
|
| 127 |
.sp-smart-popup-filter-title:not(:has(.sp-smart-popup-filter-nav)) { |
| 128 |
padding-top: 18px; |
| 129 |
padding-bottom: 18px; |
| 130 |
height: auto; |
| 131 |
} |
| 132 |
|
| 133 |
.sp-smart-btn-close { |
| 134 |
color: #fff; |
| 135 |
svg { |
| 136 |
margin-right: -1px; |
| 137 |
} |
| 138 |
|
| 139 |
box-shadow: none; |
| 140 |
cursor: pointer; |
| 141 |
transition: .3s; |
| 142 |
border-radius: 4px; |
| 143 |
border: 1px solid #2F2F2F; |
| 144 |
background: #2F2F2F; |
| 145 |
width: 32px; |
| 146 |
height: 32px; |
| 147 |
text-align: center; |
| 148 |
display: flex; |
| 149 |
align-items: center; |
| 150 |
justify-content: center; |
| 151 |
} |
| 152 |
|
| 153 |
.sp-smart-btn-close:hover { |
| 154 |
color: #fff; |
| 155 |
background: var(--sp-smart-primary-2-400); |
| 156 |
border-color: var(--sp-smart-primary-2-400); |
| 157 |
} |
| 158 |
|
| 159 |
.sp-smart-btn-close span { |
| 160 |
font-size: 26px; |
| 161 |
width: auto; |
| 162 |
height: auto; |
| 163 |
vertical-align: middle; |
| 164 |
} |
| 165 |
|
| 166 |
.sp-smart-btn-close:focus { |
| 167 |
outline: 0; |
| 168 |
} |
| 169 |
|
| 170 |
.sp-smart-popup-filter-image-head { |
| 171 |
display: flex; |
| 172 |
align-items: center; |
| 173 |
|
| 174 |
svg { |
| 175 |
color: var(--sp-smart-primary-2-400); |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
.sp-smart-popup-filter-image-head svg { |
| 180 |
width: 35px; |
| 181 |
height: 23px; |
| 182 |
} |
| 183 |
|
| 184 |
.sp-smart-popup-filter-image-head span { |
| 185 |
text-transform: capitalize; |
| 186 |
font-weight: 600; |
| 187 |
margin-left: 6px; |
| 188 |
font-size: 15px; |
| 189 |
} |
| 190 |
|
| 191 |
.sp-smart-popup-filter-sync-close { |
| 192 |
display: flex; |
| 193 |
align-items: center; |
| 194 |
justify-content: flex-end; |
| 195 |
width: 220px; |
| 196 |
} |
| 197 |
|
| 198 |
.sp-smart-popup-filter-sync-close .sp-smart-popup-sync { |
| 199 |
cursor: pointer; |
| 200 |
margin-right: 50px; |
| 201 |
display: flex; |
| 202 |
gap: 5px; |
| 203 |
align-items: center; |
| 204 |
transition: var(--postx-transition-400); |
| 205 |
} |
| 206 |
|
| 207 |
.sp-smart-popup-filter-nav { |
| 208 |
text-align: center; |
| 209 |
margin-top: 24px; |
| 210 |
} |
| 211 |
|
| 212 |
.sp-smart-popup-tab-title { |
| 213 |
padding: 14px; |
| 214 |
display: inline-block; |
| 215 |
font-size: 16px; |
| 216 |
border-left: 1px solid transparent; |
| 217 |
border-right: 1px solid transparent; |
| 218 |
color: #091f36; |
| 219 |
line-height: 20px; |
| 220 |
} |
| 221 |
|
| 222 |
.sp-smart-popup-tab-title.sp-smart-active { |
| 223 |
background-color: #fff; |
| 224 |
border-left: 1px solid #6F22DD; |
| 225 |
border-right: 1px solid #6F22DD; |
| 226 |
border-top: 1px solid #6F22DD; |
| 227 |
border-top-right-radius: 3px; |
| 228 |
border-top-left-radius: 3px; |
| 229 |
color: #6F22DD; |
| 230 |
position: relative; |
| 231 |
// border-bottom: 2px solid transparent; |
| 232 |
} |
| 233 |
|
| 234 |
// .sp-smart-popup-tab-title.sp-smart-active::after { |
| 235 |
// content: ""; |
| 236 |
// position: absolute; |
| 237 |
// bottom: -4px; |
| 238 |
// left: -1px; |
| 239 |
// width: calc(100% + 3px); |
| 240 |
// height: 4px; |
| 241 |
// background-color: #fff; |
| 242 |
|
| 243 |
// } |
| 244 |
|
| 245 |
.sp-smart-popup-tab-title:hover { |
| 246 |
cursor: pointer; |
| 247 |
} |
| 248 |
|
| 249 |
.sp-smart-builder-modal-shadow { |
| 250 |
right: 0; |
| 251 |
bottom: 0; |
| 252 |
background-color: rgba(0, 0, 0, .8); |
| 253 |
z-index: 100000; |
| 254 |
position: fixed; |
| 255 |
top: 0; |
| 256 |
left: 0; |
| 257 |
width: 100%; |
| 258 |
height: 100%; |
| 259 |
display: -webkit-box; |
| 260 |
display: -ms-flexbox; |
| 261 |
display: flex; |
| 262 |
backdrop-filter: blur(4px); |
| 263 |
} |
| 264 |
|
| 265 |
/* ========== Header Part ========== */ |
| 266 |
.sp-smart-popup-wrap { |
| 267 |
width: 100%; |
| 268 |
margin: 30px auto; |
| 269 |
position: relative; |
| 270 |
-ms-overflow-style: none; |
| 271 |
scrollbar-width: none; |
| 272 |
overflow-x: auto; |
| 273 |
background: #fff; |
| 274 |
max-width: 97%; |
| 275 |
border-radius: 5px; |
| 276 |
} |
| 277 |
|
| 278 |
.sp-smart-template-wrap { |
| 279 |
display: flex; |
| 280 |
} |
| 281 |
|
| 282 |
.sp-smart-template-wrap .sp-smart-pattern-list-container { |
| 283 |
width: -webkit-fill-available; |
| 284 |
width: -moz-available; |
| 285 |
position: relative; |
| 286 |
height: 88vh; |
| 287 |
overflow-y: auto; |
| 288 |
overflow-x: hidden; |
| 289 |
} |
| 290 |
|
| 291 |
.sp-smart-pattern-list-container .sp-smart-pattern-grid, |
| 292 |
.sp-smart-pattern-list-container .sp-smart-post-starter-content { |
| 293 |
background: #fff !important; |
| 294 |
} |
| 295 |
|
| 296 |
.sp-smart-pattern-list-container { |
| 297 |
padding: 50px 48px 16px; |
| 298 |
} |
| 299 |
|
| 300 |
.sp-smart-popup-wrap .sp-smart-pattern-list-container .sp-smart-pattern-grid .sp-smart-item-list { |
| 301 |
display: flex; |
| 302 |
flex-direction: column; |
| 303 |
gap: 20px; |
| 304 |
justify-content: space-between; |
| 305 |
border-radius: 4px; |
| 306 |
border: 1px solid #efe6fb; |
| 307 |
background: #FFF; |
| 308 |
// box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.08); |
| 309 |
padding: 20px; |
| 310 |
transition: all 0.3s ease; |
| 311 |
|
| 312 |
img { |
| 313 |
width: 100%; |
| 314 |
} |
| 315 |
|
| 316 |
&:hover { |
| 317 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); |
| 318 |
} |
| 319 |
} |
| 320 |
|
| 321 |
// .sp-smart-pattern-card-body { |
| 322 |
// background: #ffffff; |
| 323 |
// border-radius: 4px; |
| 324 |
// box-shadow: 0 1px 2px 0 rgba(8, 40, 70, 0.15); |
| 325 |
// display: flex; |
| 326 |
// flex-direction: column; |
| 327 |
// gap: 10px; |
| 328 |
// justify-content: space-between; |
| 329 |
// padding: 10px; |
| 330 |
// } |
| 331 |
// .sp-smart-popup-sync { |
| 332 |
// margin-left: 2px; |
| 333 |
// margin-top: 2px; |
| 334 |
// } |
| 335 |
|
| 336 |
.sp-smart-pattern-list-container .sp-smart-pattern-grid, |
| 337 |
.sp-smart-pattern-list-container .sp-smart-post-starter-content { |
| 338 |
display: grid; |
| 339 |
gap: 30px; |
| 340 |
padding: 32px 0; |
| 341 |
} |
| 342 |
|
| 343 |
.sp-smart-pattern-list-container .sp-smart-pattern-col2 { |
| 344 |
grid-template-columns: repeat(2, 1fr); |
| 345 |
} |
| 346 |
|
| 347 |
.sp-smart-pattern-list-container .sp-smart-pattern-col3 { |
| 348 |
grid-template-columns: repeat(3, 1fr); |
| 349 |
} |
| 350 |
|
| 351 |
.sp-smart-item-list-info { |
| 352 |
display: flex; |
| 353 |
justify-content: space-between; |
| 354 |
align-items: center; |
| 355 |
text-transform: capitalize; |
| 356 |
cursor: pointer; |
| 357 |
|
| 358 |
a { |
| 359 |
color: inherit; |
| 360 |
text-decoration: none; |
| 361 |
} |
| 362 |
} |
| 363 |
|
| 364 |
.sp-smart-item-list-info span { |
| 365 |
font-size: 16px; |
| 366 |
font-weight: 500; |
| 367 |
} |
| 368 |
|
| 369 |
.smart-post-action-btn a, |
| 370 |
.smart-post-action-btn span { |
| 371 |
height: 36px; |
| 372 |
line-height: 36px; |
| 373 |
padding: 0 14px; |
| 374 |
color: #fff; |
| 375 |
font-size: 13px; |
| 376 |
font-weight: 500; |
| 377 |
text-decoration: none; |
| 378 |
text-transform: uppercase; |
| 379 |
position: relative; |
| 380 |
} |
| 381 |
|
| 382 |
.sp-smart-import-or-pro-tooltip { |
| 383 |
position: absolute; |
| 384 |
background-color: #3c434a; |
| 385 |
color: #fff; |
| 386 |
border-radius: 4px; |
| 387 |
top: calc(-100% - 10px); |
| 388 |
white-space: nowrap; |
| 389 |
left: 50%; |
| 390 |
transform: translateX(-50%); |
| 391 |
opacity: 0; |
| 392 |
visibility: hidden; |
| 393 |
pointer-events: none; |
| 394 |
font-size: 11px; |
| 395 |
text-transform: capitalize; |
| 396 |
transition: all 0.3s ease-in-out; |
| 397 |
|
| 398 |
span { |
| 399 |
text-transform: none; |
| 400 |
padding: 0 10px; |
| 401 |
} |
| 402 |
|
| 403 |
&::before { |
| 404 |
content: ''; |
| 405 |
position: absolute; |
| 406 |
bottom: -6px; |
| 407 |
left: 50%; |
| 408 |
transform: translateX(-50%); |
| 409 |
width: 0; |
| 410 |
height: 0; |
| 411 |
border-left: 6px solid transparent; |
| 412 |
border-right: 6px solid transparent; |
| 413 |
border-top: 6px solid #3c434a; |
| 414 |
} |
| 415 |
} |
| 416 |
|
| 417 |
.sp-smart-import-btn:hover .sp-smart-import-or-pro-tooltip, |
| 418 |
.sp-smart-btn-pro:hover .sp-smart-import-or-pro-tooltip { |
| 419 |
opacity: 1; |
| 420 |
pointer-events: auto; |
| 421 |
visibility: visible; |
| 422 |
} |
| 423 |
|
| 424 |
.smart-post-action-btn a { |
| 425 |
svg { |
| 426 |
vertical-align: middle; |
| 427 |
margin-right: 6px; |
| 428 |
margin-top: -3px; |
| 429 |
} |
| 430 |
} |
| 431 |
|
| 432 |
.smart-post-action-btn .sp-smart-import-btn { |
| 433 |
display: flex; |
| 434 |
flex-direction: row; |
| 435 |
align-items: center; |
| 436 |
justify-content: center; |
| 437 |
border-radius: 4px; |
| 438 |
background-color: #3D9E56; |
| 439 |
transition: background-color 400ms; |
| 440 |
cursor: auto; |
| 441 |
|
| 442 |
svg { |
| 443 |
vertical-align: middle; |
| 444 |
margin-top: -2px; |
| 445 |
margin-right: 5px; |
| 446 |
color: #fff; |
| 447 |
} |
| 448 |
|
| 449 |
} |
| 450 |
|
| 451 |
// .smart-post-action-btn .sp-smart-import-btn:hover { |
| 452 |
// background-color: #18dda0; |
| 453 |
// } |
| 454 |
|
| 455 |
.smart-post-action-btn .sp-smart-btn-pro { |
| 456 |
border-radius: 4px; |
| 457 |
background: #EA7E11; |
| 458 |
transition: background-color 400ms; |
| 459 |
display: flex; |
| 460 |
align-items: center; |
| 461 |
cursor: auto; |
| 462 |
} |
| 463 |
|
| 464 |
// .smart-post-action-btn .sp-smart-btn-pro:hover { |
| 465 |
// background-color: #ff9336; |
| 466 |
// } |
| 467 |
|
| 468 |
.smart-post-action-btn:has(.sp-smart-pattern-wishlist) { |
| 469 |
display: flex; |
| 470 |
align-items: center; |
| 471 |
gap: 8px; |
| 472 |
cursor: pointer; |
| 473 |
} |
| 474 |
|
| 475 |
.sp-smart-pattern-wishlist.sp-smart-pattern-wishlist-active { |
| 476 |
background: #404040; |
| 477 |
} |
| 478 |
|
| 479 |
.sp-smart-pattern-wishlist.sp-smart-pattern-wishlist-active svg { |
| 480 |
fill: #fff !important; |
| 481 |
} |
| 482 |
|
| 483 |
.smart-post-action-btn .sp-smart-pattern-wishlist { |
| 484 |
height: 36px; |
| 485 |
line-height: 36px; |
| 486 |
width: 36px; |
| 487 |
padding: 0; |
| 488 |
color: #757575; |
| 489 |
display: flex; |
| 490 |
align-items: center; |
| 491 |
border-radius: 50%; |
| 492 |
justify-content: center; |
| 493 |
border: 1px solid #F0F0F0; |
| 494 |
background: #FFF; |
| 495 |
box-shadow: 1px 1px 5px 1px rgba(76, 189, 246, 0.10); |
| 496 |
|
| 497 |
svg { |
| 498 |
height: 16px; |
| 499 |
width: 16px; |
| 500 |
color: #F26262; |
| 501 |
} |
| 502 |
|
| 503 |
// i { |
| 504 |
// margin: auto; |
| 505 |
// line-height: 36px; |
| 506 |
// font-size: 14px; |
| 507 |
// } |
| 508 |
} |
| 509 |
|
| 510 |
.sp-smart-pattern-img { |
| 511 |
display: block; |
| 512 |
width: 100%; |
| 513 |
} |
| 514 |
|
| 515 |
.sp-smart-pattern-overlay { |
| 516 |
font-weight: 600; |
| 517 |
width: 100%; |
| 518 |
height: 100%; |
| 519 |
justify-content: center; |
| 520 |
align-items: center; |
| 521 |
top: 0; |
| 522 |
left: 0; |
| 523 |
position: absolute; |
| 524 |
display: flex; |
| 525 |
background: rgba(0, 0, 0, 0); |
| 526 |
transition: all 0.3s ease; |
| 527 |
} |
| 528 |
|
| 529 |
.sp-smart-item-list-overlay { |
| 530 |
cursor: pointer; |
| 531 |
box-sizing: border-box; |
| 532 |
text-align: center; |
| 533 |
position: relative; |
| 534 |
line-height: 0; |
| 535 |
border-radius: 6px; |
| 536 |
overflow: hidden; |
| 537 |
border: 1px solid transparent; |
| 538 |
} |
| 539 |
|
| 540 |
|
| 541 |
.sp-smart-item-list:hover .sp-smart-pattern-overlay { |
| 542 |
background: rgba(0, 0, 0, 0.7); |
| 543 |
border-radius: 4px; |
| 544 |
} |
| 545 |
|
| 546 |
.sp-smart-overlay-view { |
| 547 |
opacity: 0; |
| 548 |
border-radius: 4px; |
| 549 |
border: 1px solid #E0E0E0; |
| 550 |
background: rgba(255, 255, 255, 0.10); |
| 551 |
display: flex; |
| 552 |
padding: 12px 16px; |
| 553 |
justify-content: center; |
| 554 |
align-items: center; |
| 555 |
gap: 6px; |
| 556 |
text-decoration: none; |
| 557 |
color: #FFF; |
| 558 |
font-size: 14px; |
| 559 |
font-style: normal; |
| 560 |
font-weight: 600; |
| 561 |
line-height: 20px; |
| 562 |
transition: all 0.3s ease-in-out; |
| 563 |
&:focus { |
| 564 |
color: #FFF; |
| 565 |
} |
| 566 |
} |
| 567 |
|
| 568 |
.sp-smart-item-list:hover .sp-smart-overlay-view { |
| 569 |
opacity: 1; |
| 570 |
} |
| 571 |
|
| 572 |
.sp-smart-overlay-view:hover { |
| 573 |
opacity: 1; |
| 574 |
background: #6F22DD; |
| 575 |
border-color: #6F22DD; |
| 576 |
text-decoration: none; |
| 577 |
color: #FFF; |
| 578 |
} |
| 579 |
|
| 580 |
// Error Boundary Styles |
| 581 |
.sp-smart-error-boundary { |
| 582 |
display: flex; |
| 583 |
align-items: center; |
| 584 |
justify-content: center; |
| 585 |
min-height: 400px; |
| 586 |
padding: 40px; |
| 587 |
background: #fff; |
| 588 |
border-radius: 8px; |
| 589 |
|
| 590 |
.sp-smart-error-content { |
| 591 |
text-align: center; |
| 592 |
max-width: 500px; |
| 593 |
|
| 594 |
h3 { |
| 595 |
color: #d63638; |
| 596 |
margin-bottom: 16px; |
| 597 |
font-size: 20px; |
| 598 |
} |
| 599 |
|
| 600 |
p { |
| 601 |
margin-bottom: 24px; |
| 602 |
color: #50575e; |
| 603 |
line-height: 1.6; |
| 604 |
} |
| 605 |
|
| 606 |
.sp-smart-error-details { |
| 607 |
margin: 20px 0; |
| 608 |
text-align: left; |
| 609 |
background: #f6f7f7; |
| 610 |
border-radius: 4px; |
| 611 |
|
| 612 |
summary { |
| 613 |
padding: 12px 16px; |
| 614 |
cursor: pointer; |
| 615 |
font-weight: 600; |
| 616 |
color: #50575e; |
| 617 |
border-bottom: 1px solid #dcdcde; |
| 618 |
} |
| 619 |
|
| 620 |
pre { |
| 621 |
padding: 16px; |
| 622 |
margin: 0; |
| 623 |
font-size: 12px; |
| 624 |
color: #646970; |
| 625 |
overflow-x: auto; |
| 626 |
white-space: pre-wrap; |
| 627 |
} |
| 628 |
} |
| 629 |
|
| 630 |
.sp-smart-retry-button { |
| 631 |
background: var(--sp-smart-primary-2-400, #6F22DD); |
| 632 |
color: #fff; |
| 633 |
border: none; |
| 634 |
padding: 12px 24px; |
| 635 |
border-radius: 6px; |
| 636 |
font-size: 14px; |
| 637 |
font-weight: 600; |
| 638 |
cursor: pointer; |
| 639 |
transition: background-color 0.2s ease; |
| 640 |
|
| 641 |
&:hover { |
| 642 |
background: var(--sp-smart-primary-2-500, #5a1bb3); |
| 643 |
} |
| 644 |
|
| 645 |
&:focus { |
| 646 |
outline: 2px solid var(--sp-smart-primary-2-400, #6F22DD); |
| 647 |
outline-offset: 2px; |
| 648 |
} |
| 649 |
} |
| 650 |
} |
| 651 |
} |
| 652 |
|
| 653 |
.sp-smart-image-rotate { |
| 654 |
font-size: 30px; |
| 655 |
padding: 20px 0; |
| 656 |
display: block; |
| 657 |
line-height: 1.5; |
| 658 |
} |
| 659 |
|
| 660 |
|
| 661 |
.sp-smart-template-library-sidebar-wrapper { |
| 662 |
position: sticky; |
| 663 |
top: 0px; |
| 664 |
width: 320px; |
| 665 |
display: flex; |
| 666 |
flex-direction: column; |
| 667 |
margin: 18px 0 0 48px; |
| 668 |
overflow-y: auto; |
| 669 |
scrollbar-width: thin; |
| 670 |
scrollbar-color: rgb(224, 224, 224) transparent; |
| 671 |
border-radius: 0px; |
| 672 |
padding: 0px; |
| 673 |
gap: 16px; |
| 674 |
|
| 675 |
/* Firefox Configuration */ |
| 676 |
scrollbar-width: thin; |
| 677 |
scrollbar-color: transparent transparent; /* Opacity 0 by default */ |
| 678 |
transition: scrollbar-color 0.50s ease-in-out; /* 2-Second smooth transition */ |
| 679 |
|
| 680 |
/* Chrome, Safari, and Edge Configuration */ |
| 681 |
&::-webkit-scrollbar { |
| 682 |
width: 6px !important; /* Always allocated so layout doesn't shift */ |
| 683 |
} |
| 684 |
|
| 685 |
&::-webkit-scrollbar-track { |
| 686 |
background: transparent !important; |
| 687 |
} |
| 688 |
|
| 689 |
&::-webkit-scrollbar-thumb { |
| 690 |
/* Default: Opacity 0 (completely transparent gray) */ |
| 691 |
background-color: rgba(210, 210, 210, 0) !important; |
| 692 |
border-radius: 4px !important; |
| 693 |
/* Tells WebKit to transition the color change smoothly over 2 seconds */ |
| 694 |
transition: scrollbar-color 0.50s ease-in-out; /* Super fast transition */ |
| 695 |
} |
| 696 |
|
| 697 |
/* --- Hover State: Smoothly Fade In over 2 Seconds --- */ |
| 698 |
&:hover { |
| 699 |
/* Firefox Fade In */ |
| 700 |
scrollbar-color: rgb(210, 210, 210) transparent; |
| 701 |
|
| 702 |
/* Chrome/Safari/Edge Fade In */ |
| 703 |
&::-webkit-scrollbar-thumb { |
| 704 |
background-color: rgba(210, 210, 210, 1) !important; /* Opacity 1 */ |
| 705 |
} |
| 706 |
} |
| 707 |
|
| 708 |
.sp-smart-template-library-sidebar-header { |
| 709 |
color: #00073a; |
| 710 |
font-size: 18px; |
| 711 |
font-style: normal; |
| 712 |
font-weight: 600; |
| 713 |
line-height: 20px; |
| 714 |
// margin: 28px 0 28px; |
| 715 |
display: flex; |
| 716 |
align-items: center; |
| 717 |
gap: 8px; |
| 718 |
|
| 719 |
/* 1. Targets the Block Types header specifically */ |
| 720 |
&.Block-Types { |
| 721 |
margin: 32px 0 28px; |
| 722 |
} |
| 723 |
|
| 724 |
/* 2. Optional: Targets the Pattern Types header specifically */ |
| 725 |
&.Pattern-Types { |
| 726 |
margin: 28px 0 28px; |
| 727 |
} |
| 728 |
|
| 729 |
} |
| 730 |
|
| 731 |
// .sp-smart-template-filter-category > .sp-smart-template-library-sidebar-header:first-child { |
| 732 |
// margin-top: 2px; |
| 733 |
// } |
| 734 |
|
| 735 |
.sp-smart-sidebar-category-filter { |
| 736 |
display: flex; |
| 737 |
flex-direction: column; |
| 738 |
gap: 0; |
| 739 |
} |
| 740 |
.sp-smart-sidebar-option { |
| 741 |
display: flex; |
| 742 |
align-items: center; |
| 743 |
cursor: pointer; |
| 744 |
padding: 12px; |
| 745 |
border-radius: 5px; |
| 746 |
transition: .2s; |
| 747 |
margin-bottom: 4px; |
| 748 |
background: 0 0; |
| 749 |
|
| 750 |
input[type=radio]=radio] { |
| 751 |
margin: 0 12px 0 0; |
| 752 |
width: 13px; |
| 753 |
height: 13px; |
| 754 |
cursor: pointer; |
| 755 |
appearance: none; |
| 756 |
-webkit-appearance: none; |
| 757 |
-moz-appearance: none; |
| 758 |
position: relative; |
| 759 |
border-radius: 50%; |
| 760 |
background: #fff; |
| 761 |
border: 1px solid #7983a6; |
| 762 |
flex-shrink: 0; |
| 763 |
box-sizing: border-box; |
| 764 |
display: none; |
| 765 |
} |
| 766 |
.sp-smart-radio-label { |
| 767 |
flex: 1; |
| 768 |
font-size: 14px; |
| 769 |
color: #00073a; |
| 770 |
display: flex; |
| 771 |
align-items: center; |
| 772 |
justify-content: space-between; |
| 773 |
cursor: pointer; |
| 774 |
font-weight: 500; |
| 775 |
} |
| 776 |
input[type=radio]=radio]:checked+.sp-smart-radio-label { |
| 777 |
color: var(--sp-smart-primary-2-600); |
| 778 |
} |
| 779 |
&:hover { |
| 780 |
background: var(--sp-smart-primary-2-50); |
| 781 |
} |
| 782 |
&.sp-active { |
| 783 |
background: var( --sp-smart-primary-2-50 ); |
| 784 |
} |
| 785 |
} |
| 786 |
} |
| 787 |
|
| 788 |
|
| 789 |
.sp-smart-popup-wrap { |
| 790 |
.sp-smart-template-wrap { |
| 791 |
position: relative; |
| 792 |
height: calc(100% - 90px); |
| 793 |
} |
| 794 |
.sp-smart-pattern-list-container { |
| 795 |
height: 100%; |
| 796 |
} |
| 797 |
} |
| 798 |
|
| 799 |
|
| 800 |
// Starter Site Design. |
| 801 |
.sp-smart-post-starter-content { |
| 802 |
h1,h2,h3,h4,h5,h6,p { |
| 803 |
margin: 0; |
| 804 |
} |
| 805 |
.sp-smart-starter-img { |
| 806 |
img { |
| 807 |
width: 100%; |
| 808 |
height: 100%; |
| 809 |
} |
| 810 |
|
| 811 |
} |
| 812 |
.sp-smart-item-list { |
| 813 |
border-radius: 4px; |
| 814 |
border: 1px solid #E0E0E0; |
| 815 |
background: #FFF; |
| 816 |
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.08); |
| 817 |
} |
| 818 |
.sp-smart-item-list-info { |
| 819 |
padding: 16px; |
| 820 |
} |
| 821 |
.sp-smart-item-list-overlay { |
| 822 |
margin: 0 16px 16px; |
| 823 |
} |
| 824 |
.sp-ready-page-card { |
| 825 |
.sp-smart-item-list-overlay { |
| 826 |
margin: 16px 16px 0; |
| 827 |
} |
| 828 |
} |
| 829 |
.sp-smart-starter-overlay { |
| 830 |
font-weight: 600; |
| 831 |
width: 100%; |
| 832 |
height: 100%; |
| 833 |
justify-content: center; |
| 834 |
align-items: center; |
| 835 |
top: 0; |
| 836 |
left: 0; |
| 837 |
position: absolute; |
| 838 |
display: flex; |
| 839 |
flex-direction: column; |
| 840 |
gap: 16px; |
| 841 |
background: rgba(0, 0, 0, 0); |
| 842 |
} |
| 843 |
.sp-smart-item-list:hover .sp-smart-starter-overlay { |
| 844 |
background: rgba(0, 0, 0, 0.7); |
| 845 |
border-radius: 4px; |
| 846 |
} |
| 847 |
.sp-starter-site-title { |
| 848 |
color: #1E1E1E; |
| 849 |
font-size: 16px; |
| 850 |
font-style: normal; |
| 851 |
font-weight: 600; |
| 852 |
line-height: 120%; |
| 853 |
text-transform: capitalize; |
| 854 |
} |
| 855 |
.sp-starter-site-template-count { |
| 856 |
color: #757575; |
| 857 |
font-size: 13px; |
| 858 |
font-style: normal; |
| 859 |
font-weight: 500; |
| 860 |
line-height: 120%; |
| 861 |
text-transform: capitalize; |
| 862 |
margin-top: 4px; |
| 863 |
} |
| 864 |
.smart-post-action-btn { |
| 865 |
display: flex; |
| 866 |
align-items: center; |
| 867 |
gap: 8px; |
| 868 |
|
| 869 |
.sp-smart-starter-wishlist { |
| 870 |
display: flex; |
| 871 |
width: 36px; |
| 872 |
height: 36px; |
| 873 |
justify-content: center; |
| 874 |
align-items: center; |
| 875 |
gap: 7px; |
| 876 |
border-radius: 50%; |
| 877 |
border: 1px solid #F0F0F0; |
| 878 |
background: #FFF; |
| 879 |
box-shadow: 1px 1px 5px 1px rgba(76, 189, 246, 0.10); |
| 880 |
padding: 0; |
| 881 |
svg { |
| 882 |
width: 16px; |
| 883 |
height: 16px; |
| 884 |
color: var(--sp-smart-primary-2-400); |
| 885 |
} |
| 886 |
} |
| 887 |
.sp-smart-btn-free { |
| 888 |
border-radius: 4px; |
| 889 |
background-color: #3D9E56; |
| 890 |
} |
| 891 |
} |
| 892 |
} |
| 893 |
.sp-smart-post-starter-site-selected-site-container { |
| 894 |
display: flex; |
| 895 |
overflow: hidden; |
| 896 |
height: calc( 100% - 72px ); |
| 897 |
|
| 898 |
.sp-smart-post-starter-site-wrapper { |
| 899 |
display: flex; |
| 900 |
flex-direction: column; |
| 901 |
gap: 24px; |
| 902 |
padding: 32px 48px; |
| 903 |
width: 100%; |
| 904 |
} |
| 905 |
.sp-smart-post-starter-site-header-content { |
| 906 |
display: flex; |
| 907 |
flex-direction: row; |
| 908 |
justify-content: space-between; |
| 909 |
align-items: center; |
| 910 |
border-radius: 6px; |
| 911 |
border: 1px solid #ECECEC; |
| 912 |
padding: 16px 32px; |
| 913 |
box-sizing: border-box; |
| 914 |
width: 100%; |
| 915 |
|
| 916 |
.sp-smart-info-area { |
| 917 |
display: flex; |
| 918 |
gap: 16px; |
| 919 |
align-items: center; |
| 920 |
text-transform: capitalize; |
| 921 |
|
| 922 |
button.sp-smart-info-text { |
| 923 |
cursor: pointer; |
| 924 |
padding: 0; |
| 925 |
} |
| 926 |
|
| 927 |
.sp-smart-info-text { |
| 928 |
color:#2F2F2F; |
| 929 |
font-size: 16px; |
| 930 |
font-style: normal; |
| 931 |
font-weight: 600; |
| 932 |
line-height: 1.2; |
| 933 |
border: none; |
| 934 |
background-color: transparent; |
| 935 |
} |
| 936 |
.sp-smart-info-divider { |
| 937 |
font-size: 20px; |
| 938 |
line-height: 1; |
| 939 |
color: #ECEDF0; |
| 940 |
} |
| 941 |
} |
| 942 |
.sp-smart-button-area { |
| 943 |
display: flex; |
| 944 |
align-items: center; |
| 945 |
gap: 16px; |
| 946 |
|
| 947 |
.sp-smart-preview-btn, |
| 948 |
.sp-smart-import-btn { |
| 949 |
display: flex; |
| 950 |
padding: 12px 16px; |
| 951 |
justify-content: center; |
| 952 |
align-items: center; |
| 953 |
gap: 6px; |
| 954 |
align-self: stretch; |
| 955 |
border-radius: 4px; |
| 956 |
color: #fff; |
| 957 |
background: #3D9E56; |
| 958 |
font-size: 14px; |
| 959 |
border: none; |
| 960 |
cursor: pointer; |
| 961 |
} |
| 962 |
.sp-smart-preview-btn { |
| 963 |
color: #757575; |
| 964 |
border: 1px solid #E0E0E0; |
| 965 |
background: transparent; |
| 966 |
text-decoration: none; |
| 967 |
} |
| 968 |
} |
| 969 |
} |
| 970 |
.spsp-starter-site-content-container { |
| 971 |
border-radius: 6px; |
| 972 |
border: 1px solid #F0F0F0; |
| 973 |
background: #FFF; |
| 974 |
overflow: hidden; |
| 975 |
} |
| 976 |
.spsp-starter-site-content-wrapper { |
| 977 |
display: grid; |
| 978 |
grid-template-columns: 1fr 1.5fr; |
| 979 |
|
| 980 |
.spsp-starter-site-wrapper { |
| 981 |
display: flex; |
| 982 |
flex-direction: column; |
| 983 |
gap: 16px; |
| 984 |
padding: 20px; |
| 985 |
background: #F5F6FF; |
| 986 |
box-shadow: 1px 0 4px 0 rgba(0, 0, 0, 0.10); |
| 987 |
height: calc( 100vh - 340px ); |
| 988 |
overflow-y: scroll; |
| 989 |
&::-webkit-scrollbar { |
| 990 |
width: 4px; |
| 991 |
background-color: transparent; |
| 992 |
} |
| 993 |
&::-webkit-scrollbar-thumb { |
| 994 |
width: 3px; |
| 995 |
background-color: var(--sp-smart-primary-2-100); |
| 996 |
border-radius: 20px; |
| 997 |
} |
| 998 |
|
| 999 |
.spsp-starter-site-note { |
| 1000 |
display: flex; |
| 1001 |
gap: 6px; |
| 1002 |
align-self: flex-start; |
| 1003 |
font-size: 12px; |
| 1004 |
font-style: normal; |
| 1005 |
font-weight: 400; |
| 1006 |
line-height: 20px; |
| 1007 |
color: #3D9E56; |
| 1008 |
border-radius: 2px; |
| 1009 |
background: #3d9e561a; |
| 1010 |
padding: 2px 6px; |
| 1011 |
margin: 0; |
| 1012 |
a { |
| 1013 |
color: #3D9E56; |
| 1014 |
text-decoration-line: underline; |
| 1015 |
text-decoration-style: solid; |
| 1016 |
text-decoration-skip-ink: none; |
| 1017 |
text-decoration-thickness: auto; |
| 1018 |
text-underline-offset: 25%; |
| 1019 |
} |
| 1020 |
} |
| 1021 |
} |
| 1022 |
} |
| 1023 |
.spsp-stater-sites-card-wrapper { |
| 1024 |
display: grid; |
| 1025 |
grid-template-columns: 1fr 1fr; |
| 1026 |
gap: 16px; |
| 1027 |
|
| 1028 |
.sp-page-card-wrapper { |
| 1029 |
padding: 8px; |
| 1030 |
background: #FFF; |
| 1031 |
border: 1px solid #E0E0E0; |
| 1032 |
border-radius: 4px; |
| 1033 |
cursor: pointer; |
| 1034 |
|
| 1035 |
&.sp-active { |
| 1036 |
border: 1px solid #6F22DD; |
| 1037 |
} |
| 1038 |
.sp-page-card-content { |
| 1039 |
display: flex; |
| 1040 |
flex-direction: column; |
| 1041 |
gap: 8px; |
| 1042 |
height: 100%; |
| 1043 |
|
| 1044 |
.sp-page-card-image { |
| 1045 |
height: 100%; |
| 1046 |
img { |
| 1047 |
width: 100%; |
| 1048 |
height: 100%; |
| 1049 |
} |
| 1050 |
} |
| 1051 |
|
| 1052 |
.sp-page-card-title { |
| 1053 |
color: #2F2F2F; |
| 1054 |
text-align: center; |
| 1055 |
font-size: 14px; |
| 1056 |
font-style: normal; |
| 1057 |
font-weight: 600; |
| 1058 |
line-height: 1.2; |
| 1059 |
} |
| 1060 |
} |
| 1061 |
} |
| 1062 |
} |
| 1063 |
.spsp-starter-site-page-preview { |
| 1064 |
.spsp-starter-site-selected-page-preview { |
| 1065 |
height: calc( 100vh - 320px ); |
| 1066 |
overflow-y: scroll; |
| 1067 |
|
| 1068 |
&::-webkit-scrollbar { |
| 1069 |
width: 4px; |
| 1070 |
background-color: transparent; |
| 1071 |
} |
| 1072 |
&::-webkit-scrollbar-thumb { |
| 1073 |
width: 3px; |
| 1074 |
background-color: var(--sp-smart-primary-2-100); |
| 1075 |
border-radius: 20px; |
| 1076 |
} |
| 1077 |
} |
| 1078 |
} |
| 1079 |
.spsp-starter-site-selected-page-preview { |
| 1080 |
img { |
| 1081 |
width: 100%; |
| 1082 |
height: auto !important; |
| 1083 |
} |
| 1084 |
} |
| 1085 |
.sp-smart-post-page-import { |
| 1086 |
width: 16px; |
| 1087 |
height: 16px; |
| 1088 |
svg { |
| 1089 |
width: 16px; |
| 1090 |
height: 16px; |
| 1091 |
} |
| 1092 |
} |
| 1093 |
} |
| 1094 |
.sp-smart-post-starter-container { |
| 1095 |
.sp-smart-page-import { |
| 1096 |
background-color: #3D9E56; |
| 1097 |
height: 36px; |
| 1098 |
line-height: 36px; |
| 1099 |
padding: 0 14px; |
| 1100 |
color: #fff; |
| 1101 |
font-size: 14px; |
| 1102 |
font-weight: 600; |
| 1103 |
text-decoration: none; |
| 1104 |
display: flex; |
| 1105 |
align-items: center; |
| 1106 |
gap: 6px; |
| 1107 |
border-radius: 4px; |
| 1108 |
cursor: pointer; |
| 1109 |
.sp-smart-post-page-import { |
| 1110 |
display: flex; |
| 1111 |
svg { |
| 1112 |
width: 16px; |
| 1113 |
height: 16px; |
| 1114 |
} |
| 1115 |
} |
| 1116 |
} |
| 1117 |
} |
| 1118 |
|
| 1119 |
.sp-rotate svg { |
| 1120 |
animation: rotate 1.5s linear infinite; |
| 1121 |
} |
| 1122 |
|
| 1123 |
@keyframes rotate { |
| 1124 |
to { |
| 1125 |
transform: rotate(360deg); |
| 1126 |
} |
| 1127 |
} |