style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. body #unity-container {
  11. width: 100%;
  12. height: 100%;
  13. }
  14. body #unity-container #unity-canvas {
  15. width: 100%;
  16. height: 100%;
  17. }
  18. body #lodingTxt {
  19. position: absolute;
  20. z-index: 10;
  21. bottom: 20px;
  22. left: 50%;
  23. transform: translateX(-50%);
  24. color: #fff;
  25. font-size: 14px;
  26. }
  27. #unity-loading-bar {
  28. position: fixed;
  29. z-index: 999;
  30. top: 0;
  31. left: 0;
  32. transform: translate(0, 0);
  33. width: 100%;
  34. height: 100%;
  35. background-color: black;
  36. }
  37. #unity-logo {
  38. display: none !important;
  39. }
  40. #unity-progress-bar-empty {
  41. position: absolute;
  42. top: 0;
  43. left: 0;
  44. width: 100%;
  45. height: 100%;
  46. background: url('loding.gif') black center center no-repeat;
  47. background-size: contain;
  48. }
  49. #unity-progress-bar-full {
  50. display: none !important;
  51. }
  52. .shareBox {
  53. opacity: 0;
  54. pointer-events: none;
  55. transition: all 0.3s;
  56. position: absolute;
  57. z-index: 9000;
  58. width: 100%;
  59. height: 100%;
  60. top: 0;
  61. left: 0;
  62. background-color: rgba(0, 0, 0, 0.8);
  63. padding: 40px;
  64. text-align: center;
  65. }
  66. .shareBox > img {
  67. object-fit: contain;
  68. width: 100%;
  69. height: calc(100% - 80px);
  70. max-width: 100%;
  71. max-height: calc(100% - 80px);
  72. }
  73. .shareBox .shareTit {
  74. margin: 3px auto 24px;
  75. color: #fff;
  76. font-size: 12px;
  77. letter-spacing: 2px;
  78. }
  79. .shareBox .shareBtn {
  80. color: #fff;
  81. width: 100px;
  82. margin: 0 auto;
  83. height: 36px;
  84. line-height: 34px;
  85. border: 1px solid #fff;
  86. border-radius: 18px;
  87. text-align: center;
  88. font-size: 14px;
  89. letter-spacing: 2px;
  90. }