UNPKG

press-pix

Version:
210 lines (204 loc) 4.31 kB
.rank-tips-icon { position: absolute; top: .71rem; left: 1.68rem; background-image: url('https://image-1251917893.file.myqcloud.com/Esports/pix/img/node1v1/icon-tips.png'); background-size: 100%; background-repeat: no-repeat; width: .19rem; height: .19rem; } .bd-title{ position: absolute; left: 1.55rem; top: 0.75rem; font-size: .18rem; color: #294391; } .rank-list-title { background: #5271c3; width: 9.54rem; height: .32rem; border: 1px solid #8fC4f7; margin-left: .48rem; display: flex; flex-direction: row; align-items: center; } .rank-title-item { font-family: GameFont; font-size: .2rem; color: #ffffff; padding-top: .02rem; } .rank-list{ display: flex; flex-direction: column; width: 9.54rem; height: 3.9rem; margin-top: .14rem; margin-left: .48rem; overflow: scroll; scrollbar-color: transparent; scrollbar-width: 0; } .empty-box{ width: 9.54rem; height: 3.9rem; margin-top: .14rem; margin-left: .4rem; } .rank-item{ display: flex; flex-direction: row; align-items: center; width: 9.54rem; flex-shrink: 0; height: .72rem; background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/rank-item-bg.png); background-size: 100%; margin-bottom: .06rem; } .rank-item1{ .rank-num-box{ background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/rank-bg1.png); } .rank-border{ background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/border-1.png); } } .rank-item2{ .rank-num-box{ background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/rank-bg2.png); } .rank-border{ background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/border-2.png); } } .rank-item3{ .rank-num-box{ background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/rank-bg3.png); } .rank-border{ background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/border-3.png); } } .my-rank-item{ display: flex; flex-direction: row; align-items: center; margin-left: .4rem; padding: 0 .08rem .18rem; width: 9.7rem; height: .9rem; background-color: transparent; background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/my-rank-bg.png); background-size: 100%; background-repeat: no-repeat; overflow: hidden; .rank-num{ color: #ffffff; } .rank-num-box { left: -0.01rem; bottom: .068rem; } .rank-name, .rank-score, .rank-integral, .rank-time, .rank-kill{ color: #ffffff; } } .rank-col-item { display: flex; flex-direction: row; justify-content: center; align-items: center; width: 1.5rem; &:first-child { width: 1.04rem; } &:nth-child(2) { flex-grow: 1; } } .rank-num-box{ position: absolute; left: -.08rem; display: flex; flex-direction: row; align-items: center; justify-content: center; width: 2.04rem; height: .72rem; background-size: 100%; background-repeat: no-repeat; flex-grow: 0; } .rank-num-img{ width: .88rem; height: .88rem; } .rank-num{ font-family: GameFont; font-size: .26rem; color: #294391; } .rank-name-box { flex-grow: 1; } .rank-avatar{ position: relative; // margin-left: .6rem; background-color: #9a9b9d; .rank-avatar-img{ width: .54rem; height: .54rem; } .rank-border{ position: absolute; top: 0; left: 0; width: .54rem; height: .54rem; background-size: .54rem .54rem; } } .rank-name{ margin-left: .12rem; width: 1.38rem; font-family: GameFont; font-size: .2rem; color: #294391; line-clamp: 1; } .rank-score, .rank-integral, .rank-time, .rank-kill{ display: flex; flex-direction: row; justify-content: center; font-family: GameFont; font-size: .2rem; color: #294391; } .rank-name-content { display: flex; flex-direction: column; } .promote { margin-left: .12rem; width: .6rem; height: .22rem; background-size: 100%; background-repeat: no-repeat; &-fail { background-image: url('https://image-1251917893.file.myqcloud.com/Esports/pix/img/node1v1/not-promote.png'); } &-success { background-image: url('https://image-1251917893.file.myqcloud.com/Esports/pix/img/node1v1/promote.png'); } }