UNPKG

@nutui/nutui-react

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

130 lines (129 loc) 3.16 kB
/* #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: var(--nutui-font-text-large); color: var(--nutui-color-title); } .nut-shortpassword-description { display: flex; justify-content: center; margin-top: 12px; margin-bottom: 24px; line-height: 1; font-size: var(--nutui-font-text-small); color: var(--nutui-color-text); } .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: var(--nutui-shortpassword-background-color, var(--nutui-color-surface-1)); border-radius: 4px; border: 1px solid var(--nutui-shortpassword-border-color, var(--nutui-color-surface-1)); 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: var(--nutui-font-text-xs); color: var(--nutui-shortpassword-error, var(--nutui-color-primary)); } .nut-shortpassword-message-forget { line-height: 1; font-size: var(--nutui-font-text-small); color: var(--nutui-shortpassword-forget, var(--nutui-color-text-help)); 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 var(--nutui-color-primary); border-radius: 15px; padding: 8px 38px; line-height: 1; font-size: var(--nutui-font-text); color: var(--nutui-color-primary); } .nut-shortpassword-footer-sure { background: linear-gradient(135deg, var(--nutui-color-primary) 0%, var(--nutui-color-primary) 100%); border-radius: 15px; padding: 8px 38px; line-height: 1; font-size: var(--nutui-font-text); color: var(--nutui-color-text-dark); } [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, .nut-rtl .nut-shortpassword-footer-sure { background: linear-gradient(-135deg, var(--nutui-color-primary) 0%, var(--nutui-color-primary) 100%); }