123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- width: 100vw;
- height: 100vh;
- max-width: 500px;
- margin: 0 auto;
- overflow: hidden;
- #unity-container {
- position: absolute;
- top: 0;
- left: 50%;
- transform: translateX(-50%);
- z-index: 10;
- max-width: 500px;
- width: 100%;
- height: 100%;
- #unity-canvas {
- width: 100%;
- height: 100%;
- }
- }
- #lodingTxt {
- position: absolute;
- z-index: 10;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- color: #fff;
- font-size: 14px;
- }
- }
- #unity-loading-bar {
- position: fixed;
- z-index: 999;
- top: 0;
- left: 0;
- transform: translate(0, 0);
- width: 100%;
- height: 100%;
- background-color: black;
- }
- #unity-logo {
- display: none !important;
- }
- #unity-progress-bar-empty {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: url('./loding.gif') black center center no-repeat;
- background-size: contain;
- }
- #unity-progress-bar-full {
- display: none !important;
- }
- // 分享海报
- .shareBox{
- opacity: 0;
- pointer-events: none;
- transition: all .3s;
- position: absolute;
- z-index: 9000;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- background-color: rgba(0,0,0,.8);
- padding: 40px;
- text-align: center;
- &>img{
- object-fit: contain;
- width: 100%;
- height: calc(100% - 80px);
- max-width: 100%;
- max-height: calc(100% - 80px);
- }
- .shareTit{
- margin: 3px auto 24px;
- color: #fff;
- font-size: 12px;
- letter-spacing: 2px;
- }
- .shareBtn{
- color: #fff;
- width: 100px;
- margin: 0 auto;
- height: 36px;
- line-height: 34px;
- border: 1px solid #fff;
- border-radius: 18px;
- text-align: center;
- font-size: 14px;
- letter-spacing: 2px;
- }
- }
|