@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
132 lines (131 loc) • 2.69 kB
CSS
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-shortpassword-popup {
padding: 32px 24px 28px 24px;
border-radius: 12px;
text-align: center;
}
.nut-shortpassword-title {
display: flex;
justify-content: center;
line-height: 1;
font-size: 16px;
color: #1a1a1a;
}
.nut-shortpassword-description {
display: flex;
justify-content: center;
margin-top: 12px;
margin-bottom: 24px;
line-height: 1;
font-size: 12px;
color: #505259;
}
.nut-shortpassword-input {
padding: 0 0 10px;
text-align: center;
position: relative;
overflow: hidden;
}
.nut-shortpassword-input-real {
position: absolute;
right: 0;
width: 247px;
height: 41px;
outline: 0 none;
border: 0;
text-decoration: none;
z-index: -99;
}
.nut-shortpassword-input-site {
width: 247px;
height: 41px;
border-radius: 4px;
}
.nut-shortpassword-input-fake {
top: 5%;
width: 100%;
height: 41px;
margin: 0 auto;
box-sizing: border-box;
background: #f2f3f5;
border-radius: 4px;
border: 1px solid #f2f3f5;
display: flex;
position: absolute;
left: 0;
}
.nut-shortpassword-input-fake-li {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.nut-shortpassword-input-fake-li-icon {
height: 6px;
width: 6px;
border-radius: 50%;
background: #000;
display: inline-block;
}
.nut-shortpassword-message {
margin-top: 9px;
display: flex;
justify-content: space-between;
width: 247px;
}
.nut-shortpassword-message-error {
line-height: 1;
font-size: 11px;
color: #ff0f23;
}
.nut-shortpassword-message-forget {
line-height: 1;
font-size: 12px;
color: #888b94;
display: flex;
align-items: center;
}
.nut-shortpassword-message-forget .nut-icon {
margin-right: 3px;
}
.nut-shortpassword-footer {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.nut-shortpassword-footer-cancel {
background: #ffffff;
border: 1px solid #ff0f23;
border-radius: 15px;
padding: 8px 38px;
line-height: 1;
font-size: 14px;
color: #ff0f23;
}
.nut-shortpassword-footer-sure {
background: linear-gradient(135deg, #ff0f23 0%, #ff0f23 100%);
border-radius: 15px;
padding: 8px 38px;
line-height: 1;
font-size: 14px;
color: #ffffff;
}
[dir=rtl] .nut-shortpassword-input-real,
.nut-rtl .nut-shortpassword-input-real {
right: auto;
left: 0;
}
[dir=rtl] .nut-shortpassword-input-fake,
.nut-rtl .nut-shortpassword-input-fake {
left: auto;
right: 0;
}
[dir=rtl] .nut-shortpassword-footer-sure {
background: linear-gradient(-135deg, #ff0f23 0%, #ff0f23 100%);
}
.nut-rtl .nut-shortpassword-footer-sure {
background: linear-gradient(-135deg, #ff0f23 0%, #ff0f23 100%);
}