fonts
1 year ago
scss
11 months ago
admin_bar_menu.min.css
11 months ago
admin_bar_menu.scss
11 months ago
nitro-notifications.min.css
1 year ago
nitro-notifications.min.css.map
1 year ago
nitro-notifications.scss
1 year ago
safemode.min.css
1 year ago
safemode.min.css.map
1 year ago
safemode.scss
1 year ago
style.min.css
11 months ago
style.min.css.map
1 year ago
style.scss
11 months ago
style.scss
1010 lines
| 1 | @use "scss/variables" as *; |
| 2 | @use "scss/helpers" as *; |
| 3 | @use "scss/modals"; |
| 4 | @use "scss/fancy-radio"; |
| 5 | @use "scss/select2"; |
| 6 | @font-face { |
| 7 | font-family: "Inter"; |
| 8 | src: url("fonts/Inter/Inter-VariableFont_slnt,wght.ttf") format("truetype-variations"); |
| 9 | } |
| 10 | |
| 11 | /* Layout */ |
| 12 | |
| 13 | body, |
| 14 | html { |
| 15 | line-height: 1.5; |
| 16 | } |
| 17 | #wpcontent { |
| 18 | padding-left: 0; |
| 19 | } |
| 20 | #nitropack-container { |
| 21 | font-family: $font; |
| 22 | font-size: 0.875rem; |
| 23 | #main { |
| 24 | //margin-top: 2rem; |
| 25 | //padding: 0 $gutter; |
| 26 | line-height: $line-height; |
| 27 | } |
| 28 | } |
| 29 | .container { |
| 30 | max-width: 100%; |
| 31 | margin: 0 auto; |
| 32 | padding: $gutter; |
| 33 | display: flex; |
| 34 | flex-direction: column; |
| 35 | @media (min-width: 1440px) { |
| 36 | max-width: 1280px; |
| 37 | padding: 2rem; |
| 38 | } |
| 39 | @media (min-width: 1728px) { |
| 40 | max-width: 1328px; |
| 41 | padding: 3rem; |
| 42 | } |
| 43 | @media (min-width: 1920px) { |
| 44 | max-width: 1440px; |
| 45 | padding-top: 4.5rem; |
| 46 | } |
| 47 | } |
| 48 | .col-span-1 { |
| 49 | display: grid; |
| 50 | gap: 1rem; |
| 51 | @media (min-width: 1440px) { |
| 52 | gap: $gutter; |
| 53 | } |
| 54 | } |
| 55 | //any cols are grid |
| 56 | //inputs |
| 57 | input[type="radio"]="radio""] { |
| 58 | color: $primary-color; |
| 59 | border-color: $primary-color; |
| 60 | accent-color: $primary-color; |
| 61 | &:checked { |
| 62 | accent-color: $primary-color; |
| 63 | } |
| 64 | } |
| 65 | /* Typography */ |
| 66 | h3, |
| 67 | .plan-name { |
| 68 | font-size: 1rem; |
| 69 | color: $gray-700; |
| 70 | font-weight: 700; |
| 71 | margin: 0 0 0.5rem 0; |
| 72 | } |
| 73 | .plan-name { |
| 74 | margin-bottom: 0; |
| 75 | } |
| 76 | p { |
| 77 | font-size: 0.875rem; |
| 78 | color: $text-color; |
| 79 | line-height: $line-height; |
| 80 | + p { |
| 81 | margin-top: 1rem; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /* Buttons */ |
| 86 | .btn { |
| 87 | @include btns(); |
| 88 | } |
| 89 | |
| 90 | .btn-link { |
| 91 | cursor: pointer; |
| 92 | } |
| 93 | .btn-xl { |
| 94 | padding: 1rem 5rem; |
| 95 | font-size: 1rem; |
| 96 | } |
| 97 | .btn-icon { |
| 98 | height: 2rem; |
| 99 | padding-left: 0.75rem; |
| 100 | padding-right: 0.75rem; |
| 101 | display: flex; |
| 102 | align-items: center; |
| 103 | justify-content: center; |
| 104 | } |
| 105 | /* Badge */ |
| 106 | .badge { |
| 107 | padding: 0.25rem 0.5rem 0.25rem 0.5rem; |
| 108 | font-size: 0.75rem; |
| 109 | font-weight: normal; |
| 110 | border-radius: $border-radius; |
| 111 | &.badge-success { |
| 112 | background-color: $green-100; |
| 113 | color: $green-800; |
| 114 | } |
| 115 | &.badge-primary { |
| 116 | background-color: $purple-50; |
| 117 | color: $primary-hover; |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /* Tooltips */ |
| 122 | .tooltip-icon { |
| 123 | //cursor: help; |
| 124 | margin-left: 0.25rem; |
| 125 | img { |
| 126 | width: 1rem; |
| 127 | height: 1rem; |
| 128 | } |
| 129 | } |
| 130 | .tooltip-container { |
| 131 | background-color: $gray-700; |
| 132 | color: #fff; |
| 133 | position: absolute; |
| 134 | z-index: 10; |
| 135 | padding: 0.5rem; |
| 136 | font-weight: 500; |
| 137 | border-radius: $border-radius; |
| 138 | display: inline-block; |
| 139 | transition: $transition; |
| 140 | opacity: 0; |
| 141 | visibility: hidden; |
| 142 | max-width: 270px; |
| 143 | text-align: center; |
| 144 | &.visible { |
| 145 | visibility: visible; |
| 146 | opacity: 1; |
| 147 | display: block; |
| 148 | } |
| 149 | .tooltip-arrow { |
| 150 | bottom: -4px; |
| 151 | visibility: hidden; |
| 152 | background: inherit; |
| 153 | height: 8px; |
| 154 | position: absolute; |
| 155 | width: 8px; |
| 156 | left: -4px !important; //fix |
| 157 | &::before, |
| 158 | &::after { |
| 159 | content: ""; |
| 160 | transform: rotate(45deg); |
| 161 | visibility: visible; |
| 162 | } |
| 163 | &::before { |
| 164 | background: inherit; |
| 165 | height: 8px; |
| 166 | position: absolute; |
| 167 | width: 8px; |
| 168 | |
| 169 | border-color: #4b5563; |
| 170 | border-style: solid; |
| 171 | } |
| 172 | |
| 173 | &::after { |
| 174 | background: inherit; |
| 175 | height: 9px; |
| 176 | position: absolute; |
| 177 | width: 9px; |
| 178 | |
| 179 | border-color: #4b5563; |
| 180 | border-style: solid; |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | /* Cards */ |
| 185 | .card { |
| 186 | box-shadow: $shadow-sm; |
| 187 | padding: $gutter $gutter 0 $gutter; |
| 188 | border: 1px solid $divider-color; |
| 189 | width: 100%; |
| 190 | max-width: 100%; |
| 191 | border-radius: $border-radius * 2; |
| 192 | margin-top: 0; |
| 193 | min-width: unset; |
| 194 | color: $text-color; |
| 195 | |
| 196 | .card-header { |
| 197 | display: flex; |
| 198 | align-items: center; |
| 199 | justify-content: space-between; |
| 200 | flex-direction: row; |
| 201 | margin-bottom: 1rem; |
| 202 | border-bottom: 1px solid $divider-color; |
| 203 | padding-bottom: 1rem; |
| 204 | h3 { |
| 205 | margin-bottom: 0; |
| 206 | font-size: 1rem; |
| 207 | } |
| 208 | } |
| 209 | .card-body { |
| 210 | margin-bottom: 1.5rem; |
| 211 | + .card-footer { |
| 212 | margin-bottom: 0; |
| 213 | } |
| 214 | } |
| 215 | .card-footer { |
| 216 | border-top: 1px solid $divider-color; |
| 217 | margin-top: 1rem; |
| 218 | padding-top: 1rem; |
| 219 | padding-bottom: 1rem; |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | /* Toggles */ |
| 224 | .peer { |
| 225 | &:checked ~ .toggle { |
| 226 | background-color: $primary-color; |
| 227 | &::after { |
| 228 | transform: translate(100%, 0px) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); |
| 229 | } |
| 230 | } |
| 231 | &:disabled ~ .toggle { |
| 232 | background-color: $gray-300; |
| 233 | cursor: not-allowed; |
| 234 | } |
| 235 | } |
| 236 | .toggle { |
| 237 | width: 2.75rem; |
| 238 | height: 1.5rem; |
| 239 | position: relative; |
| 240 | border-radius: 9999px; |
| 241 | background-color: $toggle-color; |
| 242 | cursor: pointer; |
| 243 | &::after { |
| 244 | --tw-translate-x: 100%; |
| 245 | content: ""; |
| 246 | transition-duration: 0.15s; |
| 247 | transition-property: all; |
| 248 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
| 249 | --tw-bg-opacity: 1; |
| 250 | background-color: #fff; |
| 251 | border-radius: 9999px; |
| 252 | width: 1.25rem; |
| 253 | height: 1.25rem; |
| 254 | top: 0.125rem; |
| 255 | position: absolute; |
| 256 | inset-inline-start: 2px; |
| 257 | } |
| 258 | } |
| 259 | /* Tags */ |
| 260 | .selected-shortcodes { |
| 261 | margin-top: 1rem; |
| 262 | background-color: #fff; |
| 263 | border-radius: $border-radius; |
| 264 | padding: 1rem; |
| 265 | border: 1px solid $divider-color; |
| 266 | min-height: 6rem; |
| 267 | #selected-shortcodes { |
| 268 | gap: 10px; |
| 269 | display: flex; |
| 270 | } |
| 271 | } |
| 272 | .shortcode-tag { |
| 273 | padding: 2px 6px; |
| 274 | border-radius: $border-radius; |
| 275 | background-color: #edebf1; |
| 276 | display: inline-block; |
| 277 | font-size: 0.75rem; |
| 278 | .remove { |
| 279 | cursor: pointer; |
| 280 | padding: 0px 4px; |
| 281 | } |
| 282 | } |
| 283 | #ajax-shortcodes-widget { |
| 284 | label { |
| 285 | font-weight: 500; |
| 286 | } |
| 287 | .select-wrapper { |
| 288 | display: flex; |
| 289 | flex-direction: column; |
| 290 | gap: 0.5rem; |
| 291 | margin-top: 0.5rem; |
| 292 | |
| 293 | .select2-container { |
| 294 | flex: 1; |
| 295 | max-height: 6rem; |
| 296 | overflow: auto; |
| 297 | } |
| 298 | .btn { |
| 299 | width: 120px; |
| 300 | } |
| 301 | } |
| 302 | //select2 |
| 303 | .select2-container--default .select2-selection--multiple .select2-selection__rendered { |
| 304 | display: flex; |
| 305 | align-items: center; |
| 306 | flex-wrap: wrap; |
| 307 | gap: 10px; |
| 308 | > li.select2-selection__choice { |
| 309 | display: inline-block; |
| 310 | margin-bottom: 0; |
| 311 | } |
| 312 | .select2-selection__choice__remove { |
| 313 | display: none; |
| 314 | } |
| 315 | .select2-selection__choice-inner { |
| 316 | padding: 2px 6px; |
| 317 | border-radius: $border-radius; |
| 318 | background-color: #edebf1; |
| 319 | display: inline-block; |
| 320 | font-size: 0.75rem; |
| 321 | display: flex; |
| 322 | align-items: center; |
| 323 | |
| 324 | margin-bottom: 0; |
| 325 | line-height: 18px; |
| 326 | |
| 327 | .np-select2-remove { |
| 328 | margin: 0 0 0 0.35rem; |
| 329 | cursor: pointer; |
| 330 | display: block; |
| 331 | &::before { |
| 332 | content: ""; |
| 333 | background-image: url("../images/close-icon.svg"); |
| 334 | width: 8px; |
| 335 | height: 8px; |
| 336 | background-size: cover; |
| 337 | display: block; |
| 338 | } |
| 339 | } |
| 340 | } |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | /* Accordions */ |
| 345 | .accordion-body { |
| 346 | margin-top: 1rem; |
| 347 | padding-top: 1rem; |
| 348 | border-top: 1px solid $divider-color; |
| 349 | } |
| 350 | |
| 351 | .options-container { |
| 352 | .nitro-option { |
| 353 | padding: 1rem 0; |
| 354 | &:first-child { |
| 355 | padding-top: 0; |
| 356 | } |
| 357 | &:last-child { |
| 358 | padding-bottom: 0; |
| 359 | } |
| 360 | .nitro-option-main { |
| 361 | display: flex; |
| 362 | justify-content: space-between; |
| 363 | align-items: center; |
| 364 | color: $text-color; |
| 365 | } |
| 366 | .text-box { |
| 367 | margin-right: 1rem; |
| 368 | } |
| 369 | h6 { |
| 370 | color: $gray-700; |
| 371 | font-weight: 700; |
| 372 | font-size: 1rem; |
| 373 | margin-bottom: 0.5rem; |
| 374 | } |
| 375 | p { |
| 376 | color: $text-color; |
| 377 | } |
| 378 | + .nitro-option { |
| 379 | border-top: 1px solid $divider-color; |
| 380 | } |
| 381 | } |
| 382 | } |
| 383 | .msg-container { |
| 384 | background-color: $purple-50; |
| 385 | color: $gray-700; |
| 386 | padding: 0.5rem; |
| 387 | margin-top: 1rem; |
| 388 | border-radius: $border-radius; |
| 389 | .icon { |
| 390 | display: inline; |
| 391 | margin-right: 0.5rem; |
| 392 | width: 1rem; |
| 393 | height: 1rem; |
| 394 | } |
| 395 | } |
| 396 | |
| 397 | /* tabs */ |
| 398 | .tabs { |
| 399 | display: inline-flex; |
| 400 | justify-content: space-between; |
| 401 | align-items: center; |
| 402 | width: 100%; |
| 403 | border: 1px solid $divider-color; |
| 404 | border-radius: $border-radius; |
| 405 | padding: 4px; |
| 406 | overflow: auto; |
| 407 | margin-bottom: 1rem; |
| 408 | a { |
| 409 | flex: 1; |
| 410 | text-align: center; |
| 411 | line-height: 26px; |
| 412 | height: 2.5rem; |
| 413 | padding: 0.4rem 1.2rem; |
| 414 | &.tab-link { |
| 415 | color: $gray-500; |
| 416 | } |
| 417 | &.active { |
| 418 | color: #fff; |
| 419 | } |
| 420 | + a { |
| 421 | margin-left: 0.5rem; |
| 422 | } |
| 423 | } |
| 424 | &::-webkit-scrollbar { |
| 425 | height: 5px; |
| 426 | } |
| 427 | &::-webkit-scrollbar-thumb { |
| 428 | background: inherit; |
| 429 | //border-radius: 3px; |
| 430 | } |
| 431 | &::-webkit-scrollbar-track { |
| 432 | background: transparent; |
| 433 | display: none; |
| 434 | } |
| 435 | &:hover { |
| 436 | &::-webkit-scrollbar-thumb { |
| 437 | background: #edebf1; |
| 438 | } |
| 439 | } |
| 440 | } |
| 441 | /* Scrollbars */ |
| 442 | .scrollbar-default { |
| 443 | &::-webkit-scrollbar { |
| 444 | width: 3px; |
| 445 | } |
| 446 | &::-webkit-scrollbar-thumb { |
| 447 | background: inherit; |
| 448 | border-radius: 20px; |
| 449 | } |
| 450 | &::-webkit-scrollbar-track { |
| 451 | background: transparent; |
| 452 | display: none; |
| 453 | } |
| 454 | &:hover { |
| 455 | &::-webkit-scrollbar-thumb { |
| 456 | background: #edebf1; |
| 457 | } |
| 458 | } |
| 459 | } |
| 460 | /* Overlay*/ |
| 461 | .nitro-backdrop { |
| 462 | background-color: rgba(42, 0, 122, 0.5); |
| 463 | } |
| 464 | .form-row { |
| 465 | //display: flex; |
| 466 | label { |
| 467 | font-weight: 500; |
| 468 | color: #0d0025; |
| 469 | } |
| 470 | input { |
| 471 | margin-top: 0.5rem; |
| 472 | padding: 0.75rem 1rem 0.75rem 1rem; |
| 473 | display: block; |
| 474 | border-color: #dbd7e3; |
| 475 | border-radius: $border-radius; |
| 476 | width: 100%; |
| 477 | } |
| 478 | .tooltip { |
| 479 | display: inline; |
| 480 | } |
| 481 | + .form-row { |
| 482 | margin-top: 1rem; |
| 483 | } |
| 484 | } |
| 485 | .toast-wrapper { |
| 486 | position: fixed; |
| 487 | bottom: -100px; |
| 488 | width: auto; |
| 489 | left: 50%; |
| 490 | transform: translate(-50%, 0); |
| 491 | transition: 0.3s ease all; |
| 492 | opacity: 0; |
| 493 | .toast-inner { |
| 494 | padding: 1rem; |
| 495 | border: 1px solid $primary-color; |
| 496 | box-shadow: $shadow-sm; |
| 497 | display: flex; |
| 498 | align-items: center; |
| 499 | justify-content: space-between; |
| 500 | background: #fff; |
| 501 | min-width: 400px; |
| 502 | max-width: 600px; |
| 503 | border-radius: $border-radius; |
| 504 | position: relative; |
| 505 | color: $text-color; |
| 506 | .icon { |
| 507 | margin-right: 1rem; |
| 508 | border-radius: 50%; |
| 509 | padding: 0.5rem; |
| 510 | display: flex; |
| 511 | img { |
| 512 | width: 1rem; |
| 513 | height: 1rem; |
| 514 | } |
| 515 | } |
| 516 | .text { |
| 517 | font-weight: 500; |
| 518 | } |
| 519 | .actions { |
| 520 | border-left: 1px solid $divider-color; |
| 521 | margin-left: auto; |
| 522 | padding-left: $gutter; |
| 523 | margin-left: 1rem; |
| 524 | } |
| 525 | .toast-close { |
| 526 | color: $gray-700; |
| 527 | cursor: pointer; |
| 528 | display: flex; |
| 529 | } |
| 530 | .msg-box { |
| 531 | display: flex; |
| 532 | align-items: center; |
| 533 | } |
| 534 | } |
| 535 | &.toast-success { |
| 536 | .toast-inner { |
| 537 | border-color: $green-500; |
| 538 | } |
| 539 | .progress-bar { |
| 540 | background-color: $green-500; |
| 541 | } |
| 542 | .icon { |
| 543 | background-color: $green-50; |
| 544 | svg { |
| 545 | color: $green-500; |
| 546 | } |
| 547 | } |
| 548 | } |
| 549 | &.toast-info { |
| 550 | .toast-inner { |
| 551 | border-color: $blue-700; |
| 552 | } |
| 553 | .icon { |
| 554 | background-color: $blue-100; |
| 555 | svg { |
| 556 | color: $blue-700; |
| 557 | } |
| 558 | } |
| 559 | .progress-bar { |
| 560 | background-color: $blue-700; |
| 561 | } |
| 562 | } |
| 563 | &.toast-error { |
| 564 | .toast-inner { |
| 565 | border-color: $red-600; |
| 566 | } |
| 567 | .icon { |
| 568 | background-color: $red-100; |
| 569 | svg { |
| 570 | color: $red-600; |
| 571 | } |
| 572 | } |
| 573 | .progress-bar { |
| 574 | background-color: $red-600; |
| 575 | } |
| 576 | } |
| 577 | .toast-progress { |
| 578 | height: 3px; |
| 579 | width: 100%; |
| 580 | position: absolute; |
| 581 | bottom: 0; |
| 582 | left: 0; |
| 583 | .progress-bar { |
| 584 | height: 3px; |
| 585 | width: 100%; |
| 586 | left: 0; |
| 587 | position: absolute; |
| 588 | transform-origin: left; |
| 589 | } |
| 590 | } |
| 591 | &.shown { |
| 592 | z-index: 9991; |
| 593 | bottom: 3rem; |
| 594 | opacity: 1; |
| 595 | .toast-progress .progress-bar { |
| 596 | animation: NitroToast__trackProgress linear 1 forwards; |
| 597 | animation-duration: 1s; |
| 598 | animation-direction: reverse; |
| 599 | } |
| 600 | &:hover .toast-progress .progress-bar { |
| 601 | animation-play-state: paused; |
| 602 | } |
| 603 | } |
| 604 | } |
| 605 | @keyframes NitroToast__trackProgress { |
| 606 | 0% { |
| 607 | transform: scaleX(1); |
| 608 | } |
| 609 | 100% { |
| 610 | transform: scaleX(0); |
| 611 | } |
| 612 | } |
| 613 | /* Fancy Table */ |
| 614 | .modern-table { |
| 615 | height: 100%; |
| 616 | overflow: hidden; |
| 617 | color: $gray-700; |
| 618 | .thead { |
| 619 | border-bottom: 1px solid $divider-color; |
| 620 | padding: 1rem 0; |
| 621 | } |
| 622 | .th { |
| 623 | text-align: center; |
| 624 | font-weight: 500; |
| 625 | } |
| 626 | .tr { |
| 627 | border-bottom: 1px solid $divider-color; |
| 628 | transition: $transition; |
| 629 | &:hover, |
| 630 | .highlight-column { |
| 631 | background-color: $gray-100; |
| 632 | } |
| 633 | .current-highlight { |
| 634 | background-color: rgba(219, 215, 227, 0.3); |
| 635 | } |
| 636 | .td { |
| 637 | padding: 1rem 0; |
| 638 | } |
| 639 | .modes { |
| 640 | padding: 0; |
| 641 | } |
| 642 | } |
| 643 | } |
| 644 | /* List Items */ |
| 645 | .list-items { |
| 646 | border: 1px solid $divider-color; |
| 647 | border-radius: $border-radius; |
| 648 | color: $gray-700; |
| 649 | .list-item { |
| 650 | font-size: 1rem; |
| 651 | font-weight: 500; |
| 652 | margin: 0; |
| 653 | |
| 654 | .list-item-body { |
| 655 | display: flex; |
| 656 | justify-content: space-between; |
| 657 | align-items: center; |
| 658 | padding: 1rem; |
| 659 | transition: $transition; |
| 660 | &:hover { |
| 661 | background-color: $gray-100; |
| 662 | } |
| 663 | } |
| 664 | input { |
| 665 | margin-right: 1rem; |
| 666 | color: $primary-color; |
| 667 | &:checked:before { |
| 668 | content: ""; |
| 669 | } |
| 670 | } |
| 671 | .actions { |
| 672 | display: flex; |
| 673 | align-items: center; |
| 674 | .toggle-dropdown { |
| 675 | padding: 0.5rem; |
| 676 | transition: $transition; |
| 677 | &:focus { |
| 678 | box-shadow: none; |
| 679 | } |
| 680 | } |
| 681 | } |
| 682 | .selected-count { |
| 683 | color: $gray-500; |
| 684 | font-weight: 400; |
| 685 | font-size: 0.875rem; |
| 686 | margin-right: 1rem; |
| 687 | } |
| 688 | .sub-menu { |
| 689 | border-top: 1px solid $divider-color; |
| 690 | .list-item-body { |
| 691 | padding-left: 3.5rem; |
| 692 | } |
| 693 | } |
| 694 | |
| 695 | + .list-item { |
| 696 | border-top: 1px solid $divider-color; |
| 697 | } |
| 698 | } |
| 699 | } |
| 700 | |
| 701 | .table-wrapper { |
| 702 | border-top: 1px solid $divider-color; |
| 703 | margin-top: 1rem; |
| 704 | padding-top: 1rem; |
| 705 | table { |
| 706 | color: $gray-700; |
| 707 | tr + tr td { |
| 708 | padding-top: 1rem; |
| 709 | } |
| 710 | .key { |
| 711 | font-weight: 500; |
| 712 | } |
| 713 | .value { |
| 714 | font-weight: bold; |
| 715 | text-align: right; |
| 716 | } |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | .card-optimized-pages { |
| 721 | .card-body-inner { |
| 722 | display: flex; |
| 723 | align-items: center; |
| 724 | gap: 1rem; |
| 725 | } |
| 726 | .optimized-pages { |
| 727 | font-size: 1.5rem; |
| 728 | font-weight: 500; |
| 729 | width: 5rem; |
| 730 | text-align: center; |
| 731 | } |
| 732 | .text-box { |
| 733 | overflow: hidden; |
| 734 | text-overflow: ellipsis; |
| 735 | flex: 1; |
| 736 | } |
| 737 | .reason { |
| 738 | overflow: hidden; |
| 739 | text-overflow: ellipsis; |
| 740 | } |
| 741 | #optimizations-purge-cache { |
| 742 | flex-shrink: 0; |
| 743 | } |
| 744 | } |
| 745 | .card-optimization-mode { |
| 746 | .see-modes { |
| 747 | text-align: right; |
| 748 | } |
| 749 | } |
| 750 | /* connect screen */ |
| 751 | #nitropack-connect { |
| 752 | margin-top: 4rem; |
| 753 | padding-left: 4rem; |
| 754 | padding-right: 4rem; |
| 755 | color: $gray-700; |
| 756 | //line-height: $line-height; |
| 757 | font-weight: 500; |
| 758 | font-size: $font-size; |
| 759 | font-family: $font; |
| 760 | |
| 761 | h1 { |
| 762 | font-size: 2rem; |
| 763 | color: $gray-700; |
| 764 | font-weight: bold; |
| 765 | margin-bottom: 0.5rem; |
| 766 | } |
| 767 | .header { |
| 768 | display: flex; |
| 769 | margin-bottom: 4.25rem; |
| 770 | color: $gray-700; |
| 771 | .back { |
| 772 | color: $gray-700; |
| 773 | } |
| 774 | nav { |
| 775 | margin-left: auto; |
| 776 | margin-right: auto; |
| 777 | |
| 778 | ol { |
| 779 | display: flex; |
| 780 | align-items: center; |
| 781 | |
| 782 | .step { |
| 783 | display: flex; |
| 784 | align-items: center; |
| 785 | counter-increment: nav-counter; |
| 786 | color: $gray-700; |
| 787 | margin: 0; |
| 788 | &:before { |
| 789 | content: counter(nav-counter); |
| 790 | border: 1px solid $gray-700; |
| 791 | border-radius: 50%; |
| 792 | font-size: 0.65rem; |
| 793 | margin-right: 1rem; |
| 794 | width: 1.15rem; |
| 795 | display: inline-block; |
| 796 | text-align: center; |
| 797 | height: 1.15rem; |
| 798 | line-height: 1.5; |
| 799 | } |
| 800 | &.passed { |
| 801 | color: $gray-500; |
| 802 | &:before { |
| 803 | content: ""; |
| 804 | border: 0; |
| 805 | background-image: url("../images/check-circle.svg"); |
| 806 | background-size: cover; |
| 807 | display: inline-block; |
| 808 | width: 1.15rem; |
| 809 | height: 1.15rem; |
| 810 | } |
| 811 | } |
| 812 | &:not(:last-child)::after { |
| 813 | content: ""; |
| 814 | background-image: url("../images/chevron-right.svg"); |
| 815 | background-size: cover; |
| 816 | display: inline-block; |
| 817 | width: 1rem; |
| 818 | height: 1rem; |
| 819 | margin-left: 1rem; |
| 820 | } |
| 821 | + .step { |
| 822 | margin-left: 1rem; |
| 823 | } |
| 824 | } |
| 825 | } |
| 826 | } |
| 827 | } |
| 828 | .logos { |
| 829 | display: flex; |
| 830 | align-items: center; |
| 831 | justify-content: center; |
| 832 | |
| 833 | img + img { |
| 834 | margin-left: $gutter; |
| 835 | } |
| 836 | } |
| 837 | .headline-container { |
| 838 | text-align: center; |
| 839 | margin-top: 4.25rem; |
| 840 | |
| 841 | p { |
| 842 | font-size: 1.25rem; |
| 843 | color: $gray-600; |
| 844 | } |
| 845 | } |
| 846 | .cta-container { |
| 847 | display: flex; |
| 848 | align-items: center; |
| 849 | justify-content: center; |
| 850 | flex-direction: column; |
| 851 | width: 400px; |
| 852 | margin: 5rem auto 0 auto; |
| 853 | .btn { |
| 854 | width: 100%; |
| 855 | text-align: center; |
| 856 | } |
| 857 | .help { |
| 858 | font-size: $font-size; |
| 859 | margin-top: 2rem; |
| 860 | text-align: center; |
| 861 | padding: 0 1rem; |
| 862 | } |
| 863 | } |
| 864 | .success-container { |
| 865 | display: flex; |
| 866 | align-items: center; |
| 867 | justify-content: center; |
| 868 | flex-direction: column; |
| 869 | width: 400px; |
| 870 | margin: 4rem auto 0 auto; |
| 871 | |
| 872 | p { |
| 873 | font-size: 1rem; |
| 874 | text-align: center; |
| 875 | } |
| 876 | } |
| 877 | #manual-connect-fields { |
| 878 | margin-bottom: $gutter; |
| 879 | } |
| 880 | } |
| 881 | //custom elements |
| 882 | //header |
| 883 | .nitro-navigation { |
| 884 | border-bottom: 1px solid $divider-color; |
| 885 | } |
| 886 | .nitro-navigation-inner { |
| 887 | padding: 10px $gutter; |
| 888 | background-color: #fff; |
| 889 | } |
| 890 | |
| 891 | .active-mode { |
| 892 | font-weight: 500; |
| 893 | text-transform: capitalize; |
| 894 | } |
| 895 | //card vendor - WPEngine |
| 896 | .card-vendor { |
| 897 | padding-bottom: 1.5rem; |
| 898 | .card-title { |
| 899 | display: flex; |
| 900 | align-items: center; |
| 901 | justify-content: space-between; |
| 902 | flex-direction: row; |
| 903 | margin-bottom: 1rem; |
| 904 | border-bottom: 1px solid $divider-color; |
| 905 | padding-bottom: 1rem; |
| 906 | font-size: 1rem; |
| 907 | } |
| 908 | .row { |
| 909 | &:first-of-type { |
| 910 | display: inline; |
| 911 | } |
| 912 | &:nth-of-type(2) { |
| 913 | display: inline; |
| 914 | margin-left: 0.5rem; |
| 915 | } |
| 916 | } |
| 917 | .btn-outline-primary { |
| 918 | background-color: $primary-color; |
| 919 | border-color: $primary-color; |
| 920 | color: #fff; |
| 921 | &:hover { |
| 922 | background-color: $primary-hover; |
| 923 | } |
| 924 | } |
| 925 | } |
| 926 | .logging > div + div, |
| 927 | .logging { |
| 928 | margin-top: $gutter; |
| 929 | } |
| 930 | .log-table-container { |
| 931 | min-height: 140px; |
| 932 | max-height: calc(50vh - 170px); |
| 933 | overflow: auto; |
| 934 | margin-top: 1rem; |
| 935 | border: 1px solid $divider-color; |
| 936 | border-radius: $border-radius * 2; |
| 937 | #log-table { |
| 938 | width: 100%; |
| 939 | border-top: 0; |
| 940 | border-radius: $border-radius * 2; |
| 941 | max-width: calc(100vw - 125px); |
| 942 | display: block; |
| 943 | td { |
| 944 | border-top: 1px solid $divider-color; |
| 945 | padding: 1rem 1.75rem; |
| 946 | } |
| 947 | thead tr th { |
| 948 | font-weight: 500; |
| 949 | text-align: left; |
| 950 | position: sticky; |
| 951 | top: 0; |
| 952 | background-color: #fff; |
| 953 | padding: 1rem 1.75rem; |
| 954 | } |
| 955 | .file { |
| 956 | width: 100%; |
| 957 | a { |
| 958 | color: $primary-color; |
| 959 | } |
| 960 | } |
| 961 | .file-size { |
| 962 | min-width: 130px; |
| 963 | } |
| 964 | .file-date { |
| 965 | min-width: 200px; |
| 966 | } |
| 967 | .time { |
| 968 | color: $gray-500; |
| 969 | } |
| 970 | } |
| 971 | .no-logs { |
| 972 | text-align: center; |
| 973 | td { |
| 974 | padding-top: 1rem; |
| 975 | } |
| 976 | } |
| 977 | } |
| 978 | .download-all-logs { |
| 979 | border: 1px solid $divider-color; |
| 980 | padding: $gutter; |
| 981 | display: flex; |
| 982 | justify-content: space-between; |
| 983 | align-items: center; |
| 984 | border-radius: $border-radius * 2; |
| 985 | gap: $gutter; |
| 986 | @media only screen and (max-width: 768px) { |
| 987 | flex-direction: column; |
| 988 | align-items: flex-start; |
| 989 | } |
| 990 | } |
| 991 | @media only screen and (min-width: 993px) and (max-width: 1366px) { |
| 992 | html { |
| 993 | font-size: 85%; |
| 994 | } |
| 995 | } |
| 996 | @media only screen and (max-width: 576px) { |
| 997 | .card-optimized-pages .card-body-inner { |
| 998 | flex-direction: column; |
| 999 | align-items: initial; |
| 1000 | |
| 1001 | .optimized-pages { |
| 1002 | text-align: center; |
| 1003 | width: auto; |
| 1004 | } |
| 1005 | .text-box { |
| 1006 | margin: 0; |
| 1007 | } |
| 1008 | } |
| 1009 | } |
| 1010 |