style(user-center): 优化手机号脱敏数字框与前缀后缀一体呈现
This commit is contained in:
1 parent
af72364078
commit
613b8a57a3
3 files changed
+35
-14
No files matched your search
@@ -716,38 +716,52 @@
|
||||
.aksrt-settings-modal .code-send-btn.is-counting { pointer-events: none; opacity: .6; }
|
||||
.aksrt-settings-modal .aksrt-captcha-wrap { margin: 12px 0 8px; }
|
||||
|
||||
/* 修改手机:脱敏中间位数字框 */
|
||||
/* 修改手机:脱敏中间位数字框,与前缀/后缀号码一体呈现 */
|
||||
.aksrt-settings-modal .aksrt-phone-digits {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
gap: 6px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.aksrt-settings-modal .aksrt-phone-digit__edge {
|
||||
padding: 0 2px;
|
||||
color: var(--color-ink, #333);
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
letter-spacing: 1px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.aksrt-settings-modal .aksrt-phone-digit {
|
||||
width: 48px;
|
||||
height: 52px;
|
||||
width: 44px;
|
||||
height: 50px;
|
||||
padding: 0;
|
||||
border: 1px solid var(--color-line-soft, rgba(0, 0, 0, 0.12));
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
border: 1.5px solid var(--muted-3-color, #c9d1d9);
|
||||
border-radius: 10px;
|
||||
background-color: var(--main-bg-color, #f7f8fa);
|
||||
color: var(--color-ink, #333);
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
caret-color: var(--color-primary, #2a7de1);
|
||||
font-variant-numeric: tabular-nums;
|
||||
outline: none;
|
||||
transition: border-color .15s ease, box-shadow .15s ease;
|
||||
transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
|
||||
}
|
||||
|
||||
.aksrt-settings-modal .aksrt-phone-digit:focus {
|
||||
border-color: var(--color-primary, #2a7de1);
|
||||
box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.15);
|
||||
background-color: var(--main-bg-color, #fff);
|
||||
box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.18);
|
||||
}
|
||||
|
||||
.aksrt-settings-modal .aksrt-phone-digits.has-error .aksrt-phone-digit {
|
||||
border-color: var(--color-danger, #e02020);
|
||||
background-color: rgba(224, 32, 32, 0.06);
|
||||
box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.12);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user