press-pix
Version:
197 lines • 4.11 kB
text/less
.matching-success{
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
z-index: 99;
background-color: #ffffff;
// background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/matching-success.jpg);
// background-size: 100%;
// background-size: cover;
// background-position: center center;
}
.frame-animation {
position: absolute;
left: 0;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
}
.matching-success-content{
display: flex;
z-index: 10;
align-items: center;
flex-direction: column;
width: 12.8rem;
height: 7.2rem;
padding-top: .4rem;
// 初始动画位置
opacity: 0;
transition: opacity 1s;
}
// 结束动画位置
.show-animation {
.matching-success-content {
opacity: 1;
}
}
.success-title{
flex-shrink: 0;
font-family: GameFont;
font-size: .42rem;
color: #060b19;
}
.success-countdown{
flex-shrink: 0;
font-family: GameFont;
font-size: .72rem;
color: #060b19;
height: .9rem;
}
.success-team{
display: flex;
flex-direction: row;
align-items: center;
flex-shrink: 0;
height: 2.98rem;
margin-top: .24rem;
}
.team-list{
position: relative;
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 5rem;
&.team-list-left{
justify-content: flex-end;
.team-area{
right: 0;
}
.team-item{
margin-left: .1rem;
background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/default-yellow.png);
}
}
&.team-list-right{
justify-content: flex-start;
.team-area{
left: 0;
text-align: left;
}
.team-item{
margin-right: .1rem;
background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/default-blue.png);
}
}
}
.team-area{
position: absolute;
top: -.4rem;
font-size: .24rem;
color: #060b19;
text-align: right;
font-family: GameFont;
}
.team-item{
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: .88rem;
height: .88rem;
background-size: 100%;
&:nth-child(6),
&:nth-child(7),
&:nth-child(8),
&:nth-child(9),
&:nth-child(10){
margin-top: .1rem;
}
}
.img-avatar{
width: .86rem;
height: .86rem;
}
.avatar-mask{
position: absolute;
top: 0;
left: 0;
width: .88rem;
height: .88rem;
background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/avatar-mask.png);
background-size: 100%;
}
.match-logo-box{
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 2.82rem;
height: 2.82rem;
}
.match-logo-shadow {
width: 2.62rem;
height: 2.62rem;
background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/merchant/shadow-bg.png);
background-repeat: no-repeat;
background-size: contain;
position: absolute;
}
.match-logo{
width: 2.26rem;
height: 2.26rem;
border-radius: 50%;
}
.btn-confirm{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-top: -.36rem;
padding-top: .56rem;
width: 3.63rem;
height: 2.04rem;
font-family: 'Fonteditor';
background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/btn-main.png);
background-size: 100%;
background-repeat: no-repeat;
.btn-confirm-text{
font-size: .32rem;
color: #2F140D;
}
}
.btn-confirmed{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-top: -.36rem;
padding-top: .56rem;
width: 3.63rem;
height: 2.04rem;
font-family: 'Fonteditor';
background-image: url(https://image-1251917893.file.myqcloud.com/Esports/pix/img/btn-main-gray.png);
background-size: 100%;
background-repeat: no-repeat;
.btn-confirmed-text{
font-size: .32rem;
color: #6D5049;
}
}
.success-tips{
flex-shrink: 0;
margin-top: -.1rem;
font-size: .2rem;
color: #6484e5;
font-family: gamefontyahei;
}