|
2187 | 2187 | /* Spinner |
2188 | 2188 | ========================================================================== */ |
2189 | 2189 |
|
2190 | | -.spinner { |
2191 | | - -webkit-mask-box-image: radial-gradient( |
2192 | | - center, |
2193 | | - ellipse farthest-corner, |
2194 | | - rgb(0 0 0 / 100%) 68%, |
2195 | | - rgb(0 0 0 / 0%) 69.5% |
2196 | | - ); |
2197 | | - background: #eee; |
2198 | | - size: 20px; |
2199 | | - position: relative; |
2200 | | - clip-path: ellipse(10px 10px at 50% 50%); |
2201 | | -} |
2202 | | - |
2203 | | -.spinner-inner { |
2204 | | - position: absolute; |
2205 | | - top: 0; |
2206 | | - left: 0; |
2207 | | - background: transparent; |
2208 | | - border-width: 10px; |
2209 | | - size: 0; |
2210 | | - border-style: solid; |
2211 | | - border-color: transparent; |
2212 | | - border-top-color: rgb(124 124 124 / 100%); |
2213 | | - transform: rotate(-45deg); |
2214 | | - animation: inner 15s linear infinite; |
2215 | | -} |
2216 | | - |
2217 | | -.spinner-mask { |
2218 | | - position: absolute; |
2219 | | - top: 0; |
2220 | | - left: 0; |
2221 | | - background: transparent; |
2222 | | - border-width: 10px; |
2223 | | - size: 0; |
2224 | | - border-style: solid; |
2225 | | - border-color: transparent; |
2226 | | - border-top-color: #eee; |
2227 | | - transform: rotate(-45deg); |
2228 | | - animation: mask 15s linear infinite; |
2229 | | -} |
2230 | | - |
2231 | | -.spinner-mask::after, |
2232 | | -.spinner-mask-two { |
2233 | | - display: block; |
2234 | | - content: ""; |
| 2190 | +.fullscreen-loader { |
| 2191 | + position: fixed; |
| 2192 | + inset: 0; |
| 2193 | + display: flex; |
| 2194 | + justify-content: center; |
| 2195 | + align-items: center; |
| 2196 | + padding: 50px; |
| 2197 | + background-color: rgb(0 0 0 / 50%); |
| 2198 | + font-size: 50px; |
| 2199 | + z-index: 9999; |
| 2200 | + visibility: hidden; |
2235 | 2201 | opacity: 0; |
2236 | | - position: absolute; |
2237 | | - top: 0; |
2238 | | - left: 0; |
2239 | | - background: transparent; |
2240 | | - border-width: 10px; |
2241 | | - size: 0; |
2242 | | - border-style: solid; |
2243 | | - border-color: transparent; |
2244 | | - border-top-color: rgb(124 124 124 / 100%); |
2245 | | - transform: rotate(45deg); |
2246 | | - animation: mask-two 15s linear infinite; |
| 2202 | + transition: opacity 0.2s ease, visibility 0s 0.2s; |
2247 | 2203 | } |
2248 | 2204 |
|
2249 | | -@keyframes inner { |
2250 | | - 0% { |
2251 | | - transform: rotate(-45deg); |
2252 | | - } |
2253 | | - |
2254 | | - 25% { |
2255 | | - border-left-color: transparent; |
2256 | | - } |
2257 | | - |
2258 | | - 26% { |
2259 | | - border-left-color: rgb(124 124 124 / 100%); |
2260 | | - } |
2261 | | - |
2262 | | - 50% { |
2263 | | - border-bottom-color: transparent; |
2264 | | - } |
2265 | | - |
2266 | | - 51% { |
2267 | | - border-bottom-color: rgb(124 124 124 / 100%); |
2268 | | - } |
2269 | | - |
2270 | | - 75% { |
2271 | | - border-right-color: transparent; |
2272 | | - } |
2273 | | - |
2274 | | - 76% { |
2275 | | - border-right-color: rgb(124 124 124 / 100%); |
2276 | | - } |
2277 | | - |
2278 | | - 100% { |
2279 | | - transform: rotate(315deg); |
2280 | | - border-left-color: rgb(124 124 124 / 100%); |
2281 | | - border-bottom-color: rgb(124 124 124 / 100%); |
2282 | | - border-right-color: rgb(124 124 124 / 100%); |
2283 | | - } |
2284 | | -} |
2285 | | - |
2286 | | -@keyframes mask { |
2287 | | - 0% { |
2288 | | - transform: rotate(-45deg); |
2289 | | - } |
2290 | | - |
2291 | | - 75% { |
2292 | | - transform: rotate(-45deg); |
2293 | | - } |
2294 | | - |
2295 | | - 100% { |
2296 | | - transform: rotate(45deg); |
2297 | | - } |
2298 | | -} |
2299 | | - |
2300 | | -@keyframes mask-two { |
2301 | | - 0% { |
2302 | | - opacity: 0; |
2303 | | - } |
2304 | | - |
2305 | | - 25% { |
2306 | | - opacity: 0; |
2307 | | - } |
2308 | | - |
2309 | | - 26% { |
2310 | | - opacity: 1; |
2311 | | - } |
2312 | | - |
2313 | | - 100% { |
2314 | | - opacity: 1; |
2315 | | - } |
| 2205 | +.fullscreen-loader.show { |
| 2206 | + visibility: visible; |
| 2207 | + opacity: 1; |
| 2208 | + transition: opacity 0.2s ease, visibility 0s 0s; |
2316 | 2209 | } |
2317 | 2210 |
|
2318 | 2211 | .qr-code { |
|
0 commit comments