| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- <style data-app-loading="inject-css">
- @keyframes logo-breath {
- 0%,
- 100% {
- filter: drop-shadow(0 18px 36px rgb(137 1 69 / 16%))
- drop-shadow(0 0 0 rgb(187 48 118 / 0%));
- opacity: 0.8;
- transform: scale(0.98);
- }
- 50% {
- filter: drop-shadow(0 18px 42px rgb(137 1 69 / 24%))
- drop-shadow(0 0 26px rgb(187 48 118 / 34%));
- opacity: 1;
- transform: scale(1.03);
- }
- }
- @keyframes ring-breath {
- 0%,
- 100% {
- box-shadow: 0 0 0 rgb(187 48 118 / 0%);
- opacity: 0.24;
- }
- 50% {
- box-shadow: 0 0 22px rgb(187 48 118 / 18%);
- opacity: 0.68;
- }
- }
- @keyframes shadow-breath {
- 0%,
- 100% {
- opacity: 0.22;
- transform: scaleX(0.96);
- }
- 50% {
- opacity: 0.34;
- transform: scaleX(1.02);
- }
- }
- @keyframes text-breath {
- 0%,
- 100% {
- opacity: 0.9;
- }
- 50% {
- opacity: 1;
- }
- }
- @keyframes dot-blink {
- 0%,
- 80%,
- 100% {
- opacity: 0.2;
- }
- 40% {
- opacity: 1;
- }
- }
- @keyframes halo-breath {
- 0%,
- 100% {
- opacity: 0.56;
- transform: scale(0.94);
- }
- 50% {
- opacity: 0.9;
- transform: scale(1.08);
- }
- }
- @keyframes halo-floor {
- 0%,
- 100% {
- opacity: 0.34;
- transform: scaleX(0.92);
- }
- 50% {
- opacity: 0.56;
- transform: scaleX(1.04);
- }
- }
- @media (max-width: 640px) {
- .title {
- margin-top: 2px;
- letter-spacing: 0.05em;
- }
- .loading-text {
- margin-top: 0;
- font-size: 12px;
- letter-spacing: 0.22em;
- }
- }
- @media (prefers-reduced-motion: reduce) {
- .loading::before,
- .loading::after,
- .loader::before,
- .loader::after,
- .loader-image,
- .title,
- .dots span {
- animation: none;
- }
- }
- html {
- /* same as antdv-next/dist/reset.css setting, avoid the title line-height changed */
- line-height: 1.15;
- }
- .loading {
- position: fixed;
- inset: 0;
- z-index: 9999;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- background: radial-gradient(
- circle at top,
- rgb(187 48 118 / 16%),
- transparent 36%
- ),
- linear-gradient(180deg, #fbfcfd 0%, #f4f7f9 55%, #eef2f5 100%);
- }
- .loading::before,
- .loading::after {
- position: absolute;
- pointer-events: none;
- content: '';
- filter: blur(8px);
- border-radius: 999px;
- }
- /* .loading::before {
- width: 320px;
- height: 320px;
- background: rgb(137 1 69 / 10%);
- animation: halo-breath 3.2s ease-in-out infinite;
- } */
- .loading::after {
- bottom: 12%;
- width: 520px;
- height: 120px;
- background: rgb(137 1 69 / 6%);
- filter: blur(28px);
- animation: halo-floor 3.2s ease-in-out infinite;
- }
- .loading.hidden {
- pointer-events: none;
- visibility: hidden;
- opacity: 0;
- transition: all 0.8s ease-out;
- }
- .dark .loading {
- background: radial-gradient(
- circle at top,
- rgb(187 48 118 / 24%),
- transparent 34%
- ),
- linear-gradient(180deg, #1b1217 0%, #120c11 48%, #0d0d10 100%);
- }
- .dark .loading::before {
- background: rgb(187 48 118 / 16%);
- }
- .dark .loading::after {
- background: rgb(255 255 255 / 6%);
- }
- .loading-shell {
- position: relative;
- z-index: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: min(88vw, 420px);
- text-align: center;
- }
- .loader {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- width: min(60vw, 260px);
- height: min(48vw, 220px);
- margin-bottom: 30px;
- isolation: isolate;
- }
- /* .loader::before {
- position: absolute;
- inset: 18% 14%;
- border: 1px solid rgb(137 1 69 / 14%);
- border-radius: 50%;
- content: '';
- animation: ring-breath 2.6s ease-in-out infinite;
- } */
- .loader::after {
- position: absolute;
- bottom: 12px;
- width: 62%;
- height: 18px;
- content: '';
- background: rgb(102 13 52 / 16%);
- filter: blur(10px);
- border-radius: 999px;
- animation: shadow-breath 2.6s ease-in-out infinite;
- }
- .dark .loader::before {
- border-color: rgb(255 255 255 / 12%);
- }
- .dark .loader::after {
- background: rgb(255 255 255 / 10%);
- }
- .loader-image {
- position: relative;
- z-index: 1;
- width: min(220px, 48vw);
- max-width: 220px;
- height: auto;
- filter: drop-shadow(0 18px 36px rgb(137 1 69 / 18%))
- drop-shadow(0 0 0 rgb(187 48 118 / 0%));
- transform-origin: center;
- animation: logo-breath 2.6s ease-in-out infinite;
- }
- .title {
- margin-top: 8px;
- font-size: clamp(24px, 3vw, 30px);
- font-weight: 700;
- color: #890145;
- letter-spacing: 0.08em;
- animation: text-breath 2.6s ease-in-out infinite;
- }
- .dark .title {
- color: #fff;
- }
- .loading-text {
- display: inline-flex;
- gap: 4px;
- align-items: center;
- margin-top: -50px;
- margin-left: 30px;
- font-size: 13px;
- font-weight: 600;
- color: rgb(137 1 69 / 74%);
- text-transform: uppercase;
- letter-spacing: 0.28em;
- }
- .dark .loading-text {
- color: rgb(255 255 255 / 72%);
- }
- .dots {
- display: inline-flex;
- align-items: center;
- min-width: 24px;
- }
- .dots span {
- opacity: 0.2;
- animation: dot-blink 1.4s infinite;
- }
- .dots span:nth-child(2) {
- animation-delay: 0.2s;
- }
- .dots span:nth-child(3) {
- animation-delay: 0.4s;
- }
- </style>
- <div class="loading" id="__app-loading__">
- <div class="loading-shell">
- <div class="loader" aria-hidden="true">
- <img class="loader-image" src="./loading.png" alt="Loading" />
- </div>
- <div class="loading-text" aria-label="Loading">
- <span>Loading</span>
- <span class="dots" aria-hidden="true">
- <span>.</span>
- <span>.</span>
- <span>.</span>
- </span>
- </div>
- </div>
- </div>
|