press-pix
Version:
基于 PixUI 的 Press 组件库
96 lines (85 loc) • 1.8 kB
text/less
.pmg-upload-tip-dialog{
margin-top: .2rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}
.pmg-upload-tip{
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
margin-bottom: .1rem;
.pmg-upload-tip-text{
color: rgba(255, 255, 255, .7);
text-align: center;
font-weight: bold;
font-size: .22rem;
line-clamp: 2;
padding: 0 .16rem;
word-break: break-word;
}
}
.pmg-textarea-wrap {
position: relative;
z-index: 2;
margin-top: .08rem;
padding: 0 .16rem;
width: 4.8rem;
height: .4rem;
font-size: .22rem;
color: rgba(255, 255, 255, .7);
border: .01rem solid rgba(255, 255, 255, .5);
background-color: rgba(36, 36, 36,.5);
display: flex;
flex-direction: row;
align-items: center;
// 设置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: .4rem;
line-height: 1;
color: rgba(255, 255, 255, .7);
font-size: .22rem;
caret-color: rgba(255, 255, 255, .7);
padding-left: 0;
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%;
}
}
.pmg-custom-dropdown{
position: relative;
z-index: 3;
}