|
| 1 | +// Loader from https://loading.io/css/ |
| 2 | + |
| 3 | +// .loader-container { |
| 4 | +// position: fixed; |
| 5 | +// width: 100%; |
| 6 | +// height: 100%; |
| 7 | +// background: $white; |
| 8 | +// z-index: 10; |
| 9 | +// display: flex; |
| 10 | +// align-items: center; |
| 11 | +// justify-content: center; |
| 12 | +// } |
| 13 | +.redirect-box { |
| 14 | + margin: auto; |
| 15 | + height: auto; |
| 16 | + display: flex; |
| 17 | + flex-direction: column; |
| 18 | +} |
| 19 | +.comment { |
| 20 | + padding: 1rem; |
| 21 | +} |
| 22 | +.lds-spinner { |
| 23 | + display: inline-block; |
| 24 | + position: relative; |
| 25 | + margin: auto; |
| 26 | + width: 80px; |
| 27 | + height: 100px; |
| 28 | +} |
| 29 | +.lds-spinner div { |
| 30 | + transform-origin: 40px 50px; /*Second parameter is the inner radius*/ |
| 31 | + animation: lds-spinner 1.2s linear infinite; |
| 32 | +} |
| 33 | +.lds-spinner div:after { |
| 34 | + content: " "; |
| 35 | + display: block; |
| 36 | + position: absolute; |
| 37 | + top: 3px; |
| 38 | + left: 37px; |
| 39 | + width: 7px; |
| 40 | + height: 30px; |
| 41 | + border-radius: 10%; |
| 42 | + background: #9FC6E2; |
| 43 | +} |
| 44 | +.lds-spinner div:nth-child(1) { |
| 45 | + transform: rotate(0deg); |
| 46 | + animation-delay: -1.1s; |
| 47 | +} |
| 48 | +.lds-spinner div:nth-child(2) { |
| 49 | + transform: rotate(30deg); |
| 50 | + animation-delay: -1s; |
| 51 | +} |
| 52 | +.lds-spinner div:nth-child(3) { |
| 53 | + transform: rotate(60deg); |
| 54 | + animation-delay: -0.9s; |
| 55 | +} |
| 56 | +.lds-spinner div:nth-child(4) { |
| 57 | + transform: rotate(90deg); |
| 58 | + animation-delay: -0.8s; |
| 59 | +} |
| 60 | +.lds-spinner div:nth-child(5) { |
| 61 | + transform: rotate(120deg); |
| 62 | + animation-delay: -0.7s; |
| 63 | +} |
| 64 | +.lds-spinner div:nth-child(6) { |
| 65 | + transform: rotate(150deg); |
| 66 | + animation-delay: -0.6s; |
| 67 | +} |
| 68 | +.lds-spinner div:nth-child(7) { |
| 69 | + transform: rotate(180deg); |
| 70 | + animation-delay: -0.5s; |
| 71 | +} |
| 72 | +.lds-spinner div:nth-child(8) { |
| 73 | + transform: rotate(210deg); |
| 74 | + animation-delay: -0.4s; |
| 75 | +} |
| 76 | +.lds-spinner div:nth-child(9) { |
| 77 | + transform: rotate(240deg); |
| 78 | + animation-delay: -0.3s; |
| 79 | +} |
| 80 | +.lds-spinner div:nth-child(10) { |
| 81 | + transform: rotate(270deg); |
| 82 | + animation-delay: -0.2s; |
| 83 | +} |
| 84 | +.lds-spinner div:nth-child(11) { |
| 85 | + transform: rotate(300deg); |
| 86 | + animation-delay: -0.1s; |
| 87 | +} |
| 88 | +.lds-spinner div:nth-child(12) { |
| 89 | + transform: rotate(330deg); |
| 90 | + animation-delay: 0s; |
| 91 | +} |
| 92 | +@keyframes lds-spinner { |
| 93 | + 0% { |
| 94 | + opacity: 1; |
| 95 | + } |
| 96 | + 100% { |
| 97 | + opacity: 0; |
| 98 | + } |
| 99 | +} |
0 commit comments