global.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @charset "UTF-8";
  2. @import "base";
  3. @import "popup";
  4. body{
  5. background: url('./assets/bg_01.jpg') center top no-repeat;
  6. background-color: #0c0315;
  7. overflow: auto;
  8. }
  9. #app{
  10. height: 100%;
  11. -webkit-overflow-scrolling: touch;
  12. }
  13. .game-wrap{
  14. position: relative;
  15. padding-top: 58px;
  16. @media #{$phone} {
  17. padding-top: px2rem(88);
  18. }
  19. }
  20. .game-help-icon{
  21. display: inline-block;
  22. vertical-align: middle;
  23. background: url('assets/icon_question.png');
  24. width: px2rem(19);
  25. height: px2rem(19);
  26. background-size: 100%;
  27. cursor: pointer;
  28. }
  29. .game-question-icon{
  30. display: inline-block;
  31. vertical-align: middle;
  32. background: url('components/game/img/icon_q.png');
  33. width: px2rem(34);
  34. height: px2rem(34);
  35. background-size: 100%;
  36. cursor: pointer;
  37. }
  38. .game-gt-icon{
  39. display: inline-block;
  40. vertical-align: middle;
  41. background: url('assets/icon_b_gt.png') no-repeat;
  42. width: px2rem(26);
  43. height: px2rem(26);
  44. background-size: 100%;
  45. }
  46. .game-eos-icon{
  47. display: inline-block;
  48. vertical-align: middle;
  49. background: url('assets/icon_b_eos.png') no-repeat;
  50. width: px2rem(18);
  51. height: px2rem(27);
  52. background-size: 100%;
  53. }
  54. body{
  55. .el-message-box{
  56. background-color: #395497;
  57. border-color: #2b416e;
  58. border-radius: 15px;
  59. box-shadow: 0 0 5px rgba(#12223c, 0.75);
  60. }
  61. .el-message-box__title{
  62. color: #ffffff;
  63. }
  64. .el-message-box__content{
  65. color: #ffffff;
  66. }
  67. .el-message-box__headerbtn{
  68. .el-message-box__close{
  69. color: #ffffff;
  70. }
  71. }
  72. @media #{$phone} {
  73. .el-message-box{
  74. width: 80%;
  75. }
  76. }
  77. }
  78. // 弹窗样式
  79. .pub-modal{
  80. position: fixed;
  81. top: 0;
  82. left: 0;
  83. right: 0;
  84. bottom: 0;
  85. z-index: 1000;
  86. background-color: rgba($color: #000000, $alpha: .6);
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. .modal{
  91. display: inline-block;
  92. vertical-align: middle;
  93. min-width: px2rem(484);
  94. background-color: #294a6e;
  95. border: 4px solid #b38bd2;
  96. border-radius: 14px;
  97. position: relative;
  98. z-index: 1000;
  99. padding: px2rem(16) px2rem(48);
  100. box-sizing: border-box;
  101. .title{
  102. text-align: center;
  103. font-size: px2rem(24);
  104. color: #ffffff;
  105. span{
  106. display: inline-block;
  107. border-bottom: 2px solid #ffffff;
  108. padding: px2rem(10) px2rem(4);
  109. }
  110. }
  111. .content{
  112. margin-top: px2rem(30);
  113. }
  114. }
  115. .close-icon{
  116. cursor: pointer;
  117. background: url('assets/modal-close-icon.png') center center no-repeat;
  118. background-size: 100%;
  119. width: px2rem(25);
  120. height: px2rem(25);
  121. position: absolute;
  122. top: px2rem(12);
  123. right: px2rem(12);
  124. }
  125. @media #{$phone} {
  126. .modal {
  127. width: 80%;
  128. padding: px2rem(30) px2rem(60);
  129. .title{
  130. font-size: px2rem(32);
  131. }
  132. }
  133. }
  134. }
  135. @import "moblie";