950 lines
24 KiB
CSS
950 lines
24 KiB
CSS
/**
|
|
* User Center — account settings + invite panel
|
|
*/
|
|
|
|
/* 消息通知偏好 */
|
|
.uc-notification-preferences__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
|
|
.uc-notification-preferences__header h2 {
|
|
margin: 0 0 6px;
|
|
color: var(--color-ink);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.uc-notification-preferences__header p {
|
|
margin: 0;
|
|
color: var(--color-ink-4);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uc-notification-preferences__header-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
flex: 0 0 44px;
|
|
border-radius: 14px;
|
|
color: var(--color-primary);
|
|
background: var(--color-primary-soft);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.uc-notification-preferences__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.uc-notification-preference {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
min-height: 82px;
|
|
padding: 18px 0;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uc-notification-preference__copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.uc-notification-preference__copy strong {
|
|
color: var(--color-ink);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.uc-notification-preference__copy small {
|
|
color: var(--color-ink-4);
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.uc-notification-switch {
|
|
position: relative;
|
|
display: inline-flex;
|
|
width: 44px;
|
|
height: 24px;
|
|
flex: 0 0 44px;
|
|
}
|
|
|
|
.uc-notification-switch input[type='checkbox'] {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
margin: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
opacity: 0 !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uc-notification-switch input[type='checkbox']::before,
|
|
.uc-notification-switch input[type='checkbox']::after {
|
|
display: none !important;
|
|
content: none !important;
|
|
}
|
|
|
|
.uc-notification-switch span {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 999px;
|
|
background: var(--color-line, #cbd5e1);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.uc-notification-switch span::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(15,23,42,0.22);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.uc-notification-switch input:checked + span {
|
|
background: var(--color-primary);
|
|
}
|
|
|
|
.uc-notification-switch input:checked + span::after {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
.uc-notification-switch input:focus-visible + span {
|
|
outline: 2px solid var(--color-primary);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.uc-notification-preferences__footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.uc-notification-preferences__footer .btn-primary {
|
|
min-width: 112px;
|
|
}
|
|
|
|
/* 账号设置:按参考主题 account-set / box-body / oauth-bind-box 分区与排布。 */
|
|
.uc-content #panel-settings .aksrt-account-settings {
|
|
margin: -24px;
|
|
overflow: hidden;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.aksrt-account-settings__section {
|
|
padding: 15px;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0, 0, 0, .06));
|
|
}
|
|
|
|
.aksrt-account-settings__section:last-child { border-bottom: 0; }
|
|
|
|
.aksrt-account-settings__heading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.aksrt-account-settings__heading .title-h-left {
|
|
margin: 0 0 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.aksrt-account-settings__heading p {
|
|
margin: 0;
|
|
color: var(--muted-2-color, var(--color-ink-4, #999));
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.aksrt-account-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.aksrt-account-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(116px, .85fr) minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 12px 14px;
|
|
border-radius: var(--main-radius, 8px);
|
|
background: var(--muted-border-color, var(--surface-2, #f5f6f7));
|
|
color: inherit;
|
|
}
|
|
|
|
.aksrt-account-row__identity {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.aksrt-account-row__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
flex: 0 0 26px;
|
|
border-radius: 50%;
|
|
background: var(--this-bg, rgba(41, 151, 247, .12));
|
|
color: var(--this-color, #2997f7);
|
|
}
|
|
|
|
.aksrt-account-row__icon--blue { --this-bg: rgba(41, 151, 247, .12); --this-color: #2997f7; }
|
|
.aksrt-account-row__icon--blue-2 { --this-bg: rgba(73, 174, 231, .12); --this-color: #49aee7; }
|
|
.aksrt-account-row__icon--purple { --this-bg: rgba(136, 84, 230, .12); --this-color: #8854e6; }
|
|
|
|
.aksrt-account-row__copy {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: var(--color-ink, #333);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.aksrt-account-row__social-name {
|
|
overflow: hidden;
|
|
color: var(--color-ink, #333);
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.aksrt-account-row__value {
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
color: var(--muted-2-color, var(--color-ink-3, #777));
|
|
font-size: 12px;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.aksrt-account-row__action {
|
|
flex: 0 0 auto;
|
|
margin: 0;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.aksrt-account-row--simple { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.aksrt-account-row__action--unavailable { color: var(--muted-2-color, #999); }
|
|
|
|
.aksrt-account-settings__section--social .binding-captcha { margin-bottom: 12px; }
|
|
.aksrt-account-list--social .binding-item { border: 0; }
|
|
.aksrt-account-list--social .aksrt-account-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; text-decoration: none; }
|
|
.aksrt-account-list--social .binding-item__icon { display: grid; place-items: center; width: 24px; height: 24px; color: var(--color-ink, #333); }
|
|
.aksrt-account-list--social .binding-item__icon i { font-size: 22px; line-height: 1; }
|
|
.aksrt-account-list--social .binding-status { display: inline-flex; align-items: center; gap: 4px; color: var(--color-success, #16a34a); font-size: 11px; white-space: nowrap; }
|
|
.aksrt-account-list--social .binding-status--idle { color: var(--muted-2-color, var(--color-ink-4, #999)); }
|
|
.aksrt-account-list--social .binding-unbind-btn { color: var(--this-color, #e4a11b); }
|
|
.aksrt-account-list--social .binding-item--linkable:hover { background: var(--color-primary-softer, var(--color-primary-soft, rgba(41, 151, 247, .08))); }
|
|
|
|
@media (max-width: 640px) {
|
|
.aksrt-account-list { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.uc-content #panel-settings .aksrt-account-settings { margin: -16px; }
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.uc-content #panel-settings .aksrt-account-settings { margin: -16px; }
|
|
.aksrt-account-settings__section { padding: 15px; }
|
|
.aksrt-account-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px; }
|
|
.aksrt-account-row__identity { grid-column: 1; }
|
|
.aksrt-account-row__value { grid-column: 1; grid-row: 2; padding-left: 38px; text-align: left; }
|
|
.aksrt-account-row__action { grid-column: 2; grid-row: 1 / span 2; }
|
|
.aksrt-account-list--social .aksrt-account-row { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px 8px; }
|
|
.aksrt-account-list--social .binding-status { grid-column: 2; grid-row: 2; }
|
|
.aksrt-account-list--social .aksrt-account-row__action { grid-column: 3; grid-row: 1 / span 2; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.uc-content #panel-settings .aksrt-account-settings { margin: -14px; }
|
|
}
|
|
|
|
/* 邀请区增强 */
|
|
.uc-content .aksrt-invite-panel {
|
|
padding: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-hero {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 0 0 16px;
|
|
background: transparent;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
|
|
.uc-content .aksrt-invite-hero__main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 22px;
|
|
padding: 0 9px;
|
|
margin-bottom: 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--color-primary);
|
|
background: var(--color-primary-soft);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-desc {
|
|
max-width: 620px;
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
color: var(--color-ink-3);
|
|
margin: 0;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-code-card {
|
|
flex: 0 0 auto;
|
|
min-width: 118px;
|
|
align-self: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
padding: 0 0 0 18px;
|
|
border-left: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
background: transparent;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-code-card span {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-code-card strong {
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.04em;
|
|
color: var(--color-ink);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-link-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 16px 0;
|
|
margin-bottom: 0;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
|
|
.uc-content .aksrt-invite-link-row input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.08));
|
|
border-radius: 8px;
|
|
color: var(--color-ink-2);
|
|
background: var(--surface-2);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-copy {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 104px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0;
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
padding: 2px 18px;
|
|
border-right: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
background: transparent;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stat:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stat:last-child {
|
|
padding-right: 0;
|
|
border-right: 0;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stat span {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stat strong {
|
|
font-size: 26px;
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
color: var(--color-primary);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-stat small {
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-records {
|
|
border-top: 0;
|
|
padding: 16px 0 0;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-records__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-records__header h4 {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--color-ink);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-records__header span {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 66px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.05));
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__avatar {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--surface-2);
|
|
color: var(--color-ink-3);
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__main {
|
|
min-width: 0;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__main strong {
|
|
font-size: 14px;
|
|
line-height: 1.3;
|
|
color: var(--color-ink);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__main span {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__status {
|
|
flex: 0 0 auto;
|
|
min-width: 118px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 5px;
|
|
text-align: right;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 24px;
|
|
padding: 0 9px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.uc-content .aksrt-invite-badge.is-registered {
|
|
color: #2563eb;
|
|
background: rgba(37, 99, 235, 0.10);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-badge.is-verified {
|
|
color: #7c3aed;
|
|
background: rgba(124, 58, 237, 0.10);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-badge.is-rewarded {
|
|
color: #16a34a;
|
|
background: rgba(22, 163, 74, 0.10);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record__status small {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-content .aksrt-invite-record-empty {
|
|
padding: 22px 0;
|
|
border: 0;
|
|
border-top: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: var(--color-ink-4);
|
|
background: transparent;
|
|
}
|
|
|
|
|
|
/* Tip QR upload on profile */
|
|
.aksrt-reward-upload-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 16px;
|
|
margin-top: 12px;
|
|
}
|
|
.aksrt-reward-upload__preview {
|
|
min-height: 140px;
|
|
border: 1px dashed rgba(127,127,127,.35);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
margin: 8px 0;
|
|
background: rgba(127,127,127,.04);
|
|
}
|
|
.aksrt-reward-upload__preview img {
|
|
max-width: 100%;
|
|
max-height: 180px;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
.aksrt-reward-upload__file {
|
|
display: none;
|
|
}
|
|
.aksrt-reward-upload .btn-sm,
|
|
.aksrt-reward-upload .btn-primary {
|
|
margin-right: 8px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* 账号设置弹窗:使用 AksrtModalRuntime,几何和标题区对齐参考 modal-mini。 */
|
|
.aksrt-modal-runtime.aksrt-user-settings-modal:not(.aksrt-modal-runtime--bottom) .aksrt-modal-runtime__dialog {
|
|
width: 400px;
|
|
max-width: calc(100vw - 20px);
|
|
max-height: calc(100vh - 20px);
|
|
max-height: calc(100dvh - 20px);
|
|
overflow: auto;
|
|
border-radius: var(--main-radius, 8px);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
|
|
}
|
|
|
|
.aksrt-modal-runtime.aksrt-user-settings-modal.aksrt-modal-runtime--bottom .aksrt-modal-runtime__dialog {
|
|
width: 400px;
|
|
max-width: calc(100vw - 20px);
|
|
max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
|
|
margin: 0 auto calc(10px + env(safe-area-inset-bottom));
|
|
border-radius: var(--main-radius, 8px) var(--main-radius, 8px) 0 0;
|
|
box-shadow: 0 -10px 50px rgba(0, 0, 0, .15);
|
|
}
|
|
|
|
.aksrt-user-settings-modal .aksrt-modal-runtime__content { padding: 0; }
|
|
.aksrt-modal-runtime--bottom.aksrt-user-settings-modal .aksrt-settings-modal {
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
border-radius: var(--main-radius, 8px) var(--main-radius, 8px) 0 0;
|
|
}
|
|
|
|
.aksrt-settings-modal {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: var(--main-radius, 8px);
|
|
background: var(--main-bg-color, var(--surface-1, #fff));
|
|
}
|
|
|
|
.aksrt-settings-modal [hidden] { display: none !important; }
|
|
|
|
.aksrt-settings-modal .modal-colorful-header {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
height: 120px;
|
|
border-radius: var(--main-radius, 8px) var(--main-radius, 8px) 0 0;
|
|
}
|
|
|
|
.aksrt-settings-modal .modal-colorful-header > .close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
z-index: 9;
|
|
width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--this-color);
|
|
font-size: 18px;
|
|
line-height: 30px;
|
|
opacity: .6;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.aksrt-settings-modal > form {
|
|
position: relative;
|
|
z-index: 0;
|
|
margin-top: 120px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.aksrt-settings-modal__pane {
|
|
position: relative;
|
|
z-index: 0;
|
|
margin-top: 120px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.aksrt-settings-modal__pane form,
|
|
.aksrt-settings-modal .account-step form {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.aksrt-settings-modal .account-step-list {
|
|
position: relative;
|
|
z-index: 0;
|
|
margin-top: 120px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.aksrt-settings-modal .account-step-panels { position: relative; z-index: 0; }
|
|
.aksrt-settings-modal .account-step { display: none; padding: 0 15px 18px; }
|
|
.aksrt-settings-modal .account-step.is-active { display: block; }
|
|
.aksrt-settings-modal .account-step > p { margin: 0 0 20px; }
|
|
.aksrt-settings-modal .account-recovery-toggle { border: 0; background: transparent; cursor: pointer; }
|
|
|
|
.aksrt-settings-modal__fields { padding: 0; }
|
|
.aksrt-settings-modal .modal-line-field--code .line-form-input { padding-right: 7em; }
|
|
.aksrt-settings-modal .modal-line-field--code .yztx.abs-right {
|
|
top: 50%;
|
|
right: .7em;
|
|
z-index: 2;
|
|
margin-top: 3px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.aksrt-settings-modal .modal-line-field--code .code-send-btn { display: inline-block; margin: 0; }
|
|
.aksrt-settings-modal .toggle-pwd { position: absolute; right: 7px; bottom: 4px; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: var(--muted-2-color, #999); cursor: pointer; }
|
|
.aksrt-settings-modal .toggle-pwd:hover { color: var(--color-ink, #333); }
|
|
.aksrt-settings-modal .code-send-btn { white-space: nowrap; }
|
|
.aksrt-settings-modal .code-send-btn.is-counting { pointer-events: none; opacity: .6; }
|
|
.aksrt-settings-modal .aksrt-captcha-wrap { margin: 12px 0 8px; }
|
|
|
|
@media (max-width: 640px) {
|
|
.aksrt-modal-runtime.aksrt-user-settings-modal.aksrt-modal-runtime--bottom .aksrt-modal-runtime__dialog {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
max-height: calc(100dvh - env(safe-area-inset-bottom));
|
|
margin: 0 0 -1px;
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
.aksrt-modal-runtime--bottom.aksrt-user-settings-modal .aksrt-settings-modal {
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* ==================== 官方认证面板 ==================== */
|
|
/* 面板内容为 Zibll 同款 colorful-bg hero 卡片(参考主题 1:1),去掉外层白卡壳 */
|
|
.uc-content #panel-auth.dashboard-panel {
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* 认证按钮(Zibll .but.jb-blue.padding-lg.btn-block 工具类) */
|
|
.uc-content #panel-auth .but[data-auth-modal-open] {
|
|
width: 100%;
|
|
margin: 20px 0 0;
|
|
}
|
|
|
|
.aksrt-identity-modal-shell .aksrt-modal-runtime__dialog {
|
|
width: min(600px, calc(100vw - 20px));
|
|
max-width: 600px;
|
|
max-height: calc(100vh - 20px);
|
|
max-height: calc(100dvh - 20px);
|
|
overflow: auto;
|
|
border-radius: var(--main-radius, 8px);
|
|
background: var(--main-bg-color, var(--surface-1, #fff));
|
|
}
|
|
.aksrt-identity-modal-shell .aksrt-modal-runtime__content { padding: 0; }
|
|
.uc-auth-modal {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 1px;
|
|
border-radius: var(--main-radius, 8px);
|
|
background: var(--main-bg-color, var(--surface-1, #fff));
|
|
}
|
|
.uc-auth-modal__header,
|
|
.uc-auth-modal__header.colorful-bg {
|
|
position: absolute;
|
|
top: 1px;
|
|
right: 1px;
|
|
left: 1px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 120px;
|
|
overflow: hidden;
|
|
border-radius: var(--main-radius, 8px) var(--main-radius, 8px) 0 0;
|
|
background: var(--this-bg);
|
|
background-size: 120%;
|
|
color: var(--this-color);
|
|
}
|
|
.uc-auth-modal__header > .close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
z-index: 9;
|
|
width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--this-color);
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
opacity: .6;
|
|
cursor: pointer;
|
|
}
|
|
.uc-auth-modal__header > .close:hover { opacity: 1; }
|
|
.uc-auth-modal__header .colorful-make,
|
|
.uc-auth-modal__header .colorful-make::before,
|
|
.uc-auth-modal__header .colorful-make::after {
|
|
position: absolute;
|
|
border-radius: 100%;
|
|
background: var(--this-bg);
|
|
color: var(--this-color);
|
|
content: '';
|
|
}
|
|
.uc-auth-modal__header .colorful-make {
|
|
top: 60%;
|
|
bottom: 0;
|
|
width: 323px;
|
|
height: 290px;
|
|
animation: uc-auth-colorful 120s linear infinite;
|
|
}
|
|
.uc-auth-modal__header .colorful-make::before {
|
|
top: -325px;
|
|
right: -558px;
|
|
bottom: 0;
|
|
width: 677px;
|
|
height: 300px;
|
|
transform: rotate(341deg);
|
|
opacity: .6;
|
|
}
|
|
.uc-auth-modal__header .colorful-make::after {
|
|
top: -170px;
|
|
bottom: 0;
|
|
left: -262px;
|
|
width: 402px;
|
|
height: 214px;
|
|
transform: rotate(326deg);
|
|
opacity: .4;
|
|
}
|
|
.uc-auth-modal__header .colorful-make + * { position: relative; }
|
|
.uc-auth-modal__body {
|
|
position: relative;
|
|
margin-top: 120px;
|
|
padding: 15px;
|
|
background: var(--main-bg-color, var(--surface-1, #fff));
|
|
}
|
|
.uc-auth-form { margin: 0; }
|
|
.uc-auth-form__scroll { max-height: 50vh; max-height: 50dvh; }
|
|
/* 申请介绍的列表:标记随列表项内容一起绘制(悬挂缩进),
|
|
不会被外层滚动区的左边界裁掉一半。ul/ol/li 都清原生标记,
|
|
因为后台可能直接写裸 li(没有 ul 包裹)。 */
|
|
.uc-auth-intro ul,
|
|
.uc-auth-intro ol,
|
|
.uc-auth-intro li {
|
|
list-style: none !important;
|
|
}
|
|
.uc-auth-intro ul,
|
|
.uc-auth-intro ol {
|
|
margin: .6em 0 1em;
|
|
padding-left: 0;
|
|
}
|
|
.uc-auth-intro li {
|
|
margin-bottom: .35em;
|
|
padding-left: 1.25em;
|
|
text-indent: -1.25em;
|
|
}
|
|
.uc-auth-intro li::before {
|
|
content: "\2022";
|
|
display: inline-block;
|
|
width: 1.25em;
|
|
text-indent: 0;
|
|
}
|
|
.uc-auth-intro ol { counter-reset: uc-auth-intro; }
|
|
.uc-auth-intro ol li::before {
|
|
content: counter(uc-auth-intro) ".";
|
|
counter-increment: uc-auth-intro;
|
|
width: auto;
|
|
min-width: 1.25em;
|
|
}
|
|
.uc-auth-intro li > ul,
|
|
.uc-auth-intro li > ol { margin: .35em 0 0 1.25em; }
|
|
.uc-auth-field { display: block; color: var(--muted-2-color); font-size: .9em; font-weight: 400; }
|
|
.uc-auth-field__label { display: block; margin-bottom: 6px; }
|
|
.uc-auth-form .form-control { width: 100%; box-sizing: border-box; }
|
|
.uc-auth-form textarea.form-control { resize: vertical; }
|
|
.uc-auth-upload .preview .add {
|
|
appearance: none;
|
|
padding: 0;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
.uc-auth-upload .preview-item { overflow: hidden; }
|
|
.uc-auth-upload .preview-item img { object-fit: contain; }
|
|
.uc-auth-preview-remove {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #fd2c53;
|
|
color: #fff;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
.aksrt-identity-modal-shell .uc-auth-modal .uc-auth-modal__body .uc-auth-modal__footer {
|
|
display: flex;
|
|
grid-template-columns: none;
|
|
gap: 0;
|
|
margin: 0 -15px -15px;
|
|
overflow: hidden;
|
|
border-top: 1px solid var(--main-border-color, var(--color-line, rgba(50, 50, 50, .12)));
|
|
border-radius: 0 0 var(--main-radius, 8px) var(--main-radius, 8px);
|
|
}
|
|
.aksrt-identity-modal-shell .uc-auth-modal .uc-auth-modal__body .uc-auth-modal__footer > .but {
|
|
display: flex;
|
|
flex: 1 1 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 48px;
|
|
margin: 0 !important;
|
|
padding: .8em;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--muted-color, #888);
|
|
font: inherit;
|
|
font-weight: 400;
|
|
cursor: pointer;
|
|
}
|
|
.aksrt-identity-modal-shell .uc-auth-modal .uc-auth-modal__body .uc-auth-modal__footer > .but + .but {
|
|
border-left: 1px solid var(--main-border-color, var(--color-line, rgba(50, 50, 50, .12)));
|
|
}
|
|
.aksrt-identity-modal-shell .uc-auth-modal .uc-auth-modal__body .uc-auth-modal__footer > .but.c-blue {
|
|
background: transparent;
|
|
color: var(--this-color, #2997f7);
|
|
}
|
|
.aksrt-identity-modal-shell .uc-auth-modal .uc-auth-modal__body .uc-auth-modal__footer > .but:hover {
|
|
background: var(--this-bg, rgba(136, 136, 136, .1));
|
|
}
|
|
.aksrt-identity-modal-shell .uc-auth-modal .uc-auth-modal__body .uc-auth-modal__footer > .but:disabled { opacity: .5; cursor: wait; }
|
|
@keyframes uc-auth-colorful { to { transform: rotate(360deg); } }
|
|
|
|
@media (max-width: 768px) {
|
|
.aksrt-identity-modal-shell.aksrt-modal-runtime--bottom .aksrt-modal-runtime__dialog {
|
|
width: calc(100% - 20px);
|
|
max-width: none;
|
|
max-height: calc(100dvh - 30px - env(safe-area-inset-bottom));
|
|
margin: 0 10px calc(10px + env(safe-area-inset-bottom));
|
|
}
|
|
}
|