123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- width: 100%;
- height: 100%;
- #unity-container {
- 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;
- }
- // 视频盒子
- .videoBox {
- position: absolute;
- z-index: 8000;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: black;
- video {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- max-width: 100%;
- max-height: 100%;
- }
- .skipTxt{
- position: absolute;
- z-index: 10;
- right: 15px;
- top: 15px;
- width: 60px;
- height: 30px;
- background-color: rgba(0,0,0,.6);
- line-height: 30px;
- text-align: center;
- color: #fff;
- }
- }
|