update app theme style

This commit is contained in:
LittleBoy 2024-06-10 13:15:13 +08:00
parent 33c729c8be
commit 00ede159b4
2 changed files with 31 additions and 32 deletions

View File

@ -1,38 +1,36 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/png" href="/favicon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Payment System</title>
<!--app_url-->
<style>
@keyframes before{0%{width:.5em;box-shadow:1em -.5em rgba(225,20,98,.75),-1em .5em rgba(111,202,220,.75)}
35%{width:2.5em;box-shadow:0 -.5em rgba(225,20,98,.75),0 .5em rgba(111,202,220,.75)}
70%{width:.5em;box-shadow:-1em -.5em rgba(225,20,98,.75),1em .5em rgba(111,202,220,.75)}
100%{box-shadow:1em -.5em rgba(225,20,98,.75),-1em .5em rgba(111,202,220,.75)}
}
@keyframes after{0%{height:.5em;box-shadow:.5em 1em rgba(61,184,143,.75),-.5em -1em rgba(233,169,32,.75)}
35%{height:2.5em;box-shadow:.5em 0 rgba(61,184,143,.75),-.5em 0 rgba(233,169,32,.75)}
70%{height:.5em;box-shadow:.5em -1em rgba(61,184,143,.75),-.5em 1em rgba(233,169,32,.75)}
100%{box-shadow:.5em 1em rgba(61,184,143,.75),-.5em -1em rgba(233,169,32,.75)}
}
.app-loading-text .loader{margin:auto;position:relative;width:2.5em;height:2.5em;transform:rotate(165deg)}
.app-loading-text .loader:after,.app-loading-text .loader:before{content:'';position:absolute;top:50%;left:50%;display:block;width:.5em;height:.5em;border-radius:.25em;transform:translate(-50%,-50%)}
.app-loading-text .loader:before{animation:before 2s infinite}
.app-loading-text .loader:after{animation:after 2s infinite}
.app-loading-text{font-family:"PingFang SC","Microsoft YaHei",sans-serif;position:fixed;left:0;right:0;text-align:center;top:50%;transform:translateY(-50%);font-size:20px}
</style>
</head>
<body>
<div id="root">
<div class="app-loading-text">
<div class="loader"></div>
<div style="margin-top: 20px;color:#999">
<div>Resources loading...</div>
<style>.app-loading-text{font-family:"PingFang SC","Microsoft YaHei",sans-serif;position:fixed;left:0;right:0;text-align:center;top:50%;transform:translateY(-50%);font-size:20px}</style>
</head>
<body>
<div id="root">
<div class="app-loading-text">
<div class="loader">
<img src="/logo.svg" alt="">
</div>
<div style="margin-top: 20px;color:#333;">
<div class="loader">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" width="50"
height="50" style="shape-rendering: auto; display: inline-block; background: transparent;">
<g>
<circle stroke-dasharray="117.80972450961724 41.269908169872416" r="25" stroke-width="4"
stroke="#43ABFF" fill="none" cy="50" cx="50">
<animateTransform keyTimes="0;1" values="0 50 50;360 50 50" dur="1s"
repeatCount="indefinite" type="rotate"
attributeName="transform"></animateTransform>
</circle>
</g>
</svg>
</div>
<div>Payment System resources loading ...</div>
</div>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

1
public/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 102 KiB