style.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. .rank-table{
  2. margin: px2rem(58) auto px2rem(100) auto;
  3. .game-table-border {
  4. width: px2rem(1300);
  5. margin: 0 auto ;
  6. background: #514391;
  7. padding: px2rem(6) 0;
  8. border-radius: 20px;
  9. }
  10. .game-table-bg{
  11. margin: 0 auto;
  12. width: px2rem(1248);
  13. padding: 0 px2rem(15) px2rem(15);
  14. background: #25405e;
  15. border-radius: 20px;
  16. border: 6px solid #1a274e;
  17. }
  18. .player-name{
  19. display: inline-block;
  20. width: px2rem(146);
  21. text-align: left;
  22. }
  23. .table-nav{
  24. display: flex;
  25. justify-content: center;
  26. button{
  27. background: url('../../assets/but_tit01_y.png') no-repeat;
  28. background-size: 100%;
  29. width: px2rem(190);
  30. height: px2rem(64);
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. outline: none;
  35. cursor: pointer;
  36. text-transform: uppercase;
  37. border: none;
  38. font-size: px2rem(24);
  39. color: #75aae4;
  40. position: relative;
  41. margin: px2rem(20) px2rem(30);
  42. &.active{
  43. color: #ffffff;
  44. background: url('../../assets/but_tit01_x.png') no-repeat;
  45. background-size: 100%;
  46. }
  47. }
  48. }
  49. table{
  50. width: px2rem(1240);
  51. margin: 0 auto;
  52. color: #ffffff;
  53. background: #25405e;
  54. text-align: center;
  55. table-layout: fixed;
  56. border-collapse:collapse;
  57. &.en-lang{
  58. .type{
  59. font-size: px2rem(16);
  60. margin: 0 px2rem(2);
  61. }
  62. .dice{
  63. margin: 0 px2rem(2);
  64. }
  65. }
  66. tr{
  67. &:nth-child(odd){
  68. background-color: #1b3048;
  69. td:first-child{
  70. border-top-left-radius: 12px;
  71. border-bottom-left-radius: 12px;
  72. }
  73. td:last-child{
  74. border-top-right-radius: 12px;
  75. border-bottom-right-radius: 12px;
  76. }
  77. }
  78. }
  79. th{
  80. font-size: px2rem(18);
  81. color: #75aae4;
  82. padding: px2rem(20);
  83. font-weight: normal;
  84. }
  85. td{
  86. font-size: px2rem(18);
  87. padding: px2rem(12) px2rem(8);
  88. .money-icon{
  89. background: url('../../assets/icon_eos.png');
  90. background-size: 100%;
  91. display: inline-block;
  92. vertical-align: middle;
  93. width: px2rem(16);
  94. height: px2rem(24);
  95. background-size: contain;
  96. margin-right: px2rem(4);
  97. }
  98. .link{
  99. color: #ffffff;
  100. text-decoration: none;
  101. &:hover{
  102. border-bottom: 1px solid #ffffff;
  103. }
  104. &.win-amount{
  105. color: #e8d86c;
  106. }
  107. }
  108. // &.my-belt {
  109. // // span
  110. // }
  111. &.result{
  112. font-size: px2rem(20);
  113. .link{
  114. font-size: px2rem(18);
  115. color: #e8d86c;
  116. &:hover{
  117. border-bottom: 1px solid #f1e000;
  118. }
  119. }
  120. }
  121. &.history-td{
  122. color: #ffffff;
  123. text-shadow: none;
  124. }
  125. &.left {
  126. text-align: left;
  127. position: relative;
  128. &.enable{
  129. cursor: pointer;
  130. }
  131. }
  132. }
  133. }
  134. .state{
  135. font-size: px2rem(16);
  136. text-shadow: none;
  137. text-decoration: none;
  138. &.tranffer-0{
  139. color: #cd0400;
  140. }
  141. &.tranffer-1{
  142. color: #126ae4;
  143. }
  144. &.tranffer-2{
  145. color: #23b14d;
  146. }
  147. &.tranffer-3{
  148. color: #cd0400;
  149. }
  150. }
  151. .type{
  152. display: inline-block;
  153. margin: 0 px2rem(4);
  154. min-width: px2rem(20);
  155. }
  156. .dice{
  157. display: inline-block;
  158. vertical-align: middle;
  159. width: px2rem(30);
  160. height: px2rem(30);
  161. margin: 0 px2rem(4);
  162. }
  163. .load-more{
  164. text-align: center;
  165. font-size: px2rem(26);
  166. color: #ffffff;
  167. margin-top: px2rem(20);
  168. }
  169. .vip-level{
  170. display: inline-block;
  171. display: inline-block;
  172. width: px2rem(46);
  173. height: px2rem(38);
  174. vertical-align: middle;
  175. }
  176. @for $i from 1 through 10 {
  177. .icon-level#{$i} {
  178. background: url('../../assets/icon-level#{$i}.png') no-repeat;
  179. background-size: 100%;
  180. }
  181. }
  182. &.td-underline{
  183. .enable{
  184. &:hover{
  185. &::after{
  186. content: '';
  187. position: absolute;
  188. left: px2rem(16);
  189. width: px2rem(200);
  190. bottom: px2rem(10);
  191. height: 1px;
  192. background-color: #ffffff;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. .dice-1{
  199. background: url('../../assets/dice-1.png') no-repeat;
  200. background-size: 100%;
  201. }
  202. .dice-2{
  203. background: url('../../assets/dice-2.png') no-repeat;
  204. background-size: 100%;
  205. }
  206. .dice-3{
  207. background: url('../../assets/dice-3.png') no-repeat;
  208. background-size: 100%;
  209. }
  210. .dice-4{
  211. background: url('../../assets/dice-4.png') no-repeat;
  212. background-size: 100%;
  213. }
  214. .dice-5{
  215. background: url('../../assets/dice-5.png') no-repeat;
  216. background-size: 100%;
  217. }
  218. .dice-6{
  219. background: url('../../assets/dice-6.png') no-repeat;
  220. background-size: 100%;
  221. }
  222. .dice-round-1 {
  223. animation: dice-around-1 linear infinite .5s;
  224. }
  225. .dice-round-2 {
  226. animation: dice-around-2 linear infinite .5s;
  227. }
  228. .dice-round-3 {
  229. animation: dice-around-3 linear infinite .5s;
  230. }
  231. @keyframes dice-around-1 {
  232. 0% {
  233. background: url(../../assets/dice-round-1.png) center center / 100% 100% ;
  234. }
  235. 25% {
  236. background: url(../../assets/dice-round-2.png) center center / 100% 100% ;
  237. }
  238. 50% {
  239. background: url(../../assets/dice-round-3.png) center center / 100% 100% ;
  240. }
  241. 75% {
  242. background: url(../../assets/dice-round-4.png) center center / 100% 100% ;
  243. }
  244. 100% {
  245. background: url(../../assets/dice-round-1.png) center center / 100% 100% ;
  246. }
  247. }
  248. @keyframes dice-around-2 {
  249. 0% {
  250. background: url(../../assets/dice-round-2.png) center center / 100% 100% ;
  251. }
  252. 25% {
  253. background: url(../../assets/dice-round-3.png) center center / 100% 100% ;
  254. }
  255. 50% {
  256. background: url(../../assets/dice-round-4.png) center center / 100% 100% ;
  257. }
  258. 75% {
  259. background: url(../../assets/dice-round-1.png) center center / 100% 100% ;
  260. }
  261. 100% {
  262. background: url(../../assets/dice-round-2.png) center center / 100% 100% ;
  263. }
  264. }
  265. @keyframes dice-around-3 {
  266. 0% {
  267. background: url(../../assets/dice-round-3.png) center center / 100% 100% ;
  268. }
  269. 25% {
  270. background: url(../../assets/dice-round-4.png) center center / 100% 100% ;
  271. }
  272. 50% {
  273. background: url(../../assets/dice-round-1.png) center center / 100% 100% ;
  274. }
  275. 75% {
  276. background: url(../../assets/dice-round-2.png) center center / 100% 100% ;
  277. }
  278. 100% {
  279. background: url(../../assets/dice-round-3.png) center center / 100% 100% ;
  280. }
  281. }
  282. .moblie-list{
  283. display: none;
  284. .list-item{
  285. margin: px2rem(10) px2rem(10) px2rem(20);
  286. background-color: #314e6e;
  287. padding-bottom: px2rem(10);
  288. .top{
  289. height: px2rem(52);
  290. line-height: px2rem(52);
  291. background-color: #415b7a;
  292. color: #ffffff;
  293. font-size: px2rem(24);
  294. padding-left: px2rem(10);
  295. .amount{
  296. float: right;
  297. margin-right: px2rem(10);
  298. }
  299. }
  300. .content{
  301. padding: px2rem(16) px2rem(16) px2rem(8);
  302. padding-right: 0;
  303. color: #ffffff;
  304. font-size: 0;
  305. }
  306. .bottom{
  307. height: px2rem(40);
  308. line-height: px2rem(40);
  309. text-align: right;
  310. font-size: px2rem(20);
  311. color: #c0c5cc;
  312. padding-right: px2rem(10);
  313. }
  314. .m-dice-item{
  315. display: inline-block;
  316. vertical-align: top;
  317. width: px2rem(30);
  318. height: px2rem(30);
  319. margin-right: px2rem(10);
  320. }
  321. .type{
  322. display: inline-block;
  323. margin: 0 px2rem(6);
  324. font-size: px2rem(28);
  325. }
  326. .right{
  327. float: right;
  328. font-size: px2rem(24);
  329. margin-right: px2rem(12);
  330. em{
  331. color: #e8d86c;
  332. }
  333. .status{
  334. color: #23b14d;
  335. display: inline-block;
  336. margin-left: px2rem(6);
  337. }
  338. .game-eos-icon{
  339. margin-right: px2rem(10);
  340. }
  341. }
  342. }
  343. .game-eos-icon{
  344. transform: scale(1.3);
  345. margin-left: px2rem(10);
  346. vertical-align: middle;
  347. }
  348. }
  349. @media #{$phone} {
  350. .moblie-list{
  351. display: block;
  352. }
  353. .rank-table{
  354. .game-table-border{
  355. width: 100%;
  356. border-radius: 10px;
  357. }
  358. .game-table-bg{
  359. width: 100%;
  360. box-sizing: border-box;
  361. border-radius: 10px;
  362. padding: 0;
  363. }
  364. table{
  365. display: none;
  366. }
  367. }
  368. }
  369. .live-table{
  370. // td{
  371. // &:nth-child(3) {
  372. // text-align: left;
  373. // }
  374. // }
  375. // table-layout:fixed;
  376. // th{
  377. // &:nth-child(4) {
  378. // width: px2rem(100);
  379. // }
  380. // }
  381. // td{
  382. // &:nth-child(4) {
  383. // width: px2rem(100);
  384. // }
  385. // }
  386. &.en-lang{
  387. td{
  388. &:nth-child(3) {
  389. font-size: px2rem(16);
  390. }
  391. }
  392. }
  393. }
  394. .huge-table{
  395. // table-layout:fixed;
  396. // th{
  397. // &:nth-child(5) {
  398. // width: px2rem(100);
  399. // }
  400. // }
  401. // td{
  402. // &:nth-child(4) {
  403. // text-align: left;
  404. // }
  405. // &:nth-child(5) {
  406. // width: px2rem(100);
  407. // }
  408. // }
  409. &.en-lang{
  410. td{
  411. &:nth-child(4) {
  412. font-size: px2rem(16);
  413. }
  414. }
  415. }
  416. }