press-pix
Version:
基于 PixUI 的 Press 组件库
147 lines (131 loc) • 2.8 kB
text/less
.sche-item-teams {
width: 3rem;
height: 100%;
display: flex;
flex-direction: column;
}
.sche-item-teams-box {
width: 100%;
height: 1.14rem;
display: flex;
flex-direction: column;
}
.sche-item-team {
width: 100%;
height: .52rem;
display: flex;
flex-direction: row;
align-items: center;
background: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/sche-item-gray.png) no-repeat;
background-size: 100% 100%;
margin-bottom: .05rem;
padding-left: .27rem;
flex-shrink: 0;
&.sche-item-team-win {
background: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/sche-item.png) no-repeat;
background-size: 100% 100%;
}
.sche-item-team-mine {
width: .5rem;
height: .22rem;
background: #FA9301;
border-radius: .1rem 0 .1rem 0;
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
position: absolute;
left: -.16rem;
top: 0;
z-index: 2;
.sche-item-team-mine-text {
font-size: .16rem;
color: #FFFFFF;
font-family: GameFont;
position: relative;
top: .01rem;
}
}
.sche-item-team-tag{
position: absolute;
top: -.11rem;
right: 0;
width: .6rem;
height: .24rem;
z-index: 2;
}
.sche-item-team-logo {
width: .3rem;
height: .3rem;
margin-right: .1rem;
border-radius: 50%;
overflow: hidden;
}
.sche-item-team-name {
font-size: .22rem;
color: #060B19;
font-family: GameFont;
position: relative;
top: .02rem;
width: 1.6rem;
line-clamp: 1;
overflow: hidden;
}
.sche-item-team-score {
width: .56rem;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-left: .06rem;
.sche-item-team-score-number {
font-size: .36rem;
color: #FFFFFF;
font-family: GameFont;
position: relative;
top: .02rem;
&.sche-item-team-score-quit {
font-size: .3rem;
}
}
}
}
.sche-item-tips {
font-size: .16rem;
color: #8F9DBD;
font-family: gamefontyahei;
display: flex;
flex-direction: row;
align-items: center;
&.sche-item-tips-waiting {
color: #0C32A6;
}
&.sche-item-tips-ing {
color: #060B19;
}
}
.sche-item-tips-round {
width: .45rem;
height: .19rem;
border-radius: .02rem;
background: #b3caff;
display: flex;
justify-content: center;
align-items: center;
margin-right: .08rem;
font-family: gamefontyahei;
font-size: .16rem;
color: #FFFFFF;
}
.sche-item-tips-live {
color: #3DC1C9;
margin-left: .08rem;
display: flex;
flex-direction: row;
align-items: center;
.sche-item-tips-live-icon {
width: .28rem;
height: .2rem;
margin-left: .04rem;
}
}