press-pix
Version:
基于 PixUI 的 Press 组件库
150 lines (135 loc) • 2.71 kB
text/less
.phone-dialog-wrapper {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
height: 100%;
}
.phone-container{
display: flex;
flex-direction: column;
align-items: center;
position: relative;
min-height: 2.2rem;
margin-top: .2rem;
}
.input-container {
position: relative;
width: 4.4rem; /* 与 input-qq-container 保持一致 */
margin-top: .2rem;
border-radius: 0;
::-moz-placeholder {
color: #798DC6;
font-size: .2rem;
font-weight: 400;
font-family: gamefontyahei;
}
::-webkit-input-placeholder {
color: #798DC6;
font-size: .2rem;
font-weight: 400;
font-family: gamefontyahei;
}
::-ms-input-placeholder {
color: #798DC6;
font-size: .2rem;
font-family: gamefontyahei;
font-weight: 400;
}
}
.phone-input,
.code-input {
width: 100%;
height: 0.48rem; /* 与 input-qq-field 保持一致 */
background: rgba(73, 103, 191, 0.15);
border: none;
outline: none;
padding: 0 0.12rem;
font-family: gamefontyahei;
font-weight: 400;
font-size: 0.2rem;
color: #060B19;
border-radius: 0.04rem;
&:disabled {
background-color: #F5F5F5;
color: #CCCCCC;
}
}
.modify-btn {
position: absolute;
right: 0.16rem;
top: 50%;
transform: translateY(-50%);
padding: 0.08rem 0.16rem;
background-color: #E7692B;
color: #FFFFFF;
font-size: 0.24rem;
border-radius: 0.04rem;
cursor: pointer;
}
.get-code-btn {
position: absolute;
right: 0.08rem;
top: 0.08rem;
bottom: 0.08rem;
padding: 0 0.16rem;
display: flex;
align-items: center;
justify-content: center;
font-family: FZLanTingHei-R-GBK;
font-weight: 400;
font-size: 0.2rem;
line-height: 0.24rem;
color: #E7692B;
cursor: pointer;
&.disabled {
color: #CCCCCC;
cursor: not-allowed;
}
}
.remark {
width: 4.4rem;
margin-top: .2rem;
margin-bottom: 0.2rem;
font-family: gamefontyahei;
font-weight: 400;
font-size: 0.2rem;
line-height: 0.24rem;
color: #798DC6;
}
.protocol-wrapper {
display: flex;
align-items: center;
width: 4.4rem;
margin-bottom: 0.24rem;
}
.checkbox-wrapper {
width: .4rem;
height: .4rem;
margin-right: 0.08rem;
cursor: pointer;
}
.checkbox {
width: 100%;
height: 100%;
&.checked {
filter: brightness(0) saturate(100%) invert(67%) sepia(86%) saturate(2914%) hue-rotate(359deg) brightness(101%) contrast(101%);
}
}
.protocol-text {
font-family: GameFont;
font-weight: 400;
font-size: 0.2rem;
line-height: 0.24rem;
color: #798DC6;
}
.protocol-link {
color: #E7692B;
cursor: pointer;
}
.button-wrapper {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}