gameNav.scss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. .sicbo-logo{
  2. width: px2rem(154);
  3. }
  4. .k3-logo{
  5. width: px2rem(59);
  6. }
  7. .box-logo{
  8. width: px2rem(95);
  9. }
  10. .baccarat-logo{
  11. width: px2rem(204);
  12. }
  13. .game-top-nav{
  14. position: fixed;
  15. z-index: 100;
  16. top: 0;
  17. left: 0;
  18. right: 0;
  19. background: #273142;
  20. height: 58px;
  21. @media #{$phone} {
  22. display: none;
  23. }
  24. .logo-link{
  25. height: 58px;
  26. display: flex;
  27. align-items: center;
  28. text-decoration: none;
  29. }
  30. .top-nav-container{
  31. @media #{$desktop} {
  32. min-width: 1300px;
  33. max-width: 1600px;
  34. height: 58px;
  35. }
  36. margin: 0 auto;
  37. position: relative;
  38. }
  39. .left-side{
  40. position: absolute;
  41. left: 0;
  42. top: 0;
  43. height: 58px;
  44. display: flex;
  45. align-items: center;
  46. .logo{
  47. width: 36px;
  48. }
  49. .game-title{
  50. display: inline-block;
  51. margin-left: 10px;
  52. color: #ffffff;
  53. font-size: 26px;
  54. }
  55. }
  56. .game-link{
  57. display: inline-block;
  58. margin-left: 30px;
  59. background-color: #222c3c;
  60. border: 1px solid #313d4f;
  61. font-size: 0;
  62. border-radius: 4px;
  63. .link-item{
  64. display: inline-block;
  65. width: 100px;
  66. text-align: center;
  67. height: 36px;
  68. line-height: 36px;
  69. color: #7c8ca5;
  70. font-size: 12px;
  71. text-decoration: none;
  72. box-sizing: border-box;
  73. i{
  74. display: inline-block;
  75. vertical-align: middle;
  76. margin-right: 6px;
  77. }
  78. &.current{
  79. background-color: #265a86;
  80. border: 1px solid #2da1f8;
  81. color: #ffffff;
  82. .sicbo-icon{
  83. background: url('./img/pc-sicbo-logo-c.png') no-repeat;
  84. background-size: 100%;
  85. }
  86. .k3-icon{
  87. background: url('./img/pc-k3-logo-c.png') no-repeat;
  88. background-size: 100%;
  89. }
  90. .box-icon{
  91. background: url('./img/pc-box-logo-c.png') no-repeat;
  92. background-size: 100%;
  93. }
  94. .baccarat-icon{
  95. background: url('./img/pc-baccarat-logo-c.png') no-repeat;
  96. background-size: 100%;
  97. }
  98. }
  99. }
  100. .sicbo-icon{
  101. width: 21px;
  102. height: 21px;
  103. background: url('./img/pc-sicbo-logo.png') no-repeat;
  104. background-size: 100%;
  105. }
  106. .k3-icon{
  107. width: 21px;
  108. height: 21px;
  109. background: url('./img/pc-k3-logo.png') no-repeat;
  110. background-size: 100%;
  111. }
  112. .box-icon{
  113. width: 21px;
  114. height: 21px;
  115. background: url('./img/pc-box-logo.png') no-repeat;
  116. background-size: 100%;
  117. }
  118. .baccarat-icon{
  119. width: 26px;
  120. height: 20px;
  121. background: url('./img/pc-baccarat-logo.png') no-repeat;
  122. background-size: 100%;
  123. }
  124. }
  125. .right-side{
  126. position: absolute;
  127. right: 0;
  128. top: 0;
  129. height: 58px;
  130. display: flex;
  131. align-items: center;
  132. font-size: 16px;
  133. .router-link-active{
  134. background-image: -webkit-linear-gradient(right, #9586e7, #e87bbc);
  135. -webkit-background-clip: text;
  136. -webkit-text-fill-color: transparent;
  137. }
  138. }
  139. .doughnut-link{
  140. display: block;
  141. text-decoration: none;
  142. font-size: 0;
  143. }
  144. .nav-doughnut{
  145. position: relative;
  146. margin-right: 10px;
  147. width: 46px;
  148. height: 46px;
  149. display: inline-block;
  150. span{
  151. position: absolute;
  152. left: 0;
  153. right: 0;
  154. top: 12px;
  155. text-align: center;
  156. color: #ffffff;
  157. font-size: 12px;;
  158. }
  159. em{
  160. position: absolute;
  161. font-style: normal;
  162. left: 0;
  163. right: 0;
  164. top: 25px;
  165. text-align: center;
  166. color: #798297;
  167. font-size: 12px;
  168. }
  169. }
  170. .nav-icon{
  171. display: inline-block;
  172. width: 32px;
  173. height: 32px;
  174. cursor: pointer;
  175. margin-right: 10px;
  176. }
  177. .help-icon{
  178. background: url('./img/tel-icon.png') no-repeat;
  179. background-size: 100%;
  180. transition: all .3s ease-in-out;
  181. }
  182. .arrow-down{
  183. display: inline-block;
  184. vertical-align: middle;
  185. background: url('./img/arrow-down.png') no-repeat;
  186. background-size: 100%;
  187. width: 11px;
  188. height: 7px;
  189. }
  190. .game-router-link{
  191. display: inline-block;
  192. height: 58px;
  193. line-height: 58px;
  194. padding: 0 16px;
  195. color: #ffffff;
  196. font-size: 14px;
  197. text-decoration: none;
  198. }
  199. .lang{
  200. display: flex;
  201. align-items: center;
  202. font-size: 14px;
  203. margin-left: 23px;
  204. color: #ffffff;
  205. height: 58px;
  206. cursor: pointer;
  207. position: relative;
  208. >span{
  209. display: inline-block;
  210. margin: 0 8px;
  211. }
  212. .flag{
  213. vertical-align: middle;
  214. }
  215. &:hover{
  216. .lang-change{
  217. display: block;
  218. }
  219. }
  220. }
  221. .lang-change{
  222. position: absolute;
  223. display: none;
  224. top: 50px;
  225. left: 0;
  226. background-color: rgba($color: #000000, $alpha: .7);
  227. background-size: 100%;
  228. border: 1px solid #313d4e;
  229. width: 91px;
  230. height: 108px;
  231. overflow: hidden;
  232. border-radius: 4px;
  233. }
  234. .lang-item{
  235. height: 36px;
  236. line-height: 36px;
  237. color: #ffffff;
  238. text-align: center;
  239. font-size: 14px;
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. transition: all .2s ease-in;
  244. cursor: pointer;
  245. &:hover{
  246. background-color: rgba($color: #fff, $alpha: .1);
  247. }
  248. i{
  249. display: inline-block;
  250. width: 16px;
  251. height: 16px;
  252. margin-right: 8px;
  253. vertical-align: middle;
  254. }
  255. .zh-logo{
  256. background: url('../../assets/zh-logo.png') no-repeat;
  257. }
  258. .kr-logo{
  259. background: url('../../assets/kr-logo.png') no-repeat;
  260. }
  261. .en-logo{
  262. background: url('../../assets/en-logo.png') no-repeat;
  263. }
  264. }
  265. .login-btn{
  266. width: 86px;
  267. height: 36px;
  268. line-height: 36px;
  269. background-size: 100%;
  270. font-size: 14px;
  271. color: #ffffff;
  272. margin-left: 30px;
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. cursor: pointer;
  277. background-color: #2b9ff7;
  278. margin-right: 10px;
  279. border-radius: 4px;
  280. &:hover{
  281. background-color: #5ca4dc;
  282. }
  283. .login-circle{
  284. background: url('../../assets/login-circle-icon.png') no-repeat;
  285. display: inline-block;
  286. width: 14px;
  287. height: 15px;
  288. margin-right: 4px;
  289. }
  290. }
  291. .login-user-name{
  292. color: #fff;
  293. font-size: 16px;
  294. height: 58px;
  295. line-height: 58px;
  296. cursor: pointer;
  297. position: relative;
  298. &:hover{
  299. .loginout-btn{
  300. display: block;
  301. }
  302. }
  303. .arrow-down{
  304. margin-left: 6px;
  305. }
  306. }
  307. .loginout-btn{
  308. display: none;
  309. position: absolute;
  310. background-color: #2da1f8;
  311. color: #fff;
  312. border-radius: 6px;
  313. font-size: 12px;
  314. width: 70px;
  315. left: 50%;
  316. margin-left: -35px;
  317. top: 50px;
  318. height: 30px;
  319. line-height: 30px;
  320. text-align: center;
  321. cursor: pointer;
  322. }
  323. }