补充主题静态资源与归档模板
This commit is contained in:
1 parent
1268a55dd0
commit
3247db7ed1
265 files changed
+59174
No files matched your search
@@ -0,0 +1,354 @@
|
||||
/**
|
||||
* AKSRT Auth Pages — 认证页面样式
|
||||
*
|
||||
* 类名对齐实际模板:auth-shell, auth-card, auth-form, form-field, input-wrap
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
/* 认证页面容器 */
|
||||
.auth-shell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: calc(100vh - 200px);
|
||||
padding: 40px 16px;
|
||||
}
|
||||
|
||||
/* 认证卡片 */
|
||||
.auth-card {
|
||||
width: 100%;
|
||||
max-width: 440px;
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius);
|
||||
padding: 32px;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.auth-card__logo {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.auth-card__title {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
margin: 0 0 8px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.auth-card__subtitle {
|
||||
font-size: 14px;
|
||||
color: var(--color-ink-3);
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
|
||||
/* 表单 */
|
||||
.auth-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* 表单字段 */
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.form-field label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-2);
|
||||
}
|
||||
|
||||
/* 输入框包装 */
|
||||
.input-wrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.input-wrap input {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
padding: 0 14px 0 40px;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
background: var(--surface-page);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius);
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
.input-wrap input:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 2px 3px rgba(253, 83, 161, 0.4);
|
||||
}
|
||||
|
||||
.input-wrap input::placeholder {
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.input-icon {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--color-ink-4);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* 密码切换按钮 */
|
||||
.toggle-pwd {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-ink-4);
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.toggle-pwd:hover {
|
||||
color: var(--color-ink-2);
|
||||
}
|
||||
|
||||
/* 密码字段输入框右侧留空 */
|
||||
.form-field--pwd .input-wrap input {
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
/* 记住我 + 忘记密码 */
|
||||
.form-row-between {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.form-row-between a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.form-row-between a:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* 错误提示 */
|
||||
.alert {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border-radius: var(--radius);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.alert svg {
|
||||
flex-shrink: 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.alert--error {
|
||||
background: #fff2f0;
|
||||
border: 1px solid #ffccc7;
|
||||
color: #ff4d4f;
|
||||
}
|
||||
|
||||
.alert--error a {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 底部链接 */
|
||||
.auth-footer-link {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.auth-footer-link a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.auth-footer-link a:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* OAuth 社交登录区域 */
|
||||
.aksrt-oauth-section {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.aksrt-oauth-divider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
margin-bottom: 16px;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.aksrt-oauth-divider::before,
|
||||
.aksrt-oauth-divider::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-oauth-buttons {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-oauth-btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--color-line);
|
||||
background: var(--surface-1);
|
||||
color: var(--color-ink);
|
||||
font-size: 18px;
|
||||
text-decoration: none;
|
||||
transition: border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.aksrt-oauth-btn:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* 成功提示 */
|
||||
.alert--success {
|
||||
background: #f6ffed;
|
||||
border: 1px solid #b7eb8f;
|
||||
color: #52c41a;
|
||||
}
|
||||
|
||||
/* 认证 Tab 切换 */
|
||||
.aksrt-auth-tabs {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
margin-bottom: 20px;
|
||||
border-bottom: 2px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-auth-tab {
|
||||
flex: 1;
|
||||
padding: 10px 0;
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
color: var(--color-ink-3);
|
||||
border-bottom: 2px solid transparent;
|
||||
margin-bottom: -2px;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.aksrt-auth-tab.is-active {
|
||||
color: var(--color-primary);
|
||||
border-bottom-color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-auth-tab:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* 表单提示文本 */
|
||||
.form-field-hint {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
/* 必填/选填标记 */
|
||||
.aksrt-required-mark {
|
||||
color: #dc2626;
|
||||
}
|
||||
|
||||
.aksrt-optional-hint {
|
||||
color: var(--color-ink-3);
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* 同意条款复选框 */
|
||||
.aksrt-terms-check {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
margin-bottom: 16px;
|
||||
cursor: pointer;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.aksrt-terms-check input {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* 提交按钮全宽 */
|
||||
.auth-form .btn-primary.btn-lg,
|
||||
.auth-form input[type="submit"].btn-primary.btn-lg {
|
||||
width: 100%;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 验证码输入行 */
|
||||
.aksrt-code-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-code-input {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-sms-trigger {
|
||||
white-space: nowrap;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
/* 响应式 */
|
||||
@media (max-width: 767px) {
|
||||
.auth-shell {
|
||||
padding: 24px 16px;
|
||||
min-height: calc(100vh - 150px);
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
|
||||
.aksrt-auth-tab {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,386 @@
|
||||
.aksrt-cart-page {
|
||||
padding: 28px 0 56px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__header,
|
||||
.aksrt-cart-page__panel-head,
|
||||
.aksrt-cart-page__summary-total,
|
||||
.aksrt-cart-page__coupon-row,
|
||||
.aksrt-cart-page__item,
|
||||
.aksrt-cart-page__item-qty,
|
||||
.aksrt-cart-page__option-columns {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__header,
|
||||
.aksrt-cart-page__panel-head,
|
||||
.aksrt-cart-page__summary-total,
|
||||
.aksrt-cart-page__coupon-row,
|
||||
.aksrt-cart-page__option-columns {
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 360px;
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__title {
|
||||
margin: 0 0 8px;
|
||||
font-size: 30px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__subtitle,
|
||||
.aksrt-cart-page__hint,
|
||||
.aksrt-cart-page__option-body span {
|
||||
color: var(--color-ink-3, #5d6676);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__pending {
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__pending-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__pending-chip {
|
||||
border: 1px solid var(--color-line, #dde3eb);
|
||||
border-radius: 999px;
|
||||
background: var(--surface-1, #fff);
|
||||
padding: 8px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__panel {
|
||||
background: var(--surface-1, #fff);
|
||||
border: 1px solid var(--color-line, #e3e8ef);
|
||||
border-radius: var(--radius-lg, 18px);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__main,
|
||||
.aksrt-cart-page__grid {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.aksrt-cart-page__items {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item {
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 16px;
|
||||
border: 1px solid var(--color-line, #ecf0f5);
|
||||
border-radius: var(--radius);
|
||||
background: var(--surface-2, #f8fafc);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-image {
|
||||
width: 84px;
|
||||
height: 84px;
|
||||
object-fit: cover;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-image--placeholder {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--surface-3, #eef2f7);
|
||||
color: var(--color-ink-4, #8690a0);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-main h3,
|
||||
.aksrt-cart-page__mini-title,
|
||||
.aksrt-cart-page__panel h2 {
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-qty {
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-qty button,
|
||||
.aksrt-cart-page__item-remove {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border: 1px solid var(--color-line, #dce3ec);
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__item-total {
|
||||
min-width: 92px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__option-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__option-card {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--color-line, #dde3eb);
|
||||
border-radius: var(--radius);
|
||||
background: var(--surface-1, #fff);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__option-body {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__input,
|
||||
.aksrt-cart-page__textarea {
|
||||
width: 100%;
|
||||
border: 1px solid var(--color-line, #dce3ec);
|
||||
border-radius: 12px;
|
||||
padding: 11px 14px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__summary-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__summary-list div,
|
||||
.aksrt-cart-page__summary-total {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__summary-list div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__summary-total {
|
||||
padding-top: 16px;
|
||||
margin-bottom: 18px;
|
||||
border-top: 1px solid var(--color-line, #e7ebf1);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__summary-total strong {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__submit {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__empty {
|
||||
text-align: center;
|
||||
padding: 44px 20px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__empty i {
|
||||
display: block;
|
||||
margin-bottom: 12px;
|
||||
font-size: 42px;
|
||||
color: var(--color-ink-4, #8690a0);
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.aksrt-cart-page__layout,
|
||||
.aksrt-cart-page__grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-cart-page__title {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__option-columns {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__field-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__pending {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.aksrt-modal__dialog {
|
||||
width: 95%;
|
||||
max-height: 90vh;
|
||||
}
|
||||
|
||||
.aksrt-modal__body {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.aksrt-cart-page__header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__summary {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
border-radius: 16px 16px 0 0;
|
||||
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__submit {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Address Card Actions ── */
|
||||
|
||||
.aksrt-cart-page__address-card {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__address-label {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__address-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding-left: 28px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__default-tag {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
background: var(--color-primary-1, #e6f7ff);
|
||||
color: var(--color-primary, #1890ff);
|
||||
font-weight: 500;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__address-empty {
|
||||
text-align: center;
|
||||
padding: 32px 16px;
|
||||
color: var(--color-ink-4, #8690a0);
|
||||
}
|
||||
|
||||
.aksrt-cart-page__address-empty i {
|
||||
font-size: 28px;
|
||||
margin-bottom: 8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__field-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-cart-page__checkbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* ── Shared Modal ── */
|
||||
|
||||
.aksrt-modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-modal__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
.aksrt-modal__dialog {
|
||||
position: relative;
|
||||
background: var(--surface-1, #fff);
|
||||
border-radius: 16px;
|
||||
width: 90%;
|
||||
max-width: 520px;
|
||||
max-height: 85vh;
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.aksrt-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px 24px;
|
||||
border-bottom: 1px solid var(--color-line, #e3e8ef);
|
||||
}
|
||||
|
||||
.aksrt-modal__header h3 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.aksrt-modal__close {
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: var(--color-ink-3, #5d6676);
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.aksrt-modal__body {
|
||||
padding: 20px 24px;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.aksrt-modal__footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
@@ -0,0 +1,224 @@
|
||||
/**
|
||||
* AKSRT - Categories Index Route Stylesheet
|
||||
*
|
||||
* 分类汇总页面 (templates/pages/page-categories.php) 专用样式:
|
||||
* 卡片网格、封面图、文章计数徽章、子分类胶囊条、页面顶部统计与底部返回。
|
||||
*
|
||||
* Tokens: 颜色 / 间距 / 圆角 / 阴影 全部来自 core/tokens.css
|
||||
*/
|
||||
|
||||
/* ================================================
|
||||
* 页面头:标题 + 计数
|
||||
* ================================================ */
|
||||
.aksrt-cats-header {
|
||||
margin-bottom: var(--space-7);
|
||||
}
|
||||
|
||||
.aksrt-cats-header__meta {
|
||||
margin-top: var(--space-2);
|
||||
color: var(--color-ink-4);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ================================================
|
||||
* 网格容器
|
||||
* ================================================ */
|
||||
.aksrt-cats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: var(--space-5);
|
||||
margin-bottom: var(--space-8);
|
||||
}
|
||||
|
||||
/* ================================================
|
||||
* 卡片
|
||||
* ================================================ */
|
||||
.aksrt-cat-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--surface-page);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
|
||||
}
|
||||
|
||||
.aksrt-cat-card:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: var(--shadow-md);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* 封面图 */
|
||||
.aksrt-cat-card__cover {
|
||||
position: relative;
|
||||
display: block;
|
||||
aspect-ratio: 16 / 9;
|
||||
background-color: var(--surface-3);
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.aksrt-cat-card__cover::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(20, 28, 48, 0) 40%,
|
||||
rgba(20, 28, 48, 0.45) 100%
|
||||
);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* 计数徽章 */
|
||||
.aksrt-cat-card__count-badge {
|
||||
position: absolute;
|
||||
top: var(--space-3);
|
||||
right: var(--space-3);
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 4px 10px;
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
border-radius: var(--radius-pill);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
/* 卡片正文 */
|
||||
.aksrt-cat-card__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-5);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-cat-card__title {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.aksrt-cat-card__title a {
|
||||
color: var(--color-ink);
|
||||
text-decoration: none;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.aksrt-cat-card__title a:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-cat-card__desc {
|
||||
margin: 0;
|
||||
color: var(--color-ink-3);
|
||||
font-family: var(--font-body);
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ================================================
|
||||
* 子分类胶囊条
|
||||
* ================================================ */
|
||||
.aksrt-cat-card__children {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: auto;
|
||||
padding-top: var(--space-3);
|
||||
border-top: 1px dashed var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-cat-card__children li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.aksrt-cat-card__children a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-pill);
|
||||
color: var(--color-ink-3);
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
text-decoration: none;
|
||||
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
|
||||
.aksrt-cat-card__children a:hover {
|
||||
background: var(--color-primary-soft);
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-cat-card__child-count {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
background: var(--surface-3);
|
||||
border-radius: var(--radius-pill);
|
||||
color: var(--color-ink-4);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ================================================
|
||||
* 空状态
|
||||
* ================================================ */
|
||||
.aksrt-cats-empty {
|
||||
padding: var(--space-9) var(--space-5);
|
||||
text-align: center;
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-2);
|
||||
border: 1px dashed var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
/* ================================================
|
||||
* 底部返回
|
||||
* ================================================ */
|
||||
.aksrt-cats-footer {
|
||||
text-align: center;
|
||||
margin-top: var(--space-8);
|
||||
}
|
||||
|
||||
/* ================================================
|
||||
* 响应式
|
||||
* ================================================ */
|
||||
@media (max-width: 640px) {
|
||||
.aksrt-cats-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.aksrt-cat-card__body {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.aksrt-cat-card__title {
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
@import url("docs/base.css");
|
||||
@import url("docs/search.css");
|
||||
@import url("docs/layout.css");
|
||||
@import url("docs/index-card.css");
|
||||
@import url("docs/recent-updates-sidebar.css");
|
||||
@import url("docs/chapter-navigation.css");
|
||||
@import url("docs/sidebar-enhancements.css");
|
||||
@import url("docs/depth-based-indentation.css");
|
||||
@import url("docs/collapsible-state.css");
|
||||
@import url("docs/active-item-highlight-bar.css");
|
||||
@import url("docs/special-page-grid.css");
|
||||
@import url("docs/special-cover-enhancements.css");
|
||||
@import url("docs/pagination-inside-search-results.css");
|
||||
@import url("docs/empty-state-enhancement.css");
|
||||
@@ -0,0 +1,74 @@
|
||||
/**
|
||||
* AKSRT Friends Page — 友情链接页样式
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
.friends-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||||
gap: var(--space-4);
|
||||
margin-top: var(--space-6);
|
||||
}
|
||||
|
||||
.friend-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
padding: var(--card-padding);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-sm);
|
||||
text-decoration: none;
|
||||
color: var(--color-ink-2);
|
||||
transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
|
||||
}
|
||||
|
||||
.friend-card:hover {
|
||||
box-shadow: var(--shadow);
|
||||
border-color: var(--color-primary-soft);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.friend-card__avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: var(--radius);
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.friend-card__info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.friend-card__name {
|
||||
font-size: var(--text-base);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 4px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.friend-card__desc {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-ink-3);
|
||||
margin: 0;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
line-height: var(--leading-snug);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 640px) {
|
||||
.friends-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,437 @@
|
||||
/**
|
||||
* AKSRT Orders Page — zibll-aligned
|
||||
* 订单中心页面样式
|
||||
*/
|
||||
|
||||
.aksrt-orders-page {
|
||||
padding: 24px 0;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__header h1 {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin: 0 0 8px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__header p {
|
||||
color: var(--color-ink-3);
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
/* ===== Filter chips ===== */
|
||||
.aksrt-orders-page__filters {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__filter-chip {
|
||||
padding: 6px 16px;
|
||||
border-radius: var(--radius-pill);
|
||||
border: 1px solid var(--color-line);
|
||||
background: var(--surface-1);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
color: var(--color-ink-2);
|
||||
transition: all var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__filter-chip:hover,
|
||||
.aksrt-orders-page__filter-chip.is-active {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* ===== Order list ===== */
|
||||
.aksrt-orders-page__list {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item {
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
transition: box-shadow var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item:hover {
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-main {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px 20px;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-info {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-number {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-product {
|
||||
color: var(--color-ink-2);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-time {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-meta {
|
||||
text-align: right;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-amount {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-badge {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
padding: 2px 10px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink-2);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ===== Summary row ===== */
|
||||
.aksrt-orders-page__summary {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
padding: 12px 20px;
|
||||
background: var(--surface-2);
|
||||
border-top: 1px solid var(--color-line);
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__summary div {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__summary span {
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* ===== Details grid ===== */
|
||||
.aksrt-orders-page__details {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 16px;
|
||||
padding: 16px 20px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__detail-block h2 {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin: 0 0 6px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__detail-block p {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-2);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__shipping-info {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__carrier {
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__tracking {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-3);
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__ship-status {
|
||||
font-size: 12px;
|
||||
padding: 1px 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-primary-softer);
|
||||
color: var(--color-primary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ===== Footer & Actions ===== */
|
||||
.aksrt-orders-page__item-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 14px 20px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__countdown {
|
||||
font-size: 13px;
|
||||
color: var(--color-warning);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ===== Pagination ===== */
|
||||
.aksrt-orders-page__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__page-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--color-line);
|
||||
background: var(--surface-1);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
color: var(--color-ink-2);
|
||||
transition: all var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__page-chip:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__page-chip.is-active {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* ===== Empty state ===== */
|
||||
.aksrt-orders-page__empty {
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__empty i {
|
||||
font-size: 48px;
|
||||
color: var(--color-ink-4);
|
||||
margin-bottom: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ===== After-Sale Form Fields ===== */
|
||||
.aksrt-orders-page__field {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__field label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__select,
|
||||
.aksrt-orders-page__textarea {
|
||||
width: 100%;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius);
|
||||
padding: 10px 14px;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
background: var(--surface-1);
|
||||
transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-orders-page__select:focus,
|
||||
.aksrt-orders-page__textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* ===== Shared Modal (orders page) ===== */
|
||||
.aksrt-modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: var(--z-modal);
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-modal.is-open {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.aksrt-modal__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.aksrt-modal__dialog {
|
||||
position: relative;
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg);
|
||||
width: 90%;
|
||||
max-width: 520px;
|
||||
max-height: 85vh;
|
||||
overflow-y: auto;
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.aksrt-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px 24px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-modal__header h3 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-modal__close {
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: var(--color-ink-3);
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
transition: color var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-modal__close:hover {
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-modal__body {
|
||||
padding: 20px 24px;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.aksrt-modal__footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
padding: 16px 24px;
|
||||
border-top: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
/* ===== Responsive ===== */
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-orders-page__header h1 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__filters {
|
||||
overflow-x: auto;
|
||||
flex-wrap: nowrap;
|
||||
padding-bottom: 4px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__filter-chip {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__details {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-main {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-meta {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__summary {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-actions {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.aksrt-orders-page {
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__item-footer {
|
||||
padding: 12px 16px;
|
||||
}
|
||||
|
||||
.aksrt-orders-page__pagination {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.aksrt-modal__dialog {
|
||||
width: 95%;
|
||||
max-height: 90vh;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Dark mode ===== */
|
||||
html.dark .aksrt-orders-page__item-badge,
|
||||
html.dark .aksrt-orders-page__item-badge {
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
html.dark .aksrt-orders-page__filter-chip,
|
||||
html.dark .aksrt-orders-page__filter-chip {
|
||||
border-color: var(--color-line);
|
||||
}
|
||||
|
||||
html.dark .aksrt-orders-page__filter-chip.is-active,
|
||||
html.dark .aksrt-orders-page__filter-chip.is-active {
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
@@ -0,0 +1,446 @@
|
||||
/**
|
||||
* AKSRT Product Page — zibll-aligned
|
||||
*
|
||||
* 包含:商品详情页 + 前台商品编辑器
|
||||
*/
|
||||
|
||||
.aksrt-product-page,
|
||||
.aksrt-product-editor {
|
||||
padding: 28px 0 56px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__layout,
|
||||
.aksrt-product-page__detail-grid,
|
||||
.aksrt-product-editor__layout,
|
||||
.aksrt-product-editor__columns,
|
||||
.aksrt-product-page__details,
|
||||
.aksrt-product-page__actions {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__layout,
|
||||
.aksrt-product-editor__layout {
|
||||
grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.aksrt-product-page__detail-grid {
|
||||
grid-template-columns: minmax(0, 1fr) 320px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
/* ===== Panel surfaces ===== */
|
||||
.aksrt-product-page__panel,
|
||||
.aksrt-product-editor__panel {
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__title,
|
||||
.aksrt-product-editor__title {
|
||||
margin: 0 0 10px;
|
||||
font-size: 30px;
|
||||
line-height: 1.1;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-product-page__gallery,
|
||||
.aksrt-product-editor__main,
|
||||
.aksrt-product-editor__sidebar,
|
||||
.aksrt-product-page__summary,
|
||||
.aksrt-product-page__side-panels {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
/* ===== Gallery ===== */
|
||||
.aksrt-product-page__primary-image,
|
||||
.aksrt-product-page__placeholder {
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.aksrt-product-page__primary-image img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1 / 1;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.aksrt-product-page__placeholder {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 360px;
|
||||
font-size: 56px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.aksrt-product-page__thumbs {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__thumb {
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius);
|
||||
padding: 0;
|
||||
background: var(--surface-1);
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: border-color var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-product-page__thumb:hover,
|
||||
.aksrt-product-page__thumb.is-active {
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-product-page__thumb img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1 / 1;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* ===== Badges & Price ===== */
|
||||
.aksrt-product-page__badges,
|
||||
.aksrt-product-page__price-row,
|
||||
.aksrt-product-page__quantity,
|
||||
.aksrt-product-page__term-list,
|
||||
.aksrt-product-editor__actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.aksrt-product-page__badge,
|
||||
.aksrt-product-page__term {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 6px 12px;
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink-2);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.aksrt-product-page__badge--promo {
|
||||
background: rgba(239, 68, 68, 0.12);
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.aksrt-product-page__price {
|
||||
font-size: 30px;
|
||||
font-weight: 800;
|
||||
color: var(--color-error);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.aksrt-product-page__sales {
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* ===== Sticky buybox (zibll-aligned) ===== */
|
||||
.aksrt-product-page__summary {
|
||||
position: sticky;
|
||||
top: calc(var(--nav-height) + 16px);
|
||||
}
|
||||
|
||||
/* ===== Meta info blocks ===== */
|
||||
.aksrt-product-page__meta,
|
||||
.aksrt-product-page__info-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aksrt-product-page__meta div,
|
||||
.aksrt-product-page__detail-block {
|
||||
padding: 14px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.aksrt-product-page__meta dt {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__meta dd {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ===== Form fields ===== */
|
||||
.aksrt-product-page__field,
|
||||
.aksrt-product-editor__field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__input,
|
||||
.aksrt-product-editor__input,
|
||||
.aksrt-product-editor__textarea {
|
||||
width: 100%;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius);
|
||||
padding: 11px 14px;
|
||||
background: var(--surface-1);
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-product-page__input:focus,
|
||||
.aksrt-product-editor__input:focus,
|
||||
.aksrt-product-editor__textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* ===== Quantity controls ===== */
|
||||
.aksrt-product-page__qty-btn {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface-1);
|
||||
color: var(--color-ink-2);
|
||||
cursor: pointer;
|
||||
transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-product-page__qty-btn:hover {
|
||||
border-color: var(--color-primary);
|
||||
background: var(--color-primary-softer);
|
||||
}
|
||||
|
||||
.aksrt-product-page__qty-input {
|
||||
width: 90px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 8px 12px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
/* ===== Content ===== */
|
||||
.aksrt-product-page__content {
|
||||
line-height: 1.8;
|
||||
color: var(--color-ink-2);
|
||||
}
|
||||
|
||||
.aksrt-product-page__content img {
|
||||
max-width: 100%;
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
/* ===== Empty state ===== */
|
||||
.aksrt-product-page__empty,
|
||||
.aksrt-product-editor__empty {
|
||||
text-align: center;
|
||||
padding: 48px 20px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__empty i,
|
||||
.aksrt-product-editor__empty i {
|
||||
display: block;
|
||||
font-size: 44px;
|
||||
color: var(--color-ink-4);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.aksrt-product-editor__checkbox {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.aksrt-product-editor__sidebar {
|
||||
position: sticky;
|
||||
top: 24px;
|
||||
}
|
||||
|
||||
/* ===== Responsive ===== */
|
||||
@media (max-width: 980px) {
|
||||
.aksrt-product-page__layout,
|
||||
.aksrt-product-page__detail-grid,
|
||||
.aksrt-product-editor__layout,
|
||||
.aksrt-product-editor__columns,
|
||||
.aksrt-product-page__details {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-product-page__summary {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.aksrt-product-editor__sidebar {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-product-page__title,
|
||||
.aksrt-product-editor__title {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__thumbs {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-values {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-product-page__actions {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-product-page__actions .btn-lg,
|
||||
.aksrt-product-editor__actions .btn-lg {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.aksrt-product-page,
|
||||
.aksrt-product-editor {
|
||||
padding: 16px 0 40px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__price {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__meta {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Dark mode ===== */
|
||||
html.dark .aksrt-product-page__badge--promo,
|
||||
html.dark .aksrt-product-page__badge--promo {
|
||||
background: rgba(239, 68, 68, 0.18);
|
||||
}
|
||||
|
||||
html.dark .aksrt-product-page__placeholder,
|
||||
html.dark .aksrt-product-page__placeholder {
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
html.dark .aksrt-product-page__thumb,
|
||||
html.dark .aksrt-product-page__thumb {
|
||||
border-color: var(--color-line);
|
||||
}
|
||||
|
||||
html.dark .aksrt-product-page__content img,
|
||||
html.dark .aksrt-product-page__content img {
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* SKU 规格选择器
|
||||
* ============================================================ */
|
||||
.aksrt-product-page__sku-selector {
|
||||
margin: 16px 0;
|
||||
padding: 16px;
|
||||
background: var(--surface-2);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-group {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-group:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink-2);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-values {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 48px;
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-2);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-btn:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-btn.is-active {
|
||||
background: var(--color-primary-soft);
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-product-page__spec-btn:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* SKU 信息区 */
|
||||
.aksrt-product-page__sku-info {
|
||||
margin-top: 12px;
|
||||
padding: 10px 12px;
|
||||
background: var(--surface-1);
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-product-page__sku-price {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.aksrt-product-page__sku-stock {
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@import url("profile/layout.css");
|
||||
@import url("profile/lists.css");
|
||||
@import url("profile/modals.css");
|
||||
@@ -0,0 +1,567 @@
|
||||
/**
|
||||
* AKSRT Profile / User Center — v3.3 Editorial
|
||||
*
|
||||
* 从 page-profile.php 内嵌 <style> 提取,token 化。
|
||||
* 通过 class-aksrt-scripts.php 在 is_page_template('templates/pages/page-profile.php') 时加载。
|
||||
*
|
||||
* 覆盖:
|
||||
* - Toast 通知容器(仅 profile 页)
|
||||
* - 公开个人主页头
|
||||
* - 仪表盘标签 + 数据表
|
||||
* - 个人资料编辑表单 + 联系方式行
|
||||
* - 账号设置区(第三方绑定 / 安全操作)
|
||||
* - 模态弹窗(修改密码 / 修改邮箱)
|
||||
* - 密码强度条
|
||||
*/
|
||||
|
||||
/* ==================== Toast(profile 页专用) ==================== */
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
bottom: calc(24px + env(safe-area-inset-bottom, 0px));
|
||||
right: calc(24px + env(safe-area-inset-right, 0px));
|
||||
z-index: 99999;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
gap: 10px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.toast-item {
|
||||
pointer-events: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 20px;
|
||||
background: rgba(0, 0, 0, 0.78);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
border-radius: 100px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
|
||||
animation: toastIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.toast-item.fade-out {
|
||||
animation: toastOut 0.4s ease forwards;
|
||||
}
|
||||
@keyframes toastIn {
|
||||
0% { opacity: 0; transform: translateY(16px) scale(0.92); }
|
||||
100% { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
@keyframes toastOut {
|
||||
0% { opacity: 1; transform: translateY(0) scale(1); }
|
||||
100% { opacity: 0; transform: translateY(8px) scale(0.95); }
|
||||
}
|
||||
|
||||
/* 用户主页 / 用户中心统一使用站点内容宽度,避免旧 page/dashboard 容器收窄 */
|
||||
.aksrt-profile .content-shell {
|
||||
width: 100%;
|
||||
max-width: var(--container, 1440px);
|
||||
}
|
||||
|
||||
/* ==================== 用户资料卡片(共享) ==================== */
|
||||
.uc-header {
|
||||
margin-bottom: 20px;
|
||||
border-radius: var(--radius-lg, 12px);
|
||||
overflow: hidden;
|
||||
background: var(--surface-1);
|
||||
box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
/* 对齐 zibll: calc(20% + 100px) */
|
||||
.uc-header__cover {
|
||||
position: relative;
|
||||
padding-bottom: calc(20% + 100px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uc-header__cover-img {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.uc-header__cover-mask {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 80px;
|
||||
background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.uc-header__cover-upload {
|
||||
position: absolute;
|
||||
bottom: 12px;
|
||||
right: 12px;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 4px 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||
border-radius: 6px;
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
backdrop-filter: blur(4px);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.uc-header__cover-upload:hover {
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.uc-header__cover-upload:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.uc-header__cover-upload i {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uc-header__content {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 20px;
|
||||
padding: 18px 28px 24px;
|
||||
margin-top: -60px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.uc-header__avatar {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 对齐 zibll: 140px, 6px 圆角 */
|
||||
.uc-header__avatar img {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
border-radius: 6px;
|
||||
border: 4px solid var(--surface-1);
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
|
||||
object-fit: cover;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.uc-header__avatar img:hover {
|
||||
transform: scale(1.03);
|
||||
}
|
||||
|
||||
.uc-header__info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding-top: 65px;
|
||||
}
|
||||
|
||||
.uc-header__name {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.uc-header__desc {
|
||||
margin: 0 0 10px;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
line-height: 1.5;
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.aksrt-identity-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.aksrt-identity-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 30px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.aksrt-identity-chip--success {
|
||||
color: #0f766e;
|
||||
background: rgba(15, 118, 110, 0.12);
|
||||
}
|
||||
|
||||
.aksrt-identity-chip--info {
|
||||
color: #1d4ed8;
|
||||
background: rgba(37, 99, 235, 0.12);
|
||||
}
|
||||
|
||||
.aksrt-identity-chip--warning {
|
||||
color: #b45309;
|
||||
background: rgba(245, 158, 11, 0.14);
|
||||
}
|
||||
|
||||
.aksrt-identity-chip--brand {
|
||||
color: #7c3aed;
|
||||
background: rgba(124, 58, 237, 0.12);
|
||||
}
|
||||
|
||||
.aksrt-identity-chip--neutral {
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.aksrt-user-home__notice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0 0 18px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.aksrt-user-home__notice--muted,
|
||||
.aksrt-user-home__notice--restricted {
|
||||
color: #92400e;
|
||||
background: rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.aksrt-user-home__notice--banned {
|
||||
color: #b91c1c;
|
||||
background: rgba(239, 68, 68, 0.12);
|
||||
}
|
||||
|
||||
.uc-header__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 14px;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.uc-header__meta-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.uc-header__meta-item i {
|
||||
font-size: 12px;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.uc-header__actions {
|
||||
flex-shrink: 0;
|
||||
padding-top: 68px;
|
||||
}
|
||||
|
||||
/* 公开主页联系方式(沿用旧选择器) */
|
||||
.profile-public-contacts {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.profile-public-contacts .social-icon-link {
|
||||
color: var(--color-ink);
|
||||
background: var(--color-line);
|
||||
}
|
||||
.profile-public-contacts .social-icon-link:hover {
|
||||
color: var(--color-ink);
|
||||
background: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* 公开主页响应式 */
|
||||
@media (max-width: 767px) {
|
||||
.uc-header__content {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 12px 16px 20px;
|
||||
}
|
||||
|
||||
.uc-header__info {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.uc-header__desc {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.uc-header__meta {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-identity-chips {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.uc-header__actions {
|
||||
padding-top: 0;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.profile-public-contacts {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.uc-header__cover {
|
||||
padding-bottom: calc(20% + 60px);
|
||||
}
|
||||
|
||||
.uc-header__content {
|
||||
margin-top: -40px;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.uc-header__avatar img {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.uc-header__name {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 页面标题 ==================== */
|
||||
.profile-page-title {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* ==================== Dashboard Tabs 计数徽章 ==================== */
|
||||
.dashboard-tabs__count {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 6px;
|
||||
margin-left: 4px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-3);
|
||||
border-radius: var(--radius-pill);
|
||||
font-variant-numeric: tabular-nums;
|
||||
transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
|
||||
}
|
||||
.dashboard-tabs button.is-active .dashboard-tabs__count {
|
||||
color: var(--color-on-primary, #fff);
|
||||
background: var(--color-primary);
|
||||
}
|
||||
|
||||
/* 移动端 tab 横向滚动(取代换行) */
|
||||
@media (max-width: 640px) {
|
||||
.dashboard-tabs {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
.dashboard-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.dashboard-tabs button {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* 公开主页模式下的简化 dashboard */
|
||||
.dashboard--public {
|
||||
margin-top: 24px;
|
||||
max-width: none;
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg, 10px);
|
||||
padding: 24px;
|
||||
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
|
||||
border: 1px solid var(--color-line-soft, transparent);
|
||||
}
|
||||
.dashboard--public .dashboard-tabs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
position: static;
|
||||
background: transparent;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 2px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
.dashboard--public .dashboard-tabs button {
|
||||
padding: 8px 16px;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-3);
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
.dashboard--public .dashboard-tabs button:hover {
|
||||
color: var(--color-ink);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
.dashboard--public .dashboard-tabs button.is-active {
|
||||
color: var(--color-primary);
|
||||
background: var(--color-primary-soft);
|
||||
font-weight: 600;
|
||||
}
|
||||
.dashboard--public .dashboard-tabs button.is-active::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -14px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
background: var(--color-primary);
|
||||
border-radius: 1px;
|
||||
}
|
||||
.dashboard--public .dashboard-tabs button.is-active .dashboard-tabs__count {
|
||||
color: var(--color-primary);
|
||||
background: var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* ==================== 个人资料编辑表单 ==================== */
|
||||
.profile-form .widget-card {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.profile-form__submit {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 0;
|
||||
margin-top: 16px;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
.profile-form__submit-msg {
|
||||
font-size: 14px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
.profile-form__submit-msg.is-error {
|
||||
color: var(--color-error);
|
||||
}
|
||||
.profile-add-contact {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.profile-input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: var(--color-ink);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
outline: none;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.profile-input:focus {
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
||||
}
|
||||
.profile-textarea {
|
||||
resize: vertical;
|
||||
min-height: 90px;
|
||||
font-family: inherit;
|
||||
}
|
||||
.profile-hint {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin: 6px 0 0;
|
||||
}
|
||||
.profile-hint--top {
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* ==================== List Header(标题 + 状态筛选) ==================== */
|
||||
.profile-list-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 14px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 2px solid var(--color-primary-50);
|
||||
}
|
||||
.widget-title--inline {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
.widget-title--inline::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.profile-status-filter {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
.profile-status-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-pill);
|
||||
border: 1px solid var(--color-line);
|
||||
background: var(--surface-1);
|
||||
color: var(--color-ink-3);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease),
|
||||
background-color var(--dur-fast) var(--ease),
|
||||
border-color var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-status-chip:hover {
|
||||
color: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
.profile-status-chip.is-active {
|
||||
color: var(--color-on-primary, #fff);
|
||||
background: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
.profile-status-chip__count {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
padding: 0 4px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink-4);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.profile-status-chip.is-active .profile-status-chip__count {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,660 @@
|
||||
/* ==================== 文章 / 收藏 列表(无图) ==================== */
|
||||
.profile-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.profile-list-item {
|
||||
position: relative;
|
||||
padding: 16px 18px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--surface-1);
|
||||
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
||||
transition: background-color var(--dur-fast) var(--ease),
|
||||
border-color var(--dur-fast) var(--ease),
|
||||
box-shadow var(--dur-fast) var(--ease),
|
||||
opacity var(--dur) var(--ease);
|
||||
}
|
||||
.profile-list-item:hover {
|
||||
background: var(--surface-1);
|
||||
border-color: var(--color-line-strong, var(--color-line));
|
||||
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
.profile-list-item.is-removing {
|
||||
opacity: 0;
|
||||
transform: translateX(-12px);
|
||||
}
|
||||
|
||||
.profile-list[data-list="favorites"] .profile-list-item {
|
||||
background: var(--surface-1);
|
||||
border-color: var(--color-line);
|
||||
}
|
||||
.profile-list[data-list="favorites"] .profile-list-item:hover {
|
||||
background: var(--surface-1);
|
||||
border-color: var(--color-line-strong, var(--color-line));
|
||||
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
|
||||
.profile-list-item__main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.profile-list-item__head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.profile-list-item__title {
|
||||
flex: 1;
|
||||
margin: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-md, 1.125rem);
|
||||
font-weight: 700;
|
||||
line-height: 1.4;
|
||||
color: var(--color-ink);
|
||||
letter-spacing: -0.01em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
.profile-list-item__title a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-list-item:hover .profile-list-item__title a {
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.profile-list-item__status-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-left: 6px;
|
||||
padding: 2px 8px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.02em;
|
||||
color: var(--color-warning);
|
||||
background: rgba(245, 158, 11, 0.10);
|
||||
border-radius: var(--radius-pill);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.profile-list-item__date {
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.profile-list-item__excerpt {
|
||||
margin: 0;
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-sm, 0.875rem);
|
||||
line-height: 1.65;
|
||||
color: var(--color-ink-3);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.profile-list-item__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
.profile-list-item__meta-spacer {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
.profile-list-item__chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 2px 8px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 999px;
|
||||
text-decoration: none;
|
||||
letter-spacing: 0.02em;
|
||||
background: var(--surface-1);
|
||||
color: var(--color-ink-4);
|
||||
transition: color var(--dur-fast) var(--ease),
|
||||
background-color var(--dur-fast) var(--ease),
|
||||
border-color var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-list-item__chip--category {
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-1);
|
||||
border-color: var(--color-line);
|
||||
}
|
||||
.profile-list-item__chip--category:hover {
|
||||
color: var(--color-ink-2);
|
||||
background: var(--surface-2);
|
||||
border-color: var(--color-line-strong, var(--color-line));
|
||||
}
|
||||
.profile-list-item__chip--category i {
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
color: inherit;
|
||||
}
|
||||
.profile-list-item__chip--tag {
|
||||
color: var(--color-ink-4);
|
||||
background: var(--surface-1);
|
||||
border-color: var(--color-line);
|
||||
}
|
||||
.profile-list-item__chip--tag:hover {
|
||||
color: var(--color-ink-3);
|
||||
border-color: var(--color-line-strong, var(--color-line));
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.profile-list-item__meta-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.profile-list-item__meta-item svg {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.profile-list-item__action {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 4px 10px;
|
||||
margin-left: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
color: var(--color-ink-4);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-pill);
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease),
|
||||
background-color var(--dur-fast) var(--ease),
|
||||
border-color var(--dur-fast) var(--ease),
|
||||
opacity var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-list-item__action:hover {
|
||||
color: var(--color-ink-2);
|
||||
border-color: var(--color-line-strong, var(--color-line));
|
||||
background: var(--surface-2);
|
||||
}
|
||||
.profile-list-item__action--unfavorite {
|
||||
color: var(--color-ink-4);
|
||||
border-color: var(--color-line);
|
||||
}
|
||||
.profile-list-item__action--unfavorite:hover {
|
||||
color: var(--color-error);
|
||||
border-color: var(--color-error);
|
||||
background: rgba(239, 68, 68, 0.04);
|
||||
}
|
||||
.profile-list-item__action--unfavorite svg {
|
||||
fill: currentColor;
|
||||
}
|
||||
.profile-list-item__action.is-loading {
|
||||
opacity: 0.5;
|
||||
pointer-events: none;
|
||||
}
|
||||
.profile-list-item__action-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
.profile-list-item__action-icon svg {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
/* ==================== 评论列表 ==================== */
|
||||
.profile-comment-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.profile-comment-item {
|
||||
position: relative;
|
||||
padding: 16px 18px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--surface-1);
|
||||
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
||||
transition: background-color var(--dur-fast) var(--ease),
|
||||
border-color var(--dur-fast) var(--ease),
|
||||
box-shadow var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-comment-item::before {
|
||||
content: none;
|
||||
}
|
||||
.profile-comment-item:hover {
|
||||
background: var(--surface-1);
|
||||
border-color: var(--color-line-strong, var(--color-line));
|
||||
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
|
||||
.profile-comment-item__quote-link {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 6px;
|
||||
text-decoration: none;
|
||||
color: var(--color-ink-2);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.profile-comment-item__quote-link:hover .profile-comment-item__quote-text {
|
||||
color: var(--color-ink-2);
|
||||
}
|
||||
.profile-comment-item__quote-mark {
|
||||
flex-shrink: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
color: var(--color-ink-4);
|
||||
opacity: 0.45;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.profile-comment-item__quote-text {
|
||||
flex: 1;
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-sm, 0.875rem);
|
||||
line-height: 1.65;
|
||||
color: var(--color-ink-2);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
transition: color var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.profile-comment-item__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-left: 0;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
.profile-comment-item__meta-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
.profile-comment-item__meta-item i {
|
||||
font-size: 11px;
|
||||
opacity: 0.75;
|
||||
}
|
||||
.profile-comment-item__meta-sep {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.profile-comment-item__post-link {
|
||||
color: var(--color-ink-2);
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-comment-item__post-link:hover {
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
/* ==================== 分页 ==================== */
|
||||
.profile-pagination {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-top: 24px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--color-line-soft);
|
||||
}
|
||||
.profile-pagination .page-numbers {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 32px;
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease),
|
||||
background-color var(--dur-fast) var(--ease),
|
||||
border-color var(--dur-fast) var(--ease);
|
||||
}
|
||||
.profile-pagination a.page-numbers:hover {
|
||||
color: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
background: var(--color-primary-soft);
|
||||
}
|
||||
.profile-pagination .page-numbers.current {
|
||||
color: var(--color-on-primary, #fff);
|
||||
background: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
.profile-pagination .page-numbers.dots {
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* ==================== 空状态 ==================== */
|
||||
.profile-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 56px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.profile-empty__icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
.profile-empty__icon svg {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.profile-empty__title {
|
||||
margin: 0 0 6px;
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-md, 1.125rem);
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
.profile-empty__desc {
|
||||
margin: 0 0 16px;
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-sm, 0.875rem);
|
||||
color: var(--color-ink-3);
|
||||
max-width: 360px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
.profile-empty__cta {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* ---- 联系方式行 ---- */
|
||||
.contact-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.contact-icon {
|
||||
flex: 0 0 120px;
|
||||
min-width: 0;
|
||||
}
|
||||
.contact-row .contact-url {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.contact-remove {
|
||||
flex-shrink: 0;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
.contact-remove:hover {
|
||||
background: rgba(220, 38, 38, 0.1);
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
/* ---- 保存反馈 ---- */
|
||||
#profile-save-msg.success { color: var(--color-success); }
|
||||
#profile-save-msg.error { color: var(--color-error); }
|
||||
|
||||
/* ==================== 账号设置区 ==================== */
|
||||
.settings-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.settings-section__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.settings-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 8px;
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary, #fff);
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.settings-icon i,
|
||||
.security-action-icon i,
|
||||
.aksrt-modal__icon i,
|
||||
.aksrt-modal__close i {
|
||||
line-height: 1;
|
||||
}
|
||||
.settings-hint {
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-4);
|
||||
margin: 4px 0 12px;
|
||||
}
|
||||
.settings-hint--top {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.settings-hint--bottom {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.settings-section__title {
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
.settings-empty {
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-4);
|
||||
padding: 24px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* ---- 第三方绑定列表 ---- */
|
||||
.binding-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.binding-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 11px 14px;
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
.binding-item--linkable {
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
.binding-item--linkable:hover {
|
||||
border-color: var(--color-primary);
|
||||
background: var(--color-primary-softer);
|
||||
}
|
||||
.binding-item__icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
color: var(--color-ink);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.binding-item__icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.binding-item__meta {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
.binding-status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--color-success);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.binding-status--idle {
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
.binding-item__name {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* ---- 徽章 ---- */
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 3px 10px;
|
||||
border-radius: 100px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.badge__icon {
|
||||
line-height: 1;
|
||||
}
|
||||
.badge--bound {
|
||||
background: #ecfdf5;
|
||||
color: #059669;
|
||||
}
|
||||
.badge--bind {
|
||||
background: #eff6ff;
|
||||
color: var(--color-primary);
|
||||
border: 1px solid var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* ---- 解绑按钮 ---- */
|
||||
.binding-unbind-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
padding: 4px 10px;
|
||||
border-radius: 6px;
|
||||
transition: color 0.15s, background 0.15s;
|
||||
}
|
||||
.binding-unbind-btn:hover {
|
||||
color: var(--color-error);
|
||||
background: rgba(239, 68, 68, 0.08);
|
||||
}
|
||||
|
||||
/* ---- 安全设置操作区 ---- */
|
||||
.security-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.security-action-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 16px;
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.security-action-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.security-action-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 10px;
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
flex-shrink: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
.security-action-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
.security-action-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
.security-action-desc {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,604 @@
|
||||
/* ==================== Modal 弹窗 ==================== */
|
||||
.aksrt-modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 99998;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.aksrt-modal.is-open {
|
||||
display: flex;
|
||||
}
|
||||
.aksrt-modal__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
animation: modalFadeIn 0.2s ease forwards;
|
||||
}
|
||||
.aksrt-modal__box {
|
||||
position: relative;
|
||||
width: 92%;
|
||||
max-width: 440px;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.08);
|
||||
animation: modalSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
|
||||
}
|
||||
@keyframes modalFadeIn { from { opacity: 0 } to { opacity: 1 } }
|
||||
@keyframes modalSlideUp {
|
||||
from { opacity: 0; transform: translateY(24px) scale(0.96); }
|
||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
|
||||
/* Modal 头部 */
|
||||
.aksrt-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px 20px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
.aksrt-modal__title-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.aksrt-modal__icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
font-size: 16px;
|
||||
}
|
||||
.aksrt-modal__title-wrap h4 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
.aksrt-modal__close {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--color-ink-4);
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
.aksrt-modal__close:hover {
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
/* Modal 表单字段 */
|
||||
.aksrt-modal__box form {
|
||||
padding: 20px;
|
||||
}
|
||||
.modal-field {
|
||||
position: relative;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.modal-field label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink-2);
|
||||
}
|
||||
.modal-field input[type="password"],
|
||||
.modal-field input[type="email"],
|
||||
.modal-field input[type="text"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 40px 10px 14px;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: var(--color-ink);
|
||||
background: var(--surface-2);
|
||||
border: 1.5px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
outline: none;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.modal-field input:focus {
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
||||
background: var(--surface-1);
|
||||
}
|
||||
.toggle-pwd {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 31px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 16px;
|
||||
}
|
||||
.toggle-pwd:hover {
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
/* 只读显示(当前邮箱) */
|
||||
.readonly-display {
|
||||
display: block;
|
||||
padding: 10px 14px;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink-4);
|
||||
background: var(--surface-2);
|
||||
border: 1.5px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/* 验证码输入组 */
|
||||
.code-input-group {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.code-input-group input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 10px 14px !important;
|
||||
font-family: inherit !important;
|
||||
letter-spacing: 2px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.code-send-btn {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
min-width: 110px;
|
||||
}
|
||||
.code-send-btn.is-counting {
|
||||
pointer-events: none;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
/* 密码强度条 */
|
||||
.pwd-strength {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-top: 7px;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
background: var(--surface-3);
|
||||
}
|
||||
.pwd-strength__fill {
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
border-radius: 2px;
|
||||
transition: width 0.3s ease, background-color 0.3s ease;
|
||||
background-color: var(--color-error);
|
||||
}
|
||||
.pwd-strength__fill.level-weak { width: 33%; background-color: var(--color-error); }
|
||||
.pwd-strength__fill.level-medium { width: 66%; background-color: var(--color-warning); }
|
||||
.pwd-strength__fill.level-strong { width: 100%; background-color: var(--color-success); }
|
||||
.pwd-strength__text {
|
||||
font-size: 11px;
|
||||
margin-top: 4px;
|
||||
font-weight: 500;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.pwd-strength__text.level-weak { color: var(--color-error); }
|
||||
.pwd-strength__text.level-medium { color: var(--color-warning); }
|
||||
.pwd-strength__text.level-strong { color: var(--color-success); }
|
||||
|
||||
/* 人机验证容器在弹窗中的适配 */
|
||||
.aksrt-modal .aksrt-captcha-wrap {
|
||||
margin: 14px 0 8px;
|
||||
}
|
||||
.aksrt-modal .aksrt-captcha-box {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Modal 底部按钮栏 */
|
||||
.aksrt-modal__footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
margin-top: 20px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
/* ==================== 响应式 ==================== */
|
||||
@media (max-width: 720px) {
|
||||
.profile-public-left {
|
||||
flex: 0 0 180px;
|
||||
}
|
||||
.profile-list-item {
|
||||
padding: 14px;
|
||||
}
|
||||
.profile-comment-item {
|
||||
padding: 14px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.profile-public-header {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
}
|
||||
.profile-public-left {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
}
|
||||
.profile-public-right {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.profile-list-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
}
|
||||
.profile-status-filter {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
flex-wrap: nowrap;
|
||||
scrollbar-width: none;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
.profile-status-filter::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.profile-status-chip {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.profile-list-item__head {
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
.profile-list-item__date {
|
||||
font-size: 11px;
|
||||
}
|
||||
.profile-list-item__title {
|
||||
font-size: var(--text-base, 1rem);
|
||||
}
|
||||
.profile-list-item__meta {
|
||||
gap: 6px;
|
||||
}
|
||||
.profile-list-item__action {
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
.profile-list-item__meta-spacer {
|
||||
display: none;
|
||||
}
|
||||
.profile-comment-item__meta {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.contact-row { flex-wrap: wrap; }
|
||||
.contact-row .contact-name { flex: 1 1 100%; }
|
||||
.contact-icon { flex: 0 0 100%; }
|
||||
.aksrt-modal__box {
|
||||
max-width: 96%;
|
||||
border-radius: 12px;
|
||||
}
|
||||
.aksrt-modal__header { padding: 14px 16px; }
|
||||
.aksrt-modal__box form { padding: 16px; }
|
||||
.security-action-item {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
.security-action-item > button {
|
||||
align-self: flex-end;
|
||||
}
|
||||
.code-send-btn {
|
||||
min-width: 94px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.profile-pagination .page-numbers {
|
||||
min-width: 30px;
|
||||
height: 30px;
|
||||
font-size: 12px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* v4.0 Zibll-Inspired 用户中心增强
|
||||
* ============================================================ */
|
||||
|
||||
/* 用户统计卡片 */
|
||||
.user-stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 12px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.user-stat-card {
|
||||
text-align: center;
|
||||
padding: 16px 8px;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-3);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.user-stat-card:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.user-stat-card__value {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-primary);
|
||||
line-height: 1;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.user-stat-card__label {
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* 签到面板 */
|
||||
.signin-panel {
|
||||
background: var(--surface-page);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.signin-panel__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.signin-panel__title {
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.signin-panel__title i {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.signin-panel__streak {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.signin-panel__streak strong {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.signin-panel__btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 20px;
|
||||
border-radius: 50px;
|
||||
border: none;
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.signin-panel__btn:hover {
|
||||
opacity: 0.9;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.signin-panel__btn:disabled,
|
||||
.signin-panel__btn.is-signed {
|
||||
background: var(--surface-3);
|
||||
color: var(--color-ink-4);
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.signin-panel__btn.is-signed i {
|
||||
color: var(--color-success, #34a853);
|
||||
}
|
||||
|
||||
.signin-panel__reward {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
/* 签到日历(简化版) */
|
||||
.signin-calendar {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 4px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.signin-calendar__day {
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
background: var(--surface-3);
|
||||
}
|
||||
|
||||
.signin-calendar__day.is-signed {
|
||||
background: var(--color-primary-soft, rgba(240, 68, 148, 0.15));
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.signin-calendar__day.is-today {
|
||||
border: 2px solid var(--color-primary);
|
||||
}
|
||||
|
||||
/* 用户等级进度条 */
|
||||
.user-level-bar {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.user-level-bar__header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.user-level-bar__label {
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.user-level-bar__exp {
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.user-level-bar__track {
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: var(--surface-3);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.user-level-bar__fill {
|
||||
height: 100%;
|
||||
border-radius: 3px;
|
||||
background: linear-gradient(90deg, var(--color-primary), #667eea);
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
/* 移动端适配 */
|
||||
@media (max-width: 640px) {
|
||||
.user-stats-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.user-stat-card {
|
||||
padding: 12px 6px;
|
||||
}
|
||||
|
||||
.user-stat-card__value {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Zibll-style user tabs: one panel outside, flat rows inside. */
|
||||
.dashboard--public .profile-list,
|
||||
.dashboard--public .profile-comment-list,
|
||||
.uc-content #panel-posts .profile-list,
|
||||
.uc-content #panel-favorites .profile-list,
|
||||
.uc-content #panel-comments .profile-comment-list {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item,
|
||||
.dashboard--public .profile-comment-item,
|
||||
.uc-content #panel-posts .profile-list-item,
|
||||
.uc-content #panel-favorites .profile-list-item,
|
||||
.uc-content #panel-favorites .profile-list[data-list="favorites"] .profile-list-item,
|
||||
.uc-content #panel-comments .profile-comment-item {
|
||||
padding: 16px 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:hover,
|
||||
.dashboard--public .profile-comment-item:hover,
|
||||
.uc-content #panel-posts .profile-list-item:hover,
|
||||
.uc-content #panel-favorites .profile-list-item:hover,
|
||||
.uc-content #panel-favorites .profile-list[data-list="favorites"] .profile-list-item:hover,
|
||||
.uc-content #panel-comments .profile-comment-item:hover {
|
||||
background: transparent;
|
||||
border-color: var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:first-child,
|
||||
.dashboard--public .profile-comment-item:first-child,
|
||||
.uc-content #panel-posts .profile-list-item:first-child,
|
||||
.uc-content #panel-favorites .profile-list-item:first-child,
|
||||
.uc-content #panel-comments .profile-comment-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:last-child,
|
||||
.dashboard--public .profile-comment-item:last-child,
|
||||
.uc-content #panel-posts .profile-list-item:last-child,
|
||||
.uc-content #panel-favorites .profile-list-item:last-child,
|
||||
.uc-content #panel-comments .profile-comment-item:last-child {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list[data-list="favorites"] .profile-list-item,
|
||||
.dashboard--public .profile-list[data-list="favorites"] .profile-list-item:hover {
|
||||
background: transparent;
|
||||
border-color: var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.dashboard--public .profile-list-item,
|
||||
.dashboard--public .profile-comment-item,
|
||||
.uc-content #panel-posts .profile-list-item,
|
||||
.uc-content #panel-favorites .profile-list-item,
|
||||
.uc-content #panel-comments .profile-comment-item {
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:first-child,
|
||||
.dashboard--public .profile-comment-item:first-child,
|
||||
.uc-content #panel-posts .profile-list-item:first-child,
|
||||
.uc-content #panel-favorites .profile-list-item:first-child,
|
||||
.uc-content #panel-comments .profile-comment-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:last-child,
|
||||
.dashboard--public .profile-comment-item:last-child,
|
||||
.uc-content #panel-posts .profile-list-item:last-child,
|
||||
.uc-content #panel-favorites .profile-list-item:last-child,
|
||||
.uc-content #panel-comments .profile-comment-item:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,227 @@
|
||||
/**
|
||||
* AKSRT Revenue Page Styles
|
||||
* 收益中心页面样式
|
||||
*/
|
||||
|
||||
/**
|
||||
* AKSRT Revenue Page Styles
|
||||
* 收益中心页面样式 — zibll-aligned, responsive
|
||||
*/
|
||||
|
||||
.aksrt-revenue-page {
|
||||
padding: 24px 0;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__header h2 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 16px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stat-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 20px;
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stat-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-primary-1, rgba(240, 68, 148, 0.08));
|
||||
color: var(--color-primary);
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stat-value {
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stat-label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__actions {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__withdraw-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 24px;
|
||||
border-radius: var(--radius);
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary, #fff);
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__withdraw-btn:hover {
|
||||
opacity: 0.85;
|
||||
color: var(--color-on-primary, #fff);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__section h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
background: var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 14px 16px;
|
||||
background: var(--surface-1);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-2);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-title {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-time {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-amount {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__page-chip {
|
||||
display: inline-block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
border-radius: var(--radius);
|
||||
font-size: 13px;
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink-3);
|
||||
text-decoration: none;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__page-chip:hover {
|
||||
background: var(--color-primary-1);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__page-chip.is-active {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary, #fff);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__empty {
|
||||
text-align: center;
|
||||
padding: 48px 0;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__empty i {
|
||||
font-size: 48px;
|
||||
margin-bottom: 12px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ===== Responsive ===== */
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-revenue-page__stats {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stat-card {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item {
|
||||
padding: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.aksrt-revenue-page {
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__header h2 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__stat-value {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.aksrt-revenue-page__item-amount {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,350 @@
|
||||
/**
|
||||
* AKSRT - Search Results Route Stylesheet
|
||||
*
|
||||
* 搜索结果页 (search.php) 专用样式:
|
||||
* 顶部 hero 卡片、Pill 形搜索框、清空按钮、提交按钮、
|
||||
* 工具栏、空状态、关键词高亮 mark。
|
||||
*
|
||||
* Tokens: 颜色 / 间距 / 圆角 / 阴影 全部来自 core/tokens.css
|
||||
*/
|
||||
|
||||
/* ========== 搜索页大框 ========== */
|
||||
.search-hero-form {
|
||||
max-width: 600px;
|
||||
margin: 0 auto 28px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.search-page-header {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin-bottom: 24px;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
background: linear-gradient(180deg, var(--surface-2), var(--surface-page));
|
||||
}
|
||||
|
||||
.search-page-header__eyebrow {
|
||||
margin: 0;
|
||||
color: var(--color-primary);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.search-page-header__summary {
|
||||
margin: 0;
|
||||
max-width: 720px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.search-page-form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
max-width: none;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
|
||||
.search-hero-form input[type="search"] {
|
||||
width: 100%;
|
||||
height: 52px;
|
||||
padding: 0 116px 0 48px;
|
||||
border-radius: var(--radius-pill);
|
||||
border: 1px solid var(--color-line);
|
||||
font-size: 16px;
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink);
|
||||
box-sizing: border-box;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.search-hero-form input[type="search"]:focus {
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(59, 130, 246, 0.16));
|
||||
background: var(--surface-page);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.search-hero-form .search-icon {
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.search-hero-form .clear-search {
|
||||
position: absolute;
|
||||
right: 92px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: none;
|
||||
border-radius: var(--radius-btn);
|
||||
background: var(--surface-3);
|
||||
cursor: pointer;
|
||||
color: var(--color-ink-4);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.search-hero-form .clear-search.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.search-hero-form .clear-search:hover {
|
||||
color: var(--color-ink);
|
||||
background: var(--color-line);
|
||||
}
|
||||
|
||||
.search-page-form__submit {
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
min-width: 74px;
|
||||
height: 40px;
|
||||
padding: 0 16px;
|
||||
border: none;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.search-page-form__submit:hover {
|
||||
background: var(--color-primary-active, var(--color-primary));
|
||||
}
|
||||
|
||||
.search-page-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 24px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.search-page-toolbar__count {
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.search-page-toolbar__reset {
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.search-page-filters {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin: 0 0 18px;
|
||||
padding: 16px 18px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.search-page-filters__group {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.search-page-filters__label {
|
||||
min-width: 36px;
|
||||
padding-top: 6px;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.search-page-filters__chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.search-page-filters__chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 34px;
|
||||
padding: 0 14px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-page);
|
||||
color: var(--color-ink-3);
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.search-page-filters__chip:hover,
|
||||
.search-page-filters__chip.is-active {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
background: var(--color-primary-soft, rgba(59, 130, 246, 0.12));
|
||||
}
|
||||
|
||||
/* ========== 分类筛选下拉 ========== */
|
||||
.search-page-filters__select-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.search-page-filters__select {
|
||||
appearance: none;
|
||||
min-height: 34px;
|
||||
padding: 0 32px 0 14px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-page);
|
||||
color: var(--color-ink);
|
||||
font: 500 14px/1 var(--font-ui);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.search-page-filters__select-wrap::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-top: 5px solid var(--color-ink-3);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.search-page-filters__select:hover,
|
||||
.search-page-filters__select:focus {
|
||||
border-color: var(--color-primary);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* ========== 关键词高亮 ========== */
|
||||
.item-heading mark,
|
||||
.item-excerpt mark {
|
||||
background: color-mix(in srgb, var(--color-primary) 18%, transparent);
|
||||
color: inherit;
|
||||
border-radius: 4px;
|
||||
padding: 0 0.15em;
|
||||
}
|
||||
|
||||
/* ========== 空状态 ========== */
|
||||
.search-page-empty {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
justify-items: center;
|
||||
padding-top: 32px;
|
||||
}
|
||||
|
||||
.search-page-empty__icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
margin: 0;
|
||||
border-radius: 999px;
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.search-page-empty__icon svg {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.search-page-empty__text {
|
||||
margin: 0;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.search-page-empty__tips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.search-page-empty__tips span,
|
||||
.search-page-empty__chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 34px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.search-page-empty__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.search-page-empty__chip:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.search-page-header {
|
||||
padding: 20px 16px;
|
||||
}
|
||||
|
||||
.search-page-form {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.search-hero-form input[type="search"] {
|
||||
height: 54px;
|
||||
padding-right: 100px;
|
||||
}
|
||||
|
||||
.search-hero-form .clear-search {
|
||||
right: 76px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.search-page-form__submit {
|
||||
min-width: 64px;
|
||||
height: 36px;
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
.search-page-toolbar {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.search-page-filters {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.search-page-filters__group {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.search-page-filters__label {
|
||||
min-width: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,237 @@
|
||||
/**
|
||||
* AKSRT Special Page — 专题聚合页样式
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
.special-page {
|
||||
max-width: var(--container);
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--space-4);
|
||||
}
|
||||
|
||||
/* Cover section */
|
||||
.special-cover {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 320px;
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
margin-bottom: var(--space-8);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.special-cover__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.special-cover__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
padding: var(--space-8);
|
||||
}
|
||||
|
||||
.special-cover__title {
|
||||
font-size: var(--text-3xl);
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
margin: 0 0 var(--space-2);
|
||||
}
|
||||
|
||||
.special-cover__summary {
|
||||
font-size: var(--text-base);
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
margin: 0;
|
||||
max-width: 600px;
|
||||
line-height: var(--leading-normal);
|
||||
}
|
||||
|
||||
/* Content layout */
|
||||
.special-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 311px;
|
||||
gap: var(--space-8);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.special-content--no-sidebar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
/* Subpage cards */
|
||||
.special-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.special-card {
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
|
||||
}
|
||||
|
||||
.special-card:hover {
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.special-card__thumbnail {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
object-fit: cover;
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.special-card__body {
|
||||
padding: var(--card-padding);
|
||||
}
|
||||
|
||||
.special-card__title {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 var(--space-2);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.special-card__excerpt {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-ink-3);
|
||||
margin: 0;
|
||||
line-height: var(--leading-normal);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.special-card__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* List layout */
|
||||
.special-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.special-list-item {
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
padding: var(--card-padding);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
transition: box-shadow var(--dur) var(--ease);
|
||||
}
|
||||
|
||||
.special-list-item:hover {
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.special-list-item__thumbnail {
|
||||
width: 200px;
|
||||
height: 130px;
|
||||
object-fit: cover;
|
||||
border-radius: var(--radius);
|
||||
flex-shrink: 0;
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.special-list-item__body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.special-list-item__title {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 var(--space-2);
|
||||
}
|
||||
|
||||
.special-list-item__excerpt {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-ink-3);
|
||||
margin: 0;
|
||||
line-height: var(--leading-normal);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Sidebar */
|
||||
.special-sidebar {
|
||||
position: sticky;
|
||||
top: calc(var(--nav-height) + var(--space-4));
|
||||
}
|
||||
|
||||
.special-sidebar__section {
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: var(--card-padding);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.special-sidebar__title {
|
||||
font-size: var(--text-base);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 var(--space-3);
|
||||
padding-bottom: var(--space-3);
|
||||
border-bottom: 1px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 991px) {
|
||||
.special-content {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.special-sidebar {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.special-cover {
|
||||
height: 220px;
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.special-cover__title {
|
||||
font-size: var(--text-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.special-cards {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.special-list-item {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.special-list-item__thumbnail {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
@import url("user-center/part-1.css");
|
||||
@import url("user-center/part-2.css");
|
||||
@import url("user-center/part-3.css");
|
||||
@import url("user-center/part-4.css");
|
||||
@import url("user-center/part-5.css");
|
||||
@@ -0,0 +1,300 @@
|
||||
/**
|
||||
* AKSRT User Center — 本人中心专属样式
|
||||
*
|
||||
* Zibll 风格两栏布局:左侧边栏 + 右侧内容区
|
||||
* 仅在本人中心页面加载(body.aksrt-user-center)
|
||||
*/
|
||||
|
||||
/* ==================== 用户中心容器 ==================== */
|
||||
.aksrt-user-center .content-shell {
|
||||
max-width: var(--container, 1440px);
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.user-center {
|
||||
width: 100%;
|
||||
padding: 0 0 40px;
|
||||
}
|
||||
|
||||
/* ==================== 两栏布局 — 对齐 zibll: 311px 侧栏 ==================== */
|
||||
.uc-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 311px 1fr;
|
||||
gap: 20px;
|
||||
align-items: start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ==================== 左侧边栏 ==================== */
|
||||
.uc-sidebar {
|
||||
position: sticky;
|
||||
top: 80px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.uc-sidebar__section {
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg, 10px);
|
||||
padding: 16px;
|
||||
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
|
||||
border: 1px solid var(--color-line-soft, transparent);
|
||||
}
|
||||
|
||||
.uc-sidebar__title {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink-4);
|
||||
margin-bottom: 12px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
/* 数据统计 */
|
||||
.uc-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.uc-stats__item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 12px 6px;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-2);
|
||||
text-decoration: none;
|
||||
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.uc-stats__item:hover {
|
||||
background: var(--color-primary-soft);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.06);
|
||||
}
|
||||
|
||||
.uc-stats__value {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-primary);
|
||||
line-height: 1.2;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.uc-stats__label {
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
/* 侧栏按钮组 */
|
||||
.uc-sidebar__buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.uc-sidebar__btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--color-ink-2);
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
|
||||
text-align: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.uc-sidebar__btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 3px;
|
||||
height: 0;
|
||||
background: var(--color-primary);
|
||||
border-radius: 0 3px 3px 0;
|
||||
transition: height 0.2s ease;
|
||||
}
|
||||
|
||||
.uc-sidebar__btn:hover {
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.uc-sidebar__btn.is-active {
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.uc-sidebar__btn.is-active::before {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.uc-sidebar__btn i {
|
||||
width: 18px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.uc-sidebar__btn.is-active i {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.uc-sidebar__badge {
|
||||
margin-left: auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
border-radius: 100px;
|
||||
background: var(--color-error);
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
animation: badge-pulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes badge-pulse {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.1); }
|
||||
}
|
||||
|
||||
/* 移动端抽屉触发器 */
|
||||
.uc-sidebar__drawer-trigger {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: calc(80px + env(safe-area-inset-bottom, 0px));
|
||||
right: calc(20px + env(safe-area-inset-right, 0px));
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
border: none;
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.25);
|
||||
z-index: 100;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.uc-sidebar__drawer-trigger:hover {
|
||||
transform: scale(1.02);
|
||||
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.uc-sidebar__drawer-trigger:active {
|
||||
transform: scale(0.92);
|
||||
}
|
||||
|
||||
/* 抽屉遮罩 */
|
||||
.uc-drawer-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0,0,0,0.45);
|
||||
backdrop-filter: blur(2px);
|
||||
-webkit-backdrop-filter: blur(2px);
|
||||
z-index: 200;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.uc-drawer-overlay.is-visible {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ==================== 右侧内容区 ==================== */
|
||||
.uc-content {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uc-content .dashboard-panel {
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg, 10px);
|
||||
padding: 24px;
|
||||
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
|
||||
border: 1px solid var(--color-line-soft, transparent);
|
||||
animation: panel-fade-in 0.25s ease;
|
||||
}
|
||||
|
||||
@keyframes panel-fade-in {
|
||||
from { opacity: 0; transform: translateY(6px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.uc-content .dashboard-panel.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 面板内 widget-card 增强 */
|
||||
.uc-content .widget-card {
|
||||
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
margin-bottom: 16px;
|
||||
background: var(--surface-1);
|
||||
transition: box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.uc-content .widget-card:hover {
|
||||
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
.uc-content .dashboard-panel:not(#panel-settings) > .widget-card,
|
||||
.uc-content #panel-profile .profile-form > .widget-card {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.uc-content .dashboard-panel:not(#panel-settings) > .widget-card:hover,
|
||||
.uc-content #panel-profile .profile-form > .widget-card:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.uc-content #panel-profile .profile-form > .widget-card + .widget-card {
|
||||
margin-top: 18px;
|
||||
padding-top: 18px;
|
||||
border-top: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
.uc-content #panel-credits .uc-balance-card {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.uc-content #panel-credits .uc-transactions {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.uc-content #panel-credits .uc-transactions__header,
|
||||
@@ -0,0 +1,300 @@
|
||||
.uc-content #panel-credits .uc-transactions__item {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.uc-content .widget-title {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 14px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
.uc-content .widget-title::before {
|
||||
content: '';
|
||||
position: static;
|
||||
display: inline-block;
|
||||
width: 3px;
|
||||
height: 14px;
|
||||
background: var(--color-primary);
|
||||
border-radius: 2px;
|
||||
margin-right: 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* ==================== 账户余额面板 ==================== */
|
||||
|
||||
/* 余额卡片 */
|
||||
.uc-balance-card {
|
||||
position: relative;
|
||||
border-radius: var(--radius);
|
||||
overflow: hidden;
|
||||
margin-bottom: 20px;
|
||||
box-shadow: 0 4px 20px rgba(var(--color-primary-rgb, 59, 130, 246), 0.2);
|
||||
}
|
||||
|
||||
.uc-balance-card__bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, var(--color-primary) 0%, #4facfe 50%, #00f2fe 100%);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.uc-balance-card__bg::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
right: -30%;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255,255,255,0.08);
|
||||
}
|
||||
|
||||
.uc-balance-card__bg::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -60%;
|
||||
left: -20%;
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255,255,255,0.05);
|
||||
}
|
||||
|
||||
.uc-balance-card__content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 24px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.uc-balance-card__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.uc-balance-card__label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.uc-balance-card__currency {
|
||||
font-size: 12px;
|
||||
padding: 3px 10px;
|
||||
background: rgba(255,255,255,0.15);
|
||||
border-radius: 100px;
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.uc-balance-card__amount {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.uc-balance-card__value {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
letter-spacing: -0.02em;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.uc-balance-card__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid rgba(255,255,255,0.15);
|
||||
}
|
||||
|
||||
.uc-balance-card__sign-status {
|
||||
font-size: 13px;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.uc-balance-card__sign-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 20px;
|
||||
border: none;
|
||||
border-radius: 100px;
|
||||
background: rgba(255,255,255,0.2);
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.uc-balance-card__sign-btn:hover {
|
||||
background: rgba(255,255,255,0.3);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.uc-balance-card__sign-btn:disabled {
|
||||
background: rgba(255,255,255,0.1);
|
||||
color: rgba(255,255,255,0.5);
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.uc-balance-card__sign-btn i {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.uc-balance-card__tip {
|
||||
font-size: 12px;
|
||||
opacity: 0.7;
|
||||
margin: 8px 0 0;
|
||||
}
|
||||
|
||||
/* 积分流水 */
|
||||
.uc-transactions {
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg, 10px);
|
||||
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uc-transactions__header {
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
.uc-transactions__title {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.uc-transactions__title i {
|
||||
font-size: 13px;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.uc-transactions__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.uc-transactions__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 14px 20px;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.04));
|
||||
transition: background-color 0.15s;
|
||||
}
|
||||
|
||||
.uc-transactions__item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.uc-transactions__item:hover {
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.uc-transactions__icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.uc-transactions__icon.is-positive {
|
||||
background: rgba(34, 197, 94, 0.1);
|
||||
color: #22c55e;
|
||||
}
|
||||
|
||||
.uc-transactions__icon.is-negative {
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.uc-transactions__info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.uc-transactions__reason {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.uc-transactions__remark {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.uc-transactions__time {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.uc-transactions__amount {
|
||||
text-align: right;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.uc-transactions__delta {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.uc-transactions__delta.is-positive {
|
||||
color: #22c55e;
|
||||
}
|
||||
|
||||
.uc-transactions__delta.is-negative {
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.uc-transactions__balance {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* 空状态 */
|
||||
.uc-transactions__empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.uc-transactions__empty-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 12px;
|
||||
font-size: 20px;
|
||||
@@ -0,0 +1,300 @@
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
.uc-transactions__empty p {
|
||||
font-size: 14px;
|
||||
color: var(--color-ink-4);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* 设置区增强 */
|
||||
.uc-content .settings-section {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.uc-content .settings-section__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.uc-content .settings-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.uc-content .settings-section__title {
|
||||
margin: 0;
|
||||
border: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uc-content .settings-section__title::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 安全操作项增强 */
|
||||
.uc-content .security-action-item {
|
||||
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
border-radius: 10px;
|
||||
padding: 16px;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.uc-content .security-action-item:hover {
|
||||
border-color: var(--color-primary-soft);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
/* 邀请区增强 */
|
||||
.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;
|
||||
@@ -0,0 +1,300 @@
|
||||
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;
|
||||
}
|
||||
|
||||
/* ==================== 移动端 Tab 栏 ==================== */
|
||||
.uc-mobile-tabs {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.uc-mobile-tabs {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
gap: 4px;
|
||||
padding-bottom: 12px;
|
||||
margin-bottom: 16px;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.uc-mobile-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.uc-mobile-tabs button {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
padding: 8px 14px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--color-ink-3);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.uc-mobile-tabs button:hover {
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.uc-mobile-tabs button.is-active {
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 响应式 ==================== */
|
||||
@media (max-width: 767px) {
|
||||
.uc-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.uc-sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: -280px;
|
||||
bottom: 0;
|
||||
width: 270px;
|
||||
z-index: 300;
|
||||
background: var(--surface-1);
|
||||
padding: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
|
||||
box-shadow: 4px 0 24px rgba(0,0,0,0.12);
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.uc-sidebar.is-open {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/* 抽屉头部 */
|
||||
.uc-sidebar::before {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 100px;
|
||||
background: linear-gradient(135deg, var(--color-primary), #667eea);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.uc-sidebar__section {
|
||||
border-radius: 0;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.uc-sidebar__section:first-of-type {
|
||||
margin-top: -20px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-radius: 12px 12px 0 0;
|
||||
}
|
||||
|
||||
.uc-sidebar__drawer-trigger {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.uc-content .dashboard-panel {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.uc-content .credits-card {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 焦点状态(无障碍)==================== */
|
||||
.uc-sidebar__btn:focus-visible,
|
||||
.uc-sidebar__drawer-trigger:focus-visible,
|
||||
.uc-content .btn-primary:focus-visible,
|
||||
.uc-content .btn-ghost:focus-visible {
|
||||
outline: 2px solid var(--color-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* ==================== 加载状态 ==================== */
|
||||
.uc-content .btn-primary.is-loading,
|
||||
.uc-content .btn-ghost.is-loading {
|
||||
position: relative;
|
||||
color: transparent;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.uc-content .btn-primary.is-loading::after,
|
||||
.uc-content .btn-ghost.is-loading::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 2px solid rgba(255,255,255,0.3);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: btn-spin 0.6s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes btn-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* ==================== 空状态增强 ==================== */
|
||||
.uc-content .profile-empty {
|
||||
padding: 48px 20px;
|
||||
}
|
||||
|
||||
.uc-content .profile-empty__icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.uc-content .profile-empty__icon svg {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
/* ==================== 移动端底部安全区 ==================== */
|
||||
.uc-sidebar__drawer-trigger {
|
||||
bottom: calc(72px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.user-center {
|
||||
padding: 0 12px 32px;
|
||||
}
|
||||
|
||||
.uc-stats {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
|
||||
.uc-stats__item {
|
||||
padding: 8px 4px;
|
||||
}
|
||||
|
||||
.uc-stats__value {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.uc-content .dashboard-panel {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.uc-content .widget-card {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.uc-balance-card__content {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.uc-balance-card__value {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.uc-balance-card__actions {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.uc-balance-card__sign-btn {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.uc-transactions__item {
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.uc-transactions__icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.uc-content .credits-card {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.uc-content .credits-card__value {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.uc-content .aksrt-invite-hero {
|
||||
flex-direction: column;
|
||||
padding: 0 0 14px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-code-card {
|
||||
width: 100%;
|
||||
padding: 12px 0 0;
|
||||
border-left: 0;
|
||||
border-top: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-link-row {
|
||||
flex-direction: column;
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-link-row input {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-copy {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stats {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
padding: 12px 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 0 8px;
|
||||
@@ -0,0 +1,51 @@
|
||||
border-right: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat strong {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat span,
|
||||
.uc-content .aksrt-invite-stat strong {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat small {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-records {
|
||||
padding: 14px 0 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record__status {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.uc-content .aksrt-invite-record {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record__main {
|
||||
flex: 1 1 calc(100% - 54px);
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record__status {
|
||||
flex: 1 1 100%;
|
||||
align-items: flex-start;
|
||||
padding-left: 54px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,646 @@
|
||||
/**
|
||||
* AKSRT User Home / Author Page — 公开用户主页 & 作者归档页样式
|
||||
*
|
||||
* Zibll 风格作者页布局
|
||||
* 在 /user/{nicename}/ 和 /author/{nicename}/ 加载
|
||||
*/
|
||||
|
||||
/* ============================================================
|
||||
* Author Hero — 统一的作者头区(与 zibll author-header 对齐)
|
||||
* ============================================================ */
|
||||
.aksrt-author-hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line-soft);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__cover {
|
||||
position: relative;
|
||||
padding-bottom: calc(20% + 80px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__cover-img {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__cover-mask {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 80px;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__body {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 20px;
|
||||
padding: 18px 28px 24px;
|
||||
margin-top: -60px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__avatar {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__avatar img {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: var(--radius);
|
||||
border: 4px solid var(--surface-1);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
||||
object-fit: cover;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__avatar img:hover {
|
||||
transform: scale(1.03);
|
||||
}
|
||||
|
||||
.aksrt-author-hero__info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding-top: 65px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__name {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__desc {
|
||||
margin: 0 0 10px;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
line-height: 1.5;
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__stats {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__stat {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 34px;
|
||||
padding: 0 14px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink-3);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__stat strong {
|
||||
color: var(--color-ink);
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__contacts {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__contacts .profile-social-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__actions {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
padding-top: 68px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__follow-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__follow-btn[aria-disabled="true"] {
|
||||
opacity: 0.72;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__notice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0 0 18px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__notice--muted,
|
||||
.aksrt-author-hero__notice--restricted {
|
||||
color: #92400e;
|
||||
background: rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.aksrt-author-hero__notice--banned {
|
||||
color: #b91c1c;
|
||||
background: rgba(239, 68, 68, 0.12);
|
||||
}
|
||||
|
||||
/* No-cover variant */
|
||||
.aksrt-author-hero--no-cover {
|
||||
border: 1px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
.aksrt-author-hero--no-cover .aksrt-author-hero__body {
|
||||
margin-top: 0;
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero--no-cover .aksrt-author-hero__info {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-hero--no-cover .aksrt-author-hero__actions {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Author hero responsive */
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-author-hero__body {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 12px 16px 20px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__info {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__desc {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__stats {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__contacts {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__contacts .profile-social-links {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__actions {
|
||||
padding-top: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.aksrt-author-hero__cover {
|
||||
padding-bottom: calc(20% + 60px);
|
||||
}
|
||||
|
||||
.aksrt-author-hero__body {
|
||||
margin-top: -40px;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__avatar img {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.aksrt-author-hero__name {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Author Archive Page — /author/{nicename}/
|
||||
* ============================================================ */
|
||||
.aksrt-author-page__layout {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.aksrt-author-page__content {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__content-header {
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 2px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
.aksrt-author-page__section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-author-page__section-title i {
|
||||
color: var(--color-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item {
|
||||
padding: 16px 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--color-line-soft);
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item:hover {
|
||||
background: transparent;
|
||||
border-color: var(--color-line-soft);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 24px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination .page-numbers {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 36px;
|
||||
height: 36px;
|
||||
padding: 0 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius);
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination a.page-numbers:hover {
|
||||
color: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination .page-numbers.current {
|
||||
color: var(--color-on-primary);
|
||||
background: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 48px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty-icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
margin-bottom: 14px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty-title {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty-desc {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.aksrt-author-page__aside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__aside-default {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
/* 联系方式增强 */
|
||||
.aksrt-user-home .profile-public-contacts .social-icon-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 100px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-2);
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-user-home .profile-public-contacts .social-icon-link:hover {
|
||||
color: var(--color-primary);
|
||||
background: var(--color-primary-soft);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.aksrt-user-home .aksrt-user-home__layout {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.aksrt-user-home .aksrt-user-home__aside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uc-header--no-cover {
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg, 12px);
|
||||
border: 1px solid var(--color-line-soft, rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
|
||||
.aksrt-user-home .uc-header--no-cover .uc-header__content {
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-stats {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-stats__item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 34px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
background: var(--surface-2);
|
||||
color: var(--color-ink-3);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-stats__item strong {
|
||||
color: var(--color-ink);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uc-header__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .aksrt-user-home__follow-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .aksrt-user-home__follow-btn[aria-disabled="true"] {
|
||||
opacity: 0.72;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.aksrt-user-home .aksrt-user-home__contacts .profile-social-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-balance-card {
|
||||
padding: 28px;
|
||||
border-radius: var(--radius-lg, 12px);
|
||||
background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.04));
|
||||
border: 1px solid var(--color-line-soft, rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-balance-card__label {
|
||||
margin: 0 0 10px;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-balance-card__value {
|
||||
font-size: clamp(28px, 4vw, 40px);
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-user-home .user-home-balance-card__hint {
|
||||
margin: 14px 0 18px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
/* 内容区卡片 — 覆盖全局 .dashboard max-width,与头部卡片等宽 */
|
||||
.aksrt-user-home .dashboard--public {
|
||||
max-width: none;
|
||||
background: var(--surface-1);
|
||||
border-radius: var(--radius-lg, 10px);
|
||||
padding: 24px;
|
||||
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
|
||||
border: 1px solid var(--color-line-soft, transparent);
|
||||
}
|
||||
|
||||
/* Tab 栏增强 */
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 2px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button {
|
||||
padding: 8px 16px;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-3);
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button:hover {
|
||||
color: var(--color-ink);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button.is-active {
|
||||
color: var(--color-primary);
|
||||
background: var(--color-primary-soft);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button.is-active::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -14px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
background: var(--color-primary);
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs__count {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
margin-left: 5px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
color: var(--color-ink-4);
|
||||
background: var(--surface-3);
|
||||
border-radius: 100px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button.is-active .dashboard-tabs__count {
|
||||
color: var(--color-primary);
|
||||
background: var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* 面板内容 */
|
||||
.aksrt-user-home .dashboard--public .dashboard-panel {
|
||||
animation: panel-fade-in 0.25s ease;
|
||||
}
|
||||
|
||||
@keyframes panel-fade-in {
|
||||
from { opacity: 0; transform: translateY(6px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
/* ==================== 焦点状态(无障碍)==================== */
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button:focus-visible {
|
||||
outline: 2px solid var(--color-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* ==================== 空状态增强 ==================== */
|
||||
.aksrt-user-home .profile-empty {
|
||||
padding: 48px 20px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .profile-empty__icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
/* ==================== 响应式 ==================== */
|
||||
@media (max-width: 640px) {
|
||||
.aksrt-user-home .user-home-stats {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs {
|
||||
overflow-x: auto;
|
||||
flex-wrap: nowrap;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public .dashboard-tabs button {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.aksrt-user-home .uc-header__actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.aksrt-user-home .dashboard--public {
|
||||
padding: 14px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user