gameNavMoblie.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .game-moblie-nav{
  2. display: none;
  3. @media #{$phone} {
  4. display: block;
  5. position: fixed;
  6. z-index: 999;
  7. top: 0;
  8. left: 0;
  9. right: 0;
  10. height: px2rem(88);
  11. line-height: px2rem(88);
  12. background-color: #273142;
  13. .nav-icon{
  14. display: inline-block;
  15. vertical-align: middle;
  16. margin: 0 px2rem(10);
  17. width: px2rem(66);
  18. height: px2rem(88);
  19. }
  20. .moblie-nav-icon{
  21. background: url('./img/moblie-nav-icon.png') center center no-repeat;
  22. background-size: px2rem(31) px2rem(24);
  23. }
  24. .moblie-nav-close{
  25. background: url('./img/moblie-nav-close.png') center center no-repeat;
  26. background-size: px2rem(24) px2rem(24);
  27. }
  28. .game-select-list{
  29. width: px2rem(270);
  30. position: absolute;
  31. height: px2rem(88);
  32. top: 0;
  33. left: 50%;
  34. margin-left: -px2rem(135);
  35. .title{
  36. text-align: center;
  37. }
  38. .game-list{
  39. position: absolute;
  40. left: 0;
  41. right: 0;
  42. top: px2rem(80);
  43. background-color: #161d28;
  44. // &::after{
  45. // content: '';
  46. // position: absolute;
  47. // @include triangle-up(6px,#161d28);
  48. // left: 50%;
  49. // margin-left: 3px;
  50. // top: -6px;
  51. // }
  52. .select-list-item{
  53. display: block;
  54. text-align: center;
  55. height: px2rem(70);
  56. line-height: px2rem(70);
  57. border-bottom: 1px solid #262c35;
  58. &:last-child{
  59. border-bottom: none;
  60. }
  61. }
  62. }
  63. }
  64. .auction-icon-wrap{
  65. position: absolute;
  66. top: 50%;
  67. margin-top: -px2rem(26);
  68. right: px2rem(80);
  69. }
  70. .moblie-auction-icon{
  71. width: px2rem(53);
  72. height: px2rem(53);
  73. }
  74. .game-nav-newwork{
  75. position: absolute;
  76. right: 0;
  77. .wifi-icon{
  78. background-size: px2rem(53) px2rem(38) !important;
  79. }
  80. .newwork-list{
  81. right: 0;
  82. left: auto;
  83. }
  84. }
  85. .nav-list{
  86. position: absolute;
  87. top: px2rem(88);
  88. left: 0;
  89. right: 0;
  90. background-color: #273142;
  91. }
  92. .list-item{
  93. display: block;
  94. height: px2rem(78);
  95. line-height: px2rem(78);
  96. text-align: center;
  97. border-top: 1px solid #36455a;
  98. font-size: px2rem(28);
  99. color: #ffffff;
  100. text-decoration: none;
  101. .eos-get-icon{
  102. width: px2rem(48);
  103. display: inline-block;
  104. margin-right: px2rem(10);
  105. }
  106. &.current{
  107. background-color: #44546b;
  108. }
  109. }
  110. .tel-icon{
  111. width: px2rem(60);
  112. height: px2rem(60);
  113. }
  114. }
  115. .flag{
  116. width: px2rem(20);
  117. display: inline-block;
  118. margin-right: px2rem(6);
  119. }
  120. .mob-nav-arrow{
  121. display: inline-block;
  122. margin-left: px2rem(6);
  123. vertical-align: middle;
  124. background: url('./img/moblie-nav-arrow.png') no-repeat;
  125. background-size: 100%;
  126. width: px2rem(21);
  127. height: px2rem(12);
  128. }
  129. .arrow-down{
  130. display: inline-block;
  131. vertical-align: middle;
  132. background: url('./img/moblie-nav-arrow.png') no-repeat;
  133. background-size: 100%;
  134. width: 9px;
  135. height: 5px;
  136. margin-left: 6px;
  137. }
  138. .white-arrow-down{
  139. display: inline-block;
  140. vertical-align: middle;
  141. @include triangle-down(5px,#ffffff);
  142. margin-left: px2rem(6);
  143. }
  144. .login-btn{
  145. position: absolute;
  146. right: px2rem(15);
  147. top: 50%;
  148. margin-top: -px2rem(28);
  149. line-height: px2rem(56);
  150. height: px2rem(56);
  151. font-size: px2rem(28);
  152. padding: 0 px2rem(26);
  153. color: #ffffff;
  154. background-color: #279cf3;
  155. border-radius: 4px;
  156. }
  157. .login-user-name{
  158. position: absolute;
  159. right: px2rem(15);
  160. top: 0;
  161. line-height: px2rem(88);
  162. font-size: px2rem(28);
  163. color: #ffffff;
  164. &:hover, &:active{
  165. .loginout-btn{
  166. display: block;
  167. }
  168. }
  169. }
  170. .loginout-btn{
  171. position: absolute;
  172. top: px2rem(80);
  173. right: px2rem(0);
  174. width: px2rem(180);
  175. height: px2rem(90);
  176. background: rgba(#000000, 0.8);
  177. border: 1px solid rgba(#ffffff, 0.2);
  178. em{
  179. display: block;
  180. margin: px2rem(18) px2rem(15) 0;
  181. line-height: px2rem(50);
  182. text-align: center;
  183. border-radius: 5px;
  184. border: 1px solid rgba(#ffffff, 0.2);
  185. background-color: #249af2;
  186. }
  187. }
  188. }