Files
peko-h5/view/peko/modules/room_rank/css/index.scss
2024-03-28 10:17:29 +08:00

553 lines
14 KiB
SCSS

@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: linear-gradient(0deg, #020B27 0%, #1D181B 99%);
backdrop-filter: blur(0px);
// background: #0B1836;
overflow: hidden;
}
.back {
position: fixed;
top: px2rem(20);
left: px2rem(24);
z-index: 99;
width: px2rem(62);
height: px2rem(62);
img {
width: 100%;
height: 100%;
}
p {
color: #fff;
font-size: px2rem(32);
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: px2rem(62);
}
}
.largestBox {
width: px2rem(750);
min-height: px2rem(1154);
background: url(../images/bg.png) no-repeat;
background-size: px2rem(750) px2rem(1154);
margin: 0 auto;
position: relative;
box-sizing: border-box;
padding: px2rem(90) 0 0 0;
.title {
width: px2rem(530);
height: px2rem(86);
position: absolute;
top: px2rem(-11);
left: 50%;
transform: translateX(-50%);
}
.tab {
width: px2rem(274);
height: px2rem(40);
line-height: px2rem(40);
display: flex;
justify-content: space-between;
margin: 0 auto 0;
div {
position: relative;
color: rgba(255, 255, 255, .7);
font-size: px2rem(28);
font-weight: 600;
span {
background: none;
width: px2rem(24);
height: px2rem(6);
border-radius: px2rem(6);
position: absolute;
bottom: px2rem(-8);
left: 50%;
transform: translateX(-50%);
}
}
.tabColor1 {
color: #fff;
font-size: px2rem(28);
span {
background: #FA7814;
}
}
.tabColor2 {
color: #fff;
span {
background: #A34DFF;
}
}
}
.dayTab {
// width: px2rem(400);
width: px2rem(250);
height: px2rem(46);
margin: px2rem(26) auto 0;
display: flex;
justify-content: space-between;
div {
width: px2rem(100);
height: px2rem(46);
line-height: px2rem(46);
border-radius: px2rem(46);
text-align: center;
color: rgba(255, 255, 255, .7);
background: rgba(210, 172, 252, .4);
font-size: px2rem(24);
font-weight: 500;
}
.dayTabColor1 {
background: #fff;
color: #FA7814;
}
.dayTabColor2 {
background: #fff;
color: #A34DFF;
}
}
.top3 {
width: px2rem(660);
height: px2rem(1);
margin: px2rem(228) auto 0;
position: relative;
.no1 {
width: px2rem(238);
height: px2rem(216);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(-216);
.box {
width: 100%;
height: 100%;
position: absolute;
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(156);
height: px2rem(156);
position: absolute;
left: 50%;
top: px2rem(44);
// top: px2rem(34);
transform: translateX(-50%);
border-radius: 50%;
}
p {
width: 100%;
position: absolute;
left: 0;
bottom: px2rem(-42);
text-align: center;
span {
vertical-align: middle;
color: #E6ECF5;
font-size: px2rem(28);
}
.sp {
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
display: inline-block;
img {
display: inline-block;
width: px2rem(16);
height: px2rem(16);
border-radius: 50%;
margin: px2rem(5) auto 0;
}
}
.boy {
background: #6BB3FF;
}
.woman {
background: #FF80CC;
}
}
.icon {
width: 100%;
height: px2rem(36);
position: absolute;
left: 0;
display: flex;
justify-content: space-between;
box-sizing: border-box;
bottom: px2rem(-84);
padding: 0 px2rem(45);
img {
display: block;
width: px2rem(72);
height: px2rem(36);
}
}
.score {
width: 100%;
text-align: center;
color: #FFDA24;
font-size: px2rem(24);
font-weight: 500;
position: absolute;
left: 0;
bottom: px2rem(-115);
}
}
}
.no2 {
width: px2rem(200);
height: px2rem(178);
position: absolute;
left: 0;
top: px2rem(-180);
.box {
width: 100%;
height: 100%;
position: absolute;
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(128);
height: px2rem(128);
position: absolute;
left: 50%;
top: px2rem(34);
transform: translateX(-50%);
border-radius: 50%;
}
p {
width: 100%;
position: absolute;
left: 0;
bottom: px2rem(-42);
text-align: center;
span {
vertical-align: middle;
color: #E6ECF5;
font-size: px2rem(28);
}
.sp {
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
display: inline-block;
img {
display: inline-block;
width: px2rem(16);
height: px2rem(16);
border-radius: 50%;
margin: px2rem(5) auto 0;
}
}
.boy {
background: #6BB3FF;
}
.woman {
background: #FF80CC;
}
}
.icon {
width: 100%;
height: px2rem(36);
position: absolute;
left: 0;
display: flex;
justify-content: space-between;
box-sizing: border-box;
bottom: px2rem(-84);
padding: 0 px2rem(25);
img {
display: block;
width: px2rem(72);
height: px2rem(36);
}
}
.score {
width: 100%;
text-align: center;
color: #FFDA24;
font-size: px2rem(24);
font-weight: 500;
position: absolute;
left: 0;
bottom: px2rem(-115);
}
}
}
.no3 {
width: px2rem(200);
height: px2rem(178);
position: absolute;
right: 0;
top: px2rem(-180);
.box {
width: 100%;
height: 100%;
position: absolute;
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(128);
height: px2rem(128);
position: absolute;
left: 50%;
top: px2rem(34);
transform: translateX(-50%);
border-radius: 50%;
}
p {
width: 100%;
position: absolute;
left: 0;
bottom: px2rem(-42);
text-align: center;
span {
vertical-align: middle;
color: #E6ECF5;
font-size: px2rem(28);
}
.sp {
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
display: inline-block;
img {
display: inline-block;
width: px2rem(16);
height: px2rem(16);
border-radius: 50%;
margin: px2rem(5) auto 0;
}
}
.boy {
background: #6BB3FF;
}
.woman {
background: #FF80CC;
}
}
.icon {
width: 100%;
height: px2rem(36);
position: absolute;
left: 0;
display: flex;
justify-content: space-between;
box-sizing: border-box;
bottom: px2rem(-84);
padding: 0 px2rem(25);
img {
display: block;
width: px2rem(72);
height: px2rem(36);
}
}
.score {
width: 100%;
text-align: center;
color: #FFDA24;
font-size: px2rem(24);
font-weight: 500;
position: absolute;
left: 0;
bottom: px2rem(-115);
}
}
}
}
ul {
width: px2rem(718);
height: px2rem(578);
margin: px2rem(136) auto 0;
background: rgba(255, 167, 141, 0.16);
border-radius: px2rem(32) px2rem(32) 0px 0px;
border: px2rem(2) solid rgba(255, 217, 115, 0.5);
backdrop-filter: blur(7px);
border-bottom: none;
box-sizing: border-box;
padding: px2rem(16) 0 px2rem(140);
overflow-y: scroll;
&::-webkit-scrollbar{
display: none;
}
li {
width: 100%;
height: px2rem(144);
box-sizing: border-box;
padding: 0 px2rem(25);
overflow: hidden;
.num {
width: px2rem(40);
height: 100%;
line-height: px2rem(144);
text-align: center;
color: #E6ECF5;
font-size: px2rem(32);
font-weight: 500;
float: left;
margin-right: px2rem(12);
}
.tx {
display: block;
float: left;
width: px2rem(96);
height: px2rem(96);
border-radius: px2rem(96);
margin-top: px2rem(24);
margin-right: px2rem(16);
}
.userInfo {
width: px2rem(210);
float: left;
p {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-top: px2rem(30);
margin-bottom: px2rem(8);
color: #E6ECF5;
font-size: px2rem(28);
font-weight: 500;
}
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
margin-right: px2rem(8);
}
}
.score {
float: right;
text-align: right;
p {
color: #E6ECF5;
font-size: px2rem(28);
font-weight: 600;
margin-top: px2rem(36);
margin-bottom: px2rem(5);
}
span {
color: #B1B5BD;
font-size: px2rem(22);
font-weight: 400;
display: block;
}
}
}
}
}
.layui-m-layershade {
background-color: rgba(0, 0, 0, .0) !important;
}
.layui-m-layer2 .layui-m-layerchild {
width: 3rem !important;
height: 3rem !important;
border: none !important;
box-shadow: none !important;
color: #fff !important;
background: rgba(0, 0, 0, .6) !important;
}
.layui-m-layer2 .layui-m-layercont {
text-align: center !important;
padding: 0 !important;
line-height: 0 !important;
margin-top: 0.8rem !important;
}