| 1 |
//variables----------------------------------------- |
| 2 |
$primary-color: #8b249c; |
| 3 |
$secondary-color: #3B1A5B; |
| 4 |
$text-color-1: #333435; |
| 5 |
$border-color-1: #e4e4e4; |
| 6 |
$box-shadow-1: 0 6px 15px rgba(36, 37, 38, 0.08); |
| 7 |
$box-shadow-2: 5px 12px 20px rgba(36, 37, 38, 0.13); |
| 8 |
|
| 9 |
:root { |
| 10 |
--icon-background: #e7e7e7; |
| 11 |
} |
| 12 |
|
| 13 |
body { |
| 14 |
:has(#bs-dashboard) { |
| 15 |
background-color: #f6f6f6; |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
//notice-------------------------------------------- |
| 20 |
.toplevel_page_blockspare { |
| 21 |
#wpcontent { |
| 22 |
padding: 0; |
| 23 |
} |
| 24 |
.notice { |
| 25 |
display: none !important; |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
//Container----------------------------------------- |
| 30 |
.blockspare-dashboard { |
| 31 |
&__container { |
| 32 |
padding: 0 20px; |
| 33 |
margin: 0 auto; |
| 34 |
max-width: 1180px; |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
//Button----------------------------------------- |
| 39 |
.blocksape-dashboard__button { |
| 40 |
display: inline-block; |
| 41 |
cursor: pointer; |
| 42 |
line-height: 18px; |
| 43 |
border-radius: 50px; |
| 44 |
background: $primary-color; |
| 45 |
color: #fff; |
| 46 |
border: 1px solid #f0f0f3; |
| 47 |
font-size: 14px; |
| 48 |
margin: 0; |
| 49 |
padding: 10px 24px; |
| 50 |
transition: all .25s ease; |
| 51 |
|
| 52 |
&:hover { |
| 53 |
background: $secondary-color; |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
//switch----------------------------------------- |
| 58 |
|
| 59 |
|
| 60 |
.blocksape-dashboard__switch-control { |
| 61 |
line-height: 1em; |
| 62 |
|
| 63 |
label { |
| 64 |
line-height: 1em; |
| 65 |
} |
| 66 |
|
| 67 |
input[type=checkbox]=checkbox] { |
| 68 |
display: none; |
| 69 |
} |
| 70 |
|
| 71 |
.switch { |
| 72 |
position: relative; |
| 73 |
display: inline-block; |
| 74 |
vertical-align: middle; |
| 75 |
width: 46px; |
| 76 |
height: 20px; |
| 77 |
border-radius: 24px; |
| 78 |
background: $border-color-1; |
| 79 |
cursor: pointer; |
| 80 |
-webkit-user-select: none; |
| 81 |
-moz-user-select: none; |
| 82 |
user-select: none; |
| 83 |
transition: all 1s ease; |
| 84 |
box-shadow: none; |
| 85 |
|
| 86 |
&::before { |
| 87 |
content: "OFF"; |
| 88 |
position: absolute; |
| 89 |
right: 5px; |
| 90 |
top: 50%; |
| 91 |
transform: translate3d(0, -50%, 0); |
| 92 |
padding-top: 1px; |
| 93 |
font-family: "Roboto"; |
| 94 |
font-style: normal; |
| 95 |
font-weight: 500; |
| 96 |
font-size: 11px; |
| 97 |
line-height: 13px; |
| 98 |
display: flex; |
| 99 |
align-items: center; |
| 100 |
text-align: right; |
| 101 |
letter-spacing: .04em; |
| 102 |
color: $text-color-1; |
| 103 |
transition: all 0.25s ease; |
| 104 |
} |
| 105 |
|
| 106 |
&::after { |
| 107 |
content: ""; |
| 108 |
background: #fff; |
| 109 |
display: block; |
| 110 |
width: 14px; |
| 111 |
height: 14px; |
| 112 |
border-radius: 50%; |
| 113 |
position: absolute; |
| 114 |
top: 50%; |
| 115 |
left: 3px; |
| 116 |
box-shadow: 0 1px 3px rgb(46 56 77 / 40%); |
| 117 |
transform: translate3d(0, -50%, 0); |
| 118 |
transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98); |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
input:checked+.switch { |
| 123 |
|
| 124 |
// background: $primary-color; |
| 125 |
&::before { |
| 126 |
left: 8px; |
| 127 |
right: auto; |
| 128 |
// color: #fff; |
| 129 |
content: "ON"; |
| 130 |
} |
| 131 |
|
| 132 |
&::after { |
| 133 |
transform: translate3d(26px, -50%, 0); |
| 134 |
} |
| 135 |
} |
| 136 |
} |
| 137 |
|
| 138 |
//Header----------------------------------------- |
| 139 |
|
| 140 |
.blockspare-dashboard { |
| 141 |
header { |
| 142 |
border-bottom: 1px solid $border-color-1; |
| 143 |
background-color: #fff; |
| 144 |
|
| 145 |
.navigation-wrapper { |
| 146 |
display: flex; |
| 147 |
align-items: center; |
| 148 |
justify-content: flex-start; |
| 149 |
// padding: 0px 50px 0px 20px; |
| 150 |
line-height: 1em; |
| 151 |
gap: 16px; |
| 152 |
|
| 153 |
.plugin-logo { |
| 154 |
background-image: url(https://www.blockspare.com/wp-content/themes/blockspare/assets/images/banner.jpg); |
| 155 |
background-size: cover; |
| 156 |
background-position: center; |
| 157 |
background-repeat: no-repeat; |
| 158 |
mask-image: url(../images/blockspare-logo.png); |
| 159 |
mask-size: contain; |
| 160 |
mask-repeat: no-repeat; |
| 161 |
mask-position: center; |
| 162 |
margin-right: 45px; |
| 163 |
height: 40px; |
| 164 |
width: 140px; |
| 165 |
cursor: pointer; |
| 166 |
|
| 167 |
img { |
| 168 |
height: 50px; |
| 169 |
} |
| 170 |
} |
| 171 |
|
| 172 |
.navigation-item { |
| 173 |
display: inline-block; |
| 174 |
font-weight: 600; |
| 175 |
font-size: 15px; |
| 176 |
line-height: 1.3; |
| 177 |
text-decoration: none; |
| 178 |
color: $text-color-1; |
| 179 |
padding: 23px 0px 20px 0px; |
| 180 |
border-bottom: 2px solid rgba(0, 0, 0, 0); |
| 181 |
cursor: pointer; |
| 182 |
|
| 183 |
&:not(:last-child) { |
| 184 |
margin-right: 38px; |
| 185 |
} |
| 186 |
|
| 187 |
&:hover, |
| 188 |
&.active { |
| 189 |
color: $primary-color; |
| 190 |
} |
| 191 |
|
| 192 |
&.active { |
| 193 |
border-bottom-color: $primary-color; |
| 194 |
} |
| 195 |
} |
| 196 |
.bs-dashboare-menu-mobile { |
| 197 |
display: none; |
| 198 |
.mobile-menu-icon { |
| 199 |
padding: 23px 0; |
| 200 |
cursor: pointer; |
| 201 |
svg { |
| 202 |
width: 32px; |
| 203 |
height: 32px; |
| 204 |
} |
| 205 |
} |
| 206 |
.mobile-menu-content { |
| 207 |
position: fixed; |
| 208 |
top: 0; |
| 209 |
left: 0; |
| 210 |
width: 100%; |
| 211 |
height: 100%; |
| 212 |
background: #fff; |
| 213 |
z-index: 99; |
| 214 |
padding: 46px 16px; |
| 215 |
|
| 216 |
.mobile-menu-close { |
| 217 |
position: relative; |
| 218 |
svg { |
| 219 |
position: absolute; |
| 220 |
top: 23px; |
| 221 |
right: 4px; |
| 222 |
width: 32px; |
| 223 |
height: 32px; |
| 224 |
} |
| 225 |
} |
| 226 |
|
| 227 |
.navigation-items-mobile { |
| 228 |
width: 100%; |
| 229 |
height: 100%; |
| 230 |
display: flex; |
| 231 |
flex-direction: column; |
| 232 |
align-items: center; |
| 233 |
justify-content: center; |
| 234 |
|
| 235 |
.navigation-item { |
| 236 |
margin: 0; |
| 237 |
font-size: 24px; |
| 238 |
} |
| 239 |
} |
| 240 |
} |
| 241 |
} |
| 242 |
.bs-dashboard-upgrade-button { |
| 243 |
margin-left: auto; |
| 244 |
} |
| 245 |
} |
| 246 |
} |
| 247 |
} |
| 248 |
|
| 249 |
//Common----------------------------------------- |
| 250 |
.blockspare-dashboard { |
| 251 |
* { |
| 252 |
box-sizing: border-box; |
| 253 |
} |
| 254 |
|
| 255 |
.content-wrapper { |
| 256 |
margin: 40px 0; |
| 257 |
// box-shadow: $box-shadow-1; |
| 258 |
// background-color: #f6f6f6; |
| 259 |
// box-shadow: 0 6px 15px rgba(36, 37, 38, 0.08); |
| 260 |
// border-radius: 6px; |
| 261 |
// border: 1px solid $border-color-1; |
| 262 |
// overflow: hidden; |
| 263 |
} |
| 264 |
|
| 265 |
h1 { |
| 266 |
margin: 0; |
| 267 |
font-size: 24px; |
| 268 |
font-weight: 600; |
| 269 |
line-height: 32px; |
| 270 |
} |
| 271 |
|
| 272 |
a:focus { |
| 273 |
box-shadow: none; |
| 274 |
outline: none; |
| 275 |
} |
| 276 |
} |
| 277 |
|
| 278 |
|
| 279 |
//Welcome----------------------------------------- |
| 280 |
|
| 281 |
.blockspare-dashboard { |
| 282 |
.content-wrapper { |
| 283 |
&.dashboard { |
| 284 |
display: flex; |
| 285 |
align-items: start; |
| 286 |
justify-content: center; |
| 287 |
// padding: 40px; |
| 288 |
gap: 30px; |
| 289 |
} |
| 290 |
} |
| 291 |
|
| 292 |
.panel-wrapper { |
| 293 |
display: flex; |
| 294 |
flex-wrap: wrap; |
| 295 |
gap: 30px; |
| 296 |
|
| 297 |
// &.first-wrapper { |
| 298 |
// margin-right: 30px; |
| 299 |
// } |
| 300 |
|
| 301 |
&.second-wrapper { |
| 302 |
max-width: 300px; |
| 303 |
height: 100%; |
| 304 |
position: sticky; |
| 305 |
top: 60px; |
| 306 |
} |
| 307 |
} |
| 308 |
|
| 309 |
.box-panel { |
| 310 |
display: flex; |
| 311 |
width: 100%; |
| 312 |
// border-radius: 6px; |
| 313 |
// padding: 25px; |
| 314 |
justify-content: center; |
| 315 |
} |
| 316 |
|
| 317 |
.feature-panel, |
| 318 |
.subscribe-panel { |
| 319 |
display: flex; |
| 320 |
|
| 321 |
padding: 0px; |
| 322 |
justify-content: center; |
| 323 |
|
| 324 |
>div { |
| 325 |
position: relative; |
| 326 |
padding: 0px; |
| 327 |
display: flex; |
| 328 |
flex-wrap: wrap; |
| 329 |
justify-content: flex-start; |
| 330 |
align-content: center; |
| 331 |
} |
| 332 |
|
| 333 |
h2, |
| 334 |
span { |
| 335 |
display: block; |
| 336 |
margin: 0; |
| 337 |
width: 100%; |
| 338 |
} |
| 339 |
|
| 340 |
span { |
| 341 |
color: #64748b; |
| 342 |
font-size: 16px; |
| 343 |
line-height: 1.7; |
| 344 |
} |
| 345 |
} |
| 346 |
|
| 347 |
.feature-panel { |
| 348 |
margin: 0; |
| 349 |
// margin-bottom: 30px; |
| 350 |
flex-direction: column; |
| 351 |
background: #fff; |
| 352 |
padding: 30px; |
| 353 |
border-radius: 6px; |
| 354 |
box-shadow: $box-shadow-1; |
| 355 |
|
| 356 |
>div { |
| 357 |
|
| 358 |
// width: 50%; |
| 359 |
&:first-child { |
| 360 |
justify-content: flex-start; |
| 361 |
|
| 362 |
>div { |
| 363 |
// margin-right: 40px; |
| 364 |
} |
| 365 |
} |
| 366 |
|
| 367 |
&:last-child { |
| 368 |
aspect-ratio: 16/9; |
| 369 |
border-radius: 6px; |
| 370 |
overflow: hidden; |
| 371 |
|
| 372 |
.video { |
| 373 |
width: 100%; |
| 374 |
height: 100%; |
| 375 |
background-color: rgba(0, 0, 0, 0.1); |
| 376 |
} |
| 377 |
} |
| 378 |
} |
| 379 |
|
| 380 |
h1 { |
| 381 |
font-size: 28px; |
| 382 |
line-height: 38.4px; |
| 383 |
color: $text-color-1; |
| 384 |
margin-bottom: 10px; |
| 385 |
font-weight: 600; |
| 386 |
} |
| 387 |
|
| 388 |
span { |
| 389 |
margin-bottom: 28px; |
| 390 |
} |
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
.illustration { |
| 395 |
width: 100%; |
| 396 |
height: 314px; |
| 397 |
border-radius: 6px; |
| 398 |
-o-object-fit: cover; |
| 399 |
object-fit: cover; |
| 400 |
} |
| 401 |
|
| 402 |
} |
| 403 |
|
| 404 |
.links-panel { |
| 405 |
padding: 0; |
| 406 |
display: block; |
| 407 |
|
| 408 |
.bs-dashboard { |
| 409 |
&__footer { |
| 410 |
width: 100%; |
| 411 |
background-color: #000; |
| 412 |
background: linear-gradient(180deg, hsla(292, 63%, 38%, 1) 0%, hsla(270, 56%, 23%, 1) 50%, hsla(0, 0%, 7%, 1) 100%); |
| 413 |
background-position: top; |
| 414 |
background-size: cover; |
| 415 |
border-radius: 6px; |
| 416 |
color: #fff; |
| 417 |
flex-direction: column; |
| 418 |
justify-content: center; |
| 419 |
padding: 38px 40px; |
| 420 |
text-align: center; |
| 421 |
box-sizing: border-box; |
| 422 |
|
| 423 |
h2 { |
| 424 |
color: #fff; |
| 425 |
font-size: 24px; |
| 426 |
font-weight: 600; |
| 427 |
line-height: 1.3; |
| 428 |
margin-top: 0; |
| 429 |
justify-content: center; |
| 430 |
} |
| 431 |
|
| 432 |
p { |
| 433 |
line-height: 1.6; |
| 434 |
font-size: 16px; |
| 435 |
color: #cecece; |
| 436 |
} |
| 437 |
|
| 438 |
} |
| 439 |
|
| 440 |
&__button-group { |
| 441 |
display: flex; |
| 442 |
flex-wrap: wrap; |
| 443 |
justify-content: center; |
| 444 |
column-gap: 16px; |
| 445 |
row-gap: 32px; |
| 446 |
margin-top: 32px; |
| 447 |
} |
| 448 |
|
| 449 |
&__button { |
| 450 |
border: none; |
| 451 |
box-sizing: border-box !important; |
| 452 |
color: #fff; |
| 453 |
cursor: pointer; |
| 454 |
display: inline-block; |
| 455 |
font-size: 14px; |
| 456 |
font-weight: 500; |
| 457 |
letter-spacing: 1px; |
| 458 |
padding: 12px 20px; |
| 459 |
text-decoration: none; |
| 460 |
text-transform: capitalize; |
| 461 |
border-radius: 100px; |
| 462 |
transition: all .1s ease-in-out; |
| 463 |
|
| 464 |
&.primary { |
| 465 |
background: $primary-color; |
| 466 |
|
| 467 |
&:hover { |
| 468 |
background: $secondary-color !important; |
| 469 |
color: #fff !important; |
| 470 |
} |
| 471 |
} |
| 472 |
|
| 473 |
&.secondary { |
| 474 |
background: #0000; |
| 475 |
box-shadow: inset 0 0 0 1px; |
| 476 |
|
| 477 |
&:hover { |
| 478 |
background: $secondary-color !important; |
| 479 |
box-shadow: inset 0 0 0 0 !important; |
| 480 |
color: #fff !important; |
| 481 |
} |
| 482 |
} |
| 483 |
} |
| 484 |
} |
| 485 |
} |
| 486 |
|
| 487 |
.rating-panel { |
| 488 |
padding: 0; |
| 489 |
cursor: pointer; |
| 490 |
|
| 491 |
.bs-illustration { |
| 492 |
width: 100%; |
| 493 |
border-radius: 6px; |
| 494 |
box-shadow: $box-shadow-1; |
| 495 |
} |
| 496 |
} |
| 497 |
|
| 498 |
.support-panel { |
| 499 |
display: block; |
| 500 |
// background-color: #fff; |
| 501 |
// box-shadow: $box-shadow-1; |
| 502 |
// padding: 0; |
| 503 |
background: #fff; |
| 504 |
padding: 30px; |
| 505 |
border-radius: 6px; |
| 506 |
box-shadow: $box-shadow-1; |
| 507 |
|
| 508 |
.details { |
| 509 |
display: flex; |
| 510 |
flex-wrap: wrap; |
| 511 |
// border-radius: 6px; |
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
span { |
| 516 |
margin: 10px 0; |
| 517 |
&.description { |
| 518 |
font-size: 13px; |
| 519 |
line-height: 1.7; |
| 520 |
} |
| 521 |
} |
| 522 |
h2 { |
| 523 |
margin: 0; |
| 524 |
} |
| 525 |
|
| 526 |
a { |
| 527 |
width: -moz-fit-content; |
| 528 |
width: fit-content; |
| 529 |
// margin: 10px 0; |
| 530 |
display: flex; |
| 531 |
justify-content: flex-start; |
| 532 |
align-items: center; |
| 533 |
width: 100%; |
| 534 |
font-weight: 400; |
| 535 |
font-size: 14px; |
| 536 |
text-decoration: none; |
| 537 |
line-height: 16px; |
| 538 |
color: $primary-color; |
| 539 |
|
| 540 |
i { |
| 541 |
margin-left: 10px; |
| 542 |
font-size: 12px; |
| 543 |
} |
| 544 |
} |
| 545 |
|
| 546 |
&:not(:last-child) { |
| 547 |
margin-bottom: 30px; |
| 548 |
} |
| 549 |
} |
| 550 |
} |
| 551 |
|
| 552 |
h2 { |
| 553 |
display: flex; |
| 554 |
align-items: center; |
| 555 |
color: $text-color-1; |
| 556 |
|
| 557 |
svg { |
| 558 |
margin-right: 8px; |
| 559 |
|
| 560 |
path { |
| 561 |
fill: $primary-color; |
| 562 |
} |
| 563 |
} |
| 564 |
} |
| 565 |
} |
| 566 |
|
| 567 |
//Blocks----------------------------------------- |
| 568 |
|
| 569 |
.blockspare-dashboard { |
| 570 |
.block-list { |
| 571 |
width: 100%; |
| 572 |
} |
| 573 |
.blocklist-page { |
| 574 |
|
| 575 |
.blocklist-header { |
| 576 |
display: flex; |
| 577 |
align-items: center; |
| 578 |
justify-content: space-between; |
| 579 |
gap: 20px; |
| 580 |
padding-bottom: 30px; |
| 581 |
border-bottom: 1px solid $border-color-1; |
| 582 |
// background-color: #fff; |
| 583 |
} |
| 584 |
|
| 585 |
.block-enable-disable-all { |
| 586 |
display: flex; |
| 587 |
align-items: center; |
| 588 |
// padding: 2px; |
| 589 |
border: 1px solid $border-color-1; |
| 590 |
border-radius: 10px; |
| 591 |
overflow: hidden; |
| 592 |
background: transparent; |
| 593 |
|
| 594 |
// box-shadow: $box-shadow-1; |
| 595 |
>* { |
| 596 |
margin: 0; |
| 597 |
padding: 12px 16px; |
| 598 |
font-family: "Roboto"; |
| 599 |
font-style: normal; |
| 600 |
font-weight: 400; |
| 601 |
font-size: 14px; |
| 602 |
line-height: 14px; |
| 603 |
color: #737373; |
| 604 |
cursor: pointer; |
| 605 |
border: none; |
| 606 |
background: none; |
| 607 |
|
| 608 |
&:hover { |
| 609 |
color: $text-color-1; |
| 610 |
background: #fbfbfb; |
| 611 |
// border-radius: 2px; |
| 612 |
} |
| 613 |
} |
| 614 |
|
| 615 |
.disable-all { |
| 616 |
border-right: 1px solid $border-color-1; |
| 617 |
} |
| 618 |
|
| 619 |
&>.active { |
| 620 |
color: $text-color-1; |
| 621 |
background: #fff; |
| 622 |
// border-radius: 2px; |
| 623 |
} |
| 624 |
} |
| 625 |
|
| 626 |
// .blocklist-body { |
| 627 |
// padding: 40px 0; |
| 628 |
// } |
| 629 |
|
| 630 |
.block-category { |
| 631 |
&:not(:last-child) { |
| 632 |
margin-bottom: 30px; |
| 633 |
} |
| 634 |
} |
| 635 |
|
| 636 |
.block-category-heading { |
| 637 |
font-size: 24px; |
| 638 |
font-weight: 600; |
| 639 |
line-height: 32px; |
| 640 |
color: $text-color-1; |
| 641 |
margin: 0; |
| 642 |
} |
| 643 |
|
| 644 |
.block-category-info { |
| 645 |
display: flex; |
| 646 |
align-items: center; |
| 647 |
justify-content: space-between; |
| 648 |
margin-bottom: 30px; |
| 649 |
} |
| 650 |
|
| 651 |
.blockspare_block_cards { |
| 652 |
display: grid; |
| 653 |
grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); |
| 654 |
grid-gap: 30px; |
| 655 |
} |
| 656 |
|
| 657 |
.blockspare_block_card { |
| 658 |
display: flex; |
| 659 |
align-items: center; |
| 660 |
padding: 15px; |
| 661 |
gap: 15px; |
| 662 |
background-color: #fbfbfb; |
| 663 |
border: 1px solid $border-color-1; |
| 664 |
border-radius: 16px; |
| 665 |
overflow: hidden; |
| 666 |
transition: all 0.5s; |
| 667 |
|
| 668 |
.blockspare_block_card__header { |
| 669 |
.blockspare_block_card__title { |
| 670 |
// position: absolute; |
| 671 |
// left: 36px; |
| 672 |
// top: 29px; |
| 673 |
font-size: 14px; |
| 674 |
color: $text-color-1; |
| 675 |
letter-spacing: 0.42px; |
| 676 |
margin: 0; |
| 677 |
} |
| 678 |
} |
| 679 |
|
| 680 |
.blockspare_block_card__icon { |
| 681 |
border-radius: 50%; |
| 682 |
height: 60px; |
| 683 |
width: 60px; |
| 684 |
background-repeat: no-repeat; |
| 685 |
background-size: cover; |
| 686 |
background-position: center; |
| 687 |
background: $border-color-1; |
| 688 |
display: flex; |
| 689 |
align-items: center; |
| 690 |
justify-content: center; |
| 691 |
transition: all 1s ease; |
| 692 |
|
| 693 |
.blockspare-svg { |
| 694 |
height: 24px; |
| 695 |
width: 24px; |
| 696 |
fill: #c4c4c4; |
| 697 |
transition: all 0.25s ease; |
| 698 |
} |
| 699 |
|
| 700 |
} |
| 701 |
|
| 702 |
.blockspare_block_card__info { |
| 703 |
flex: 1; |
| 704 |
display: flex; |
| 705 |
flex-direction: column; |
| 706 |
gap: 5px; |
| 707 |
} |
| 708 |
|
| 709 |
.blockspare_block_card__footer { |
| 710 |
display: flex; |
| 711 |
gap: 15px; |
| 712 |
align-items: center; |
| 713 |
justify-content: space-between; |
| 714 |
|
| 715 |
.blockspare_block_card__link { |
| 716 |
position: relative; |
| 717 |
font-size: 12px; |
| 718 |
color: $text-color-1; |
| 719 |
letter-spacing: 0.36px; |
| 720 |
cursor: pointer; |
| 721 |
text-decoration: none; |
| 722 |
|
| 723 |
&::before, |
| 724 |
&::after { |
| 725 |
content: ""; |
| 726 |
position: absolute; |
| 727 |
left: 0; |
| 728 |
bottom: -2px; |
| 729 |
height: 1px; |
| 730 |
width: 13%; |
| 731 |
background-color: $text-color-1; |
| 732 |
transition: opacity 0.25s ease, transform 0.25s ease, width 0.3s cubic-bezier(0.68, 0.05, 0.46, 1.02), left 0.2s 0.2s ease-out; |
| 733 |
} |
| 734 |
|
| 735 |
&::after { |
| 736 |
z-index: 10; |
| 737 |
width: 30%; |
| 738 |
background-color: white; |
| 739 |
opacity: 0; |
| 740 |
} |
| 741 |
|
| 742 |
&:hover::before { |
| 743 |
width: 100%; |
| 744 |
} |
| 745 |
|
| 746 |
&:hover::after { |
| 747 |
opacity: 1; |
| 748 |
left: 100%; |
| 749 |
} |
| 750 |
} |
| 751 |
.blockspare_block_card__video_link { |
| 752 |
display: flex; |
| 753 |
svg { |
| 754 |
path { |
| 755 |
transition: all 0.5s ease; |
| 756 |
} |
| 757 |
} |
| 758 |
} |
| 759 |
} |
| 760 |
|
| 761 |
&.active { |
| 762 |
background-color: white; |
| 763 |
box-shadow: 0 6px 15px rgba(36, 37, 38, 0.08); |
| 764 |
border-color: transparent; |
| 765 |
|
| 766 |
.blockspare_block_card__icon { |
| 767 |
.blockspare-svg { |
| 768 |
fill: #737373; |
| 769 |
} |
| 770 |
} |
| 771 |
|
| 772 |
&:hover { |
| 773 |
box-shadow: 5px 12px 20px rgba(36, 37, 38, 0.13); |
| 774 |
transform: translateY(-7px); |
| 775 |
|
| 776 |
.blockspare_block_card__icon { |
| 777 |
background: $primary-color; |
| 778 |
|
| 779 |
.blockspare-svg { |
| 780 |
fill: #fff; |
| 781 |
} |
| 782 |
} |
| 783 |
|
| 784 |
.blockspare_block_card__footer { |
| 785 |
.blockspare_block_card__video_link { |
| 786 |
svg { |
| 787 |
path { |
| 788 |
fill: $primary-color; |
| 789 |
} |
| 790 |
} |
| 791 |
} |
| 792 |
} |
| 793 |
|
| 794 |
|
| 795 |
|
| 796 |
.blocksape-dashboard__switch-control { |
| 797 |
input:checked+.switch { |
| 798 |
background: $primary-color; |
| 799 |
|
| 800 |
&::before { |
| 801 |
color: #fff; |
| 802 |
} |
| 803 |
} |
| 804 |
} |
| 805 |
} |
| 806 |
} |
| 807 |
} |
| 808 |
} |
| 809 |
|
| 810 |
|
| 811 |
|
| 812 |
} |
| 813 |
|
| 814 |
//Designs----------------------------------------- |
| 815 |
|
| 816 |
.blockspare-dashboard { |
| 817 |
.settings-tab-content-wrapper { |
| 818 |
display: flex; |
| 819 |
gap: 30px; |
| 820 |
|
| 821 |
.settings-nav { |
| 822 |
width: max-content; |
| 823 |
margin: 0; |
| 824 |
display: flex; |
| 825 |
flex-direction: column; |
| 826 |
gap: 10px; |
| 827 |
height: 100%; |
| 828 |
position: sticky; |
| 829 |
top: 50px; |
| 830 |
|
| 831 |
.navbar-item { |
| 832 |
margin: 0; |
| 833 |
|
| 834 |
a { |
| 835 |
display: inline-block; |
| 836 |
font-size: 15px; |
| 837 |
font-weight: 600; |
| 838 |
color: $text-color-1; |
| 839 |
border-bottom: 2px solid transparent; |
| 840 |
padding-bottom: 5px; |
| 841 |
cursor: pointer; |
| 842 |
transition: all 0.3s ease-in-out; |
| 843 |
} |
| 844 |
|
| 845 |
&.active { |
| 846 |
a { |
| 847 |
border-color: $primary-color; |
| 848 |
color: $primary-color; |
| 849 |
} |
| 850 |
} |
| 851 |
} |
| 852 |
} |
| 853 |
|
| 854 |
.bs-pages-demo-wrapper { |
| 855 |
flex: 1; |
| 856 |
margin: -15px; |
| 857 |
|
| 858 |
.bs-templates-container { |
| 859 |
.bs-layout-pages-inside { |
| 860 |
width: calc(100% / 3 - 30px); |
| 861 |
margin: 15px; |
| 862 |
border: solid 1px #e8e8e8; |
| 863 |
position: relative; |
| 864 |
transition: all 0.3s ease-in-out; |
| 865 |
|
| 866 |
&:hover { |
| 867 |
box-shadow: 0 2px 15px rgba(153, 153, 153, 0.3); |
| 868 |
} |
| 869 |
|
| 870 |
.bs-pro-badge { |
| 871 |
z-index: 9; |
| 872 |
position: absolute; |
| 873 |
right: 7px; |
| 874 |
top: 7px; |
| 875 |
background-color: $primary-color; |
| 876 |
color: #fff; |
| 877 |
padding: 5px 8px; |
| 878 |
line-height: 1; |
| 879 |
text-transform: uppercase; |
| 880 |
border-radius: 3px; |
| 881 |
letter-spacing: 1px; |
| 882 |
font-size: 11px; |
| 883 |
} |
| 884 |
|
| 885 |
.bs-layout-pages-item { |
| 886 |
a { |
| 887 |
display: inline-block; |
| 888 |
width: 100%; |
| 889 |
height: 100%; |
| 890 |
} |
| 891 |
|
| 892 |
.is-visible { |
| 893 |
a { |
| 894 |
display: flex; |
| 895 |
} |
| 896 |
} |
| 897 |
|
| 898 |
img { |
| 899 |
max-width: 100%; |
| 900 |
width: 100%; |
| 901 |
} |
| 902 |
|
| 903 |
.bs-layout-pages-info { |
| 904 |
background: #fff; |
| 905 |
border-top: solid 1px #e8e8e8; |
| 906 |
text-align: center; |
| 907 |
|
| 908 |
.bs-layout-design-title { |
| 909 |
a { |
| 910 |
padding: 12px; |
| 911 |
text-decoration: none; |
| 912 |
font-size: 14px; |
| 913 |
font-weight: 600; |
| 914 |
color: $text-color-1; |
| 915 |
transition: all 0.3s ease-in-out; |
| 916 |
|
| 917 |
&:hover { |
| 918 |
color: $primary-color; |
| 919 |
} |
| 920 |
} |
| 921 |
} |
| 922 |
} |
| 923 |
} |
| 924 |
} |
| 925 |
} |
| 926 |
} |
| 927 |
} |
| 928 |
} |
| 929 |
|
| 930 |
//Settings----------------------------------------- |
| 931 |
|
| 932 |
.blockspare-dashboard { |
| 933 |
.settings-tab-container { |
| 934 |
background: #fff; |
| 935 |
border-radius: 6px; |
| 936 |
box-shadow: $box-shadow-1; |
| 937 |
|
| 938 |
.setting-header { |
| 939 |
display: flex; |
| 940 |
align-items: center; |
| 941 |
justify-content: space-between; |
| 942 |
min-height: 90px; |
| 943 |
padding: 0 40px; |
| 944 |
border-bottom: 1px solid $border-color-1; |
| 945 |
} |
| 946 |
|
| 947 |
// .setting-tabs { |
| 948 |
// display: flex; |
| 949 |
// } |
| 950 |
|
| 951 |
// .settings-tab-aside { |
| 952 |
// padding: 24px 0; |
| 953 |
// flex: 0 1 300px; |
| 954 |
// .tab-items { |
| 955 |
// .tab-item { |
| 956 |
// font-size: 16px; |
| 957 |
// line-height: 24px; |
| 958 |
// font-weight: 500; |
| 959 |
// color: $text-color-1; |
| 960 |
// padding: 12px 0 12px 20px; |
| 961 |
// stroke: $text-color-1; |
| 962 |
// fill: $text-color-1; |
| 963 |
// border-left: 4px solid #fff; |
| 964 |
// cursor: pointer; |
| 965 |
// display: flex; |
| 966 |
// align-items: center; |
| 967 |
// text-decoration: none; |
| 968 |
// margin-top: 4px; |
| 969 |
// transition: all .05s ease-in-out; |
| 970 |
|
| 971 |
// svg { |
| 972 |
// margin-right: 16px; |
| 973 |
// stroke: inherit; |
| 974 |
// } |
| 975 |
|
| 976 |
// &.active { |
| 977 |
// color: $primary-color; |
| 978 |
// stroke: $primary-color; |
| 979 |
// fill: $primary-color; |
| 980 |
// border-color: $primary-color; |
| 981 |
// } |
| 982 |
// } |
| 983 |
// } |
| 984 |
// } |
| 985 |
|
| 986 |
.setting-body { |
| 987 |
// flex: 1; |
| 988 |
// border-left: 1px solid $border-color-1; |
| 989 |
|
| 990 |
.blockspare__settings { |
| 991 |
padding: 32px 40px; |
| 992 |
|
| 993 |
&:not(:last-child) { |
| 994 |
border-bottom: 1px solid $border-color-1; |
| 995 |
} |
| 996 |
} |
| 997 |
|
| 998 |
.blockspare__settings-info { |
| 999 |
width: 100%; |
| 1000 |
display: flex; |
| 1001 |
align-items: center; |
| 1002 |
margin-right: 64px; |
| 1003 |
} |
| 1004 |
|
| 1005 |
.blockspare__settings-title { |
| 1006 |
font-size: 18px; |
| 1007 |
color: $text-color-1; |
| 1008 |
line-height: 32px; |
| 1009 |
font-weight: 500; |
| 1010 |
flex: 1; |
| 1011 |
display: inline-flex; |
| 1012 |
margin: 0; |
| 1013 |
} |
| 1014 |
|
| 1015 |
.blockspare__input-wrap { |
| 1016 |
display: flex; |
| 1017 |
|
| 1018 |
.blockspare-admin__input-field { |
| 1019 |
padding: 8px 0 8px 12px; |
| 1020 |
border-radius: 6px 0 0 6px; |
| 1021 |
color: #64748b; |
| 1022 |
background-color: #fff; |
| 1023 |
border: 1px solid $border-color-1; |
| 1024 |
border-right-width: 0; |
| 1025 |
font-size: 16px; |
| 1026 |
line-height: 20px; |
| 1027 |
min-height: 30px; |
| 1028 |
display: block; |
| 1029 |
width: 80px; |
| 1030 |
height: 32px; |
| 1031 |
margin: 0; |
| 1032 |
appearance: none; |
| 1033 |
|
| 1034 |
&:focus { |
| 1035 |
outline: none; |
| 1036 |
border-color: #94a3b8; |
| 1037 |
box-shadow: none; |
| 1038 |
|
| 1039 |
+.blockspare-admin__input-field--value-type { |
| 1040 |
border-color: #94a3b8; |
| 1041 |
box-shadow: none; |
| 1042 |
} |
| 1043 |
} |
| 1044 |
|
| 1045 |
} |
| 1046 |
|
| 1047 |
.blockspare-admin__input-field--value-type { |
| 1048 |
padding: 8px 12px; |
| 1049 |
font-size: 16px; |
| 1050 |
line-height: 20px; |
| 1051 |
color: #64748b; |
| 1052 |
background-color: #fff; |
| 1053 |
border-radius: 0 6px 6px 0; |
| 1054 |
border: 1px solid $border-color-1; |
| 1055 |
display: inline-flex; |
| 1056 |
align-items: center; |
| 1057 |
height: 32px; |
| 1058 |
} |
| 1059 |
} |
| 1060 |
|
| 1061 |
.blockspare__settings-description { |
| 1062 |
font-size: 14px; |
| 1063 |
line-height: 22.4px; |
| 1064 |
color: rgb(100, 116, 139); |
| 1065 |
width: 75%; |
| 1066 |
margin: 0; |
| 1067 |
margin-top: 8px; |
| 1068 |
} |
| 1069 |
|
| 1070 |
.blockspare__settings-button { |
| 1071 |
display: flex; |
| 1072 |
justify-content: flex-end; |
| 1073 |
padding: 40px; |
| 1074 |
} |
| 1075 |
} |
| 1076 |
} |
| 1077 |
} |
| 1078 |
|
| 1079 |
//Loader spiner |
| 1080 |
.bs-loader-container { |
| 1081 |
display: flex; |
| 1082 |
justify-content: center; |
| 1083 |
align-items: center; |
| 1084 |
height: 90vh; |
| 1085 |
} |
| 1086 |
|
| 1087 |
.bs-loader { |
| 1088 |
border: 4px solid rgba(0, 0, 0, 0.1); |
| 1089 |
border-top: 4px solid $primary-color; |
| 1090 |
border-radius: 50%; |
| 1091 |
width: 40px; |
| 1092 |
height: 40px; |
| 1093 |
animation: spin 1s linear infinite; |
| 1094 |
} |
| 1095 |
|
| 1096 |
@keyframes spin { |
| 1097 |
0% { |
| 1098 |
transform: rotate(0deg); |
| 1099 |
} |
| 1100 |
|
| 1101 |
100% { |
| 1102 |
transform: rotate(360deg); |
| 1103 |
} |
| 1104 |
} |
| 1105 |
|
| 1106 |
@media (max-width: 1024px) { |
| 1107 |
.blockspare-dashboard { |
| 1108 |
.settings-tab-content-wrapper { |
| 1109 |
.bs-pages-demo-wrapper { |
| 1110 |
.bs-templates-container { |
| 1111 |
.bs-layout-pages-inside { |
| 1112 |
width: calc(100% / 2 - 30px); |
| 1113 |
} |
| 1114 |
} |
| 1115 |
} |
| 1116 |
} |
| 1117 |
} |
| 1118 |
} |
| 1119 |
|
| 1120 |
@media (max-width: 768px) { |
| 1121 |
.blockspare-dashboard { |
| 1122 |
header { |
| 1123 |
.navigation-wrapper { |
| 1124 |
justify-content: space-between; |
| 1125 |
.plugin-logo { |
| 1126 |
margin-right: 0; |
| 1127 |
} |
| 1128 |
.bs-dashboare-menu-desktop { |
| 1129 |
display: none; |
| 1130 |
} |
| 1131 |
.bs-dashboare-menu-mobile { |
| 1132 |
display: block; |
| 1133 |
} |
| 1134 |
} |
| 1135 |
} |
| 1136 |
} |
| 1137 |
|
| 1138 |
.blockspare-dashboard { |
| 1139 |
.content-wrapper { |
| 1140 |
&.dashboard { |
| 1141 |
flex-direction: column; |
| 1142 |
} |
| 1143 |
} |
| 1144 |
|
| 1145 |
.panel-wrapper { |
| 1146 |
|
| 1147 |
&.second-wrapper { |
| 1148 |
max-width: 100%; |
| 1149 |
height: auto; |
| 1150 |
position: static; |
| 1151 |
top: auto; |
| 1152 |
} |
| 1153 |
} |
| 1154 |
|
| 1155 |
} |
| 1156 |
|
| 1157 |
.blockspare-dashboard { |
| 1158 |
.settings-tab-content-wrapper { |
| 1159 |
flex-direction: column; |
| 1160 |
|
| 1161 |
.settings-nav { |
| 1162 |
background-color: #f6f6f6; |
| 1163 |
width: auto; |
| 1164 |
flex-wrap: wrap; |
| 1165 |
flex-direction: row; |
| 1166 |
column-gap: 30px; |
| 1167 |
position: static; |
| 1168 |
top: auto; |
| 1169 |
height: auto; |
| 1170 |
} |
| 1171 |
} |
| 1172 |
} |
| 1173 |
|
| 1174 |
} |
| 1175 |
|
| 1176 |
@media (max-width: 480px) { |
| 1177 |
.blockspare-dashboard { |
| 1178 |
header { |
| 1179 |
.navigation-wrapper { |
| 1180 |
gap: 8px; |
| 1181 |
.bs-dashboard-upgrade-button { |
| 1182 |
&.links-panel { |
| 1183 |
.bs-dashboard__button { |
| 1184 |
font-size: 12px; |
| 1185 |
} |
| 1186 |
} |
| 1187 |
} |
| 1188 |
} |
| 1189 |
} |
| 1190 |
} |
| 1191 |
.blockspare-dashboard { |
| 1192 |
.feature-panel, |
| 1193 |
.subscribe-panel { |
| 1194 |
span { |
| 1195 |
font-size: 14px; |
| 1196 |
} |
| 1197 |
} |
| 1198 |
.feature-panel { |
| 1199 |
h1 { |
| 1200 |
font-size: 24px; |
| 1201 |
} |
| 1202 |
} |
| 1203 |
.links-panel { |
| 1204 |
.bs-dashboard { |
| 1205 |
&__footer { |
| 1206 |
p { |
| 1207 |
font-size: 14px; |
| 1208 |
} |
| 1209 |
} |
| 1210 |
} |
| 1211 |
} |
| 1212 |
} |
| 1213 |
.blockspare-dashboard { |
| 1214 |
.blocklist-page { |
| 1215 |
.block-category-heading { |
| 1216 |
font-size: 20px; |
| 1217 |
} |
| 1218 |
} |
| 1219 |
} |
| 1220 |
.blockspare-dashboard { |
| 1221 |
.settings-tab-content-wrapper { |
| 1222 |
.bs-pages-demo-wrapper { |
| 1223 |
.bs-templates-container { |
| 1224 |
.bs-layout-pages-inside { |
| 1225 |
width: calc(100% - 30px); |
| 1226 |
} |
| 1227 |
} |
| 1228 |
} |
| 1229 |
} |
| 1230 |
} |
| 1231 |
} |