|
6 | 6 | max-height: calc(100% - 6rem); |
7 | 7 | display: flex; |
8 | 8 | flex-flow: column; |
9 | | - transition: ease left 0.2s; |
| 9 | + transition: ease left 0.3s; |
10 | 10 | background: rgba(255, 255, 255, 0.5); |
11 | 11 | backdrop-filter: blur(5px); |
12 | 12 | border: 1px solid var(--color-border); |
|
17 | 17 | left: -20rem; |
18 | 18 | } |
19 | 19 |
|
| 20 | +#panel-loader-wrapper { |
| 21 | + position: absolute; |
| 22 | + left: 0; |
| 23 | + right: 0; |
| 24 | + bottom: 0; |
| 25 | + top: 0; |
| 26 | + display: flex; |
| 27 | + justify-content: center; |
| 28 | + align-items: center; |
| 29 | + background-color: var(--color-blue); |
| 30 | + z-index: 2; |
| 31 | +} |
| 32 | + |
| 33 | +#panel-loader { |
| 34 | + width: 48px; |
| 35 | + height: 48px; |
| 36 | + border-radius: 50%; |
| 37 | + position: relative; |
| 38 | + animation: rotate 1s linear infinite; |
| 39 | +} |
| 40 | +#panel-loader::before { |
| 41 | + content: ""; |
| 42 | + box-sizing: border-box; |
| 43 | + position: absolute; |
| 44 | + inset: 0px; |
| 45 | + border-radius: 50%; |
| 46 | + border: 5px solid #fff; |
| 47 | + animation: prixClipFix 2s linear infinite; |
| 48 | +} |
| 49 | + |
| 50 | +@keyframes rotate { |
| 51 | + 100% { |
| 52 | + transform: rotate(360deg); |
| 53 | + } |
| 54 | +} |
| 55 | + |
| 56 | +@keyframes prixClipFix { |
| 57 | + 0% { |
| 58 | + clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); |
| 59 | + } |
| 60 | + 25% { |
| 61 | + clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); |
| 62 | + } |
| 63 | + 50% { |
| 64 | + clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); |
| 65 | + } |
| 66 | + 75% { |
| 67 | + clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); |
| 68 | + } |
| 69 | + 100% { |
| 70 | + clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); |
| 71 | + } |
| 72 | +} |
| 73 | + |
20 | 74 | .panel-container { |
21 | 75 | display: flex; |
22 | 76 | background-color: white; |
|
0 commit comments