UNPKG

@nutui/nutui-react

Version:

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

130 lines (129 loc) 3.29 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-size-l, 16px); color: var(--nutui-color-title, #1a1a1a); } .nut-shortpassword-description { display: flex; justify-content: center; margin-top: 12px; margin-bottom: 24px; line-height: 1; font-size: var(--nutui-font-size-s, 12px); color: var(--nutui-color-text, #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: var(--nutui-shortpassword-background-color, var(--nutui-color-background, #f2f3f5)); border-radius: 4px; border: 1px solid var(--nutui-shortpassword-border-color, var(--nutui-color-background, #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: var(--nutui-font-size-xs, 11px); color: var(--nutui-shortpassword-error, var(--nutui-color-primary, #ff0f23)); } .nut-shortpassword-message-forget { line-height: 1; font-size: var(--nutui-font-size-s, 12px); color: var(--nutui-shortpassword-forget, var(--nutui-color-text-help, #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 var(--nutui-color-primary, #ff0f23); border-radius: 15px; padding: 8px 38px; line-height: 1; font-size: var(--nutui-font-size-base, 14px); color: var(--nutui-color-primary, #ff0f23); } .nut-shortpassword-footer-sure { background: linear-gradient(135deg, var(--nutui-color-primary, #ff0f23) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%); border-radius: 15px; padding: 8px 38px; line-height: 1; font-size: var(--nutui-font-size-base, 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, .nut-rtl .nut-shortpassword-footer-sure { background: linear-gradient(-135deg, var(--nutui-color-primary, #ff0f23) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%); }