press-pix
Version:
基于 PixUI 的 Press 组件库
257 lines (223 loc) • 4.34 kB
text/less
@import '../../common/styles/pubgm/mixins.less';
.pmg-create-team {
display: flex;
align-items: center;
width: 100%;
height: 100%;
}
.pmg-team-box {
padding-left: 2.4rem;
padding-right: 1.68rem;
display: flex;
flex-direction: row;
align-items: center;
min-height: 3.54rem;
// 设置placeholder 颜色大小
::-moz-placeholder {
font-size: .22rem;
color: rgba(255, 255, 255, .5);
}
::-webkit-input-placeholder {
font-size: .22rem;
color: rgba(255, 255, 255, .5);
}
::-ms-input-placeholder {
font-size: .22rem;
color: rgba(255, 255, 255, .5);
}
}
.pmg-box-left {
display: flex;
flex-direction: column;
width: 4rem;
}
.pmg-team-logo-wrap{
width: 4rem;
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
}
.pmg-team-logo {
align-self: center;
width: 1.4rem;
height: 1.4rem;
object-fit: cover;
}
.pmg-exchange-box{
position: absolute;
bottom: .12rem;
right: .6rem;
display: flex;
flex-direction: row;
align-items: center;
.pmg-exchange-icon{
width: .32rem;
height: .32rem;
.bgUrl('comp/exchange.png');
margin-right: .08rem;
}
.pmg-exchange-text{
color: rgba(255, 255, 255, .7);
font-size: .24rem;
}
}
.pmg-team-des-wrap{
display: flex;
align-items: center;
flex-direction: row;
}
.pmg-team-des-text {
margin-top: .24rem;
font-size: .24rem;
color: #fff;
}
.pmg-textarea-wrap {
margin-top: .08rem;
padding: .12rem .16rem;
width: 4rem;
height: 1.44rem;
line-height: .32rem;
font-size: .22rem;
color: rgba(255, 255, 255, .7);
border: .01rem solid rgba(255, 255, 255, .5);
background-color: rgba(36, 36, 36,.5);
// 设置placeholder 颜色大小
::-moz-placeholder {
font-size: .22rem;
color: rgba(255, 255, 255, .7);
}
::-webkit-input-placeholder {
font-size: .22rem;
color: rgba(255, 255, 255, .7);
}
::-ms-input-placeholder {
font-size: .22rem;
color: rgba(255, 255, 255, .7);
}
}
.pmg-input-text-warp {
position: relative;
width: 100%;
height: 0.3rem;
line-height: 1;
color: rgba(255, 255, 255, .7);
font-size: .22rem;
caret-color: #a1fff6; // 光标颜色
text-align: left;
}
.pmg-input-text {
height: 100%;
flex-direction: column;
display: flex;
width: 100%;
font-size: .22rem;
color: rgba(255, 255, 255, .7);
top: .12rem;
left: .16rem;
position: absolute;
overflow: scroll;
.pmg-input-text-item{
display: block;
word-break: break-word;
flex-shrink: 0;
width: 100%;
text-align: left;
}
}
.pmg-input-text-warp-opacity{
opacity: 0;
color: transparent;
}
.pmg-box-right {
margin-left: 2.08rem;
display: flex;
flex-direction: column;
}
// 提高下拉框层级
.pmg-form-item-choose-top{
display: flex;
z-index: 4;
}
.pmg-form-item-choose{
display: flex;
z-index: 3;
}
.pmg-form-item-choose-bottom{
display: flex;
z-index: 2;
}
.pmg-form-item {
margin-bottom: .3rem;
display: flex;
flex-direction: row;
align-items: center;
&:last-child{
margin-bottom: 0;
}
}
.pmg-form-left {
margin-right: .32rem;
min-width: .96rem;
font-size: .24rem;
.pmg-left-text {
font-size: .24rem;
color: rgba(255, 255, 255, .7);
}
}
.pmg-form-right {
display: flex;
flex-direction: row;
align-items: center;
}
.pmg-form-input {
width: 4.8rem;
height: .48rem;
line-height: .44rem;
font-size: .22rem;
color: #fff;
border: .01rem solid rgba(255, 255, 255, .5);
background-color: rgba(36, 36, 36,.5);
padding: 0 .16rem;
text-align: left;
caret-color: #a1fff6; // 光标颜色
}
.pmg-form-select {
display: flex;
flex-direction: row;
.pmg-select-left {
margin-right: .2rem;
}
}
.pmg-claim-box {
margin-right: .32rem;
display: flex;
flex-direction: row;
align-items: center;
.pmg-claim-text {
font-size: .22rem;
color: #fff;
}
.pmg-claim-line {
margin: 0 .1rem;
width: .01rem;
height: .2rem;
background-color: #fff;
}
}
.pmg-edit-claim {
display: flex;
flex-direction: row;
align-items: center;
.pmg-right-text {
font-size: .22rem;
color: #5adddd;
}
.pmg-right-arrow {
position: relative;
top: .01rem;
width: .24rem;
height: .24rem;
.bgUrl('comp/arrow-right-blue.png');
}
}