press-pix
Version:
基于 PixUI 的 Press 组件库
118 lines (102 loc) • 2.12 kB
text/less
.pmg-post-recruit {
display: flex;
align-items: center;
width: 100%;
height: 100%;
.pmg-team-box {
padding-left: 2.8rem;
padding-right: 2.8rem;
display: flex;
flex-direction: row;
height: 2.88rem;
.pmg-team-drop {
margin-bottom: .32rem;
}
.pmg-team-drop-choose{
display: flex;
position: relative;
&-dan{
z-index: 4;
}
&-kd{
z-index: 3;
}
&-style{
z-index: 2;
}
&-audit{
z-index: 1;
}
}
}
}
.pmg-box-left {
margin-right: 1.04rem;
display: flex;
flex-direction: column;
width: 4.8rem;
.pmg-team-drop:last-child {
margin-bottom: 0;
}
}
.pmg-box-right {
display: flex;
flex-direction: column;
}
// textarea -- start
.pmg-textarea-wrap {
margin-top: .08rem;
padding: .12rem;
width: 4.8rem;
height: 1.28rem;
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; // 光标颜色
}
.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-input-text-warp-opacity{
opacity: 0;
color: transparent;
}
// textarea -- end