|
1 | 1 | @import './sidebar/sidebar.less'; |
2 | 2 |
|
3 | 3 | @compass-sidebar-secondary-text-color: @gray6; |
4 | | -@compass-sidebar-atlas-background-color: @gray1; |
5 | 4 | @compass-sidebar-atlas-background-color: lighten(hsl(204, 29%, 18%), 5%); |
6 | 5 |
|
7 | 6 | .page { |
@@ -508,15 +507,30 @@ label { |
508 | 507 |
|
509 | 508 | .buttons { |
510 | 509 | margin: 0 25px 10px; |
511 | | - overflow: auto; |
512 | 510 | display: flex; |
513 | 511 | justify-content: flex-end; |
514 | 512 |
|
515 | | - button { |
| 513 | + .button { |
516 | 514 | margin-left: 5px; |
517 | 515 | } |
518 | 516 | } |
519 | 517 |
|
| 518 | + .btn-loading { |
| 519 | + border: 2px solid transparent; |
| 520 | + border-top: 2px solid @green2; |
| 521 | + border-radius: 50%; |
| 522 | + padding: 0; |
| 523 | + margin: 0; |
| 524 | + box-sizing: border-box; |
| 525 | + width: 14px; |
| 526 | + height: 14px; |
| 527 | + background: none; |
| 528 | + outline: none; |
| 529 | + margin-right: 5px; |
| 530 | + |
| 531 | + animation: connect-btn-loader-spin 500ms linear infinite; |
| 532 | + } |
| 533 | + |
520 | 534 | .disabled-uri { |
521 | 535 | background-color: #e9eeec !important; |
522 | 536 | box-shadow: none !important; |
@@ -621,6 +635,90 @@ label { |
621 | 635 | } |
622 | 636 | } |
623 | 637 |
|
| 638 | +.connecting-modal-backdrop { |
| 639 | + background-color: transparent !important; |
| 640 | +} |
| 641 | + |
| 642 | +.connecting-background { |
| 643 | + position: fixed; |
| 644 | + z-index: 500; |
| 645 | + top: 0; |
| 646 | + left: 0; |
| 647 | + bottom: 0; |
| 648 | + right: 0; |
| 649 | + |
| 650 | + .connecting-background-gradient { |
| 651 | + opacity: 0.9; |
| 652 | + animation: opacityFadeIn 0.2s ease-out; |
| 653 | + } |
| 654 | +} |
| 655 | + |
| 656 | +@keyframes opacityFadeIn { |
| 657 | + 0% { |
| 658 | + opacity: 0; |
| 659 | + } |
| 660 | + |
| 661 | + 100% { |
| 662 | + opacity: 0.9; |
| 663 | + } |
| 664 | +} |
| 665 | + |
| 666 | +.connecting-modal-content { |
| 667 | + text-align: center; |
| 668 | + padding: 24px; |
| 669 | + |
| 670 | + .connecting-modal-status { |
| 671 | + margin-top: 24px; |
| 672 | + font-weight: bold; |
| 673 | + } |
| 674 | + |
| 675 | + .connecting-modal-animation { |
| 676 | + margin-top: 24px; |
| 677 | + text-align: center; |
| 678 | + |
| 679 | + .connecting-compass-animation-svg { |
| 680 | + width: 70px; |
| 681 | + height: auto; |
| 682 | + } |
| 683 | + |
| 684 | + .connecting-compass-shadow { |
| 685 | + fill:#136149; |
| 686 | + opacity:0.12; |
| 687 | + } |
| 688 | + .connecting-compass-shadow-stroke { |
| 689 | + stroke:#136149; |
| 690 | + stroke-linecap:round; |
| 691 | + stroke-linejoin:round; |
| 692 | + fill: none; |
| 693 | + opacity:0.12; |
| 694 | + } |
| 695 | + |
| 696 | + .connecting-compass-circle-1 { |
| 697 | + fill:none; |
| 698 | + stroke:#136149; |
| 699 | + stroke-linecap:round; |
| 700 | + stroke-linejoin:round; |
| 701 | + } |
| 702 | + .connecting-compass-circle-2 { |
| 703 | + fill:#f7a76f; |
| 704 | + } |
| 705 | + .connecting-compass-circle-3 { |
| 706 | + fill:#fef7e3; |
| 707 | + opacity:0.85; |
| 708 | + } |
| 709 | + .connecting-compass-arrow-1 { |
| 710 | + fill:#f9d3c5; |
| 711 | + } |
| 712 | + .connecting-compass-arrow-2 { |
| 713 | + fill:#09804c; |
| 714 | + } |
| 715 | + } |
| 716 | + |
| 717 | + .connecting-modal-cancel-btn { |
| 718 | + margin-top: 24px; |
| 719 | + } |
| 720 | +} |
| 721 | + |
624 | 722 | .connect-sidebar-connections::-webkit-scrollbar-track { |
625 | 723 | background-color: rgba(0, 0, 0, 0.12); |
626 | 724 | border-bottom-left-radius: 3px; |
@@ -710,6 +808,10 @@ label { |
710 | 808 | } |
711 | 809 | } |
712 | 810 |
|
| 811 | +.confirm-edit-modal-button { |
| 812 | + margin-left: 5px; |
| 813 | +} |
| 814 | + |
713 | 815 | .favorite-modal { |
714 | 816 | width: 500px; |
715 | 817 | padding-left: 40px; |
@@ -887,3 +989,8 @@ label { |
887 | 989 | 0 0 4px rgba(88, 151, 251, 1); |
888 | 990 | } |
889 | 991 | } |
| 992 | + |
| 993 | +@keyframes connect-btn-loader-spin { |
| 994 | + 0% { transform: rotate(0deg); } |
| 995 | + 100% { transform: rotate(360deg); } |
| 996 | +} |
0 commit comments