refactor(profile): tighten spacing, simplify logout button
- Reduce points card padding (20px→16px vertical) - Reduce points section padding (24px→20px vertical) - Reduce section spacing (24px→16px) - Section title margin (12px→8px) - Logout button: remove card background/border, keep text-only with error hover
This commit is contained in:
@@ -477,7 +477,7 @@
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: var(--spacing-lg);
|
||||
padding: var(--spacing-xl) 28px;
|
||||
padding: 20px 28px;
|
||||
}
|
||||
|
||||
.profile-points-grid {
|
||||
@@ -491,7 +491,7 @@
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 20px 24px;
|
||||
padding: 16px 20px;
|
||||
}
|
||||
|
||||
.profile-points-label {
|
||||
@@ -540,7 +540,7 @@
|
||||
.profile-section-title {
|
||||
font-size: var(--font-md);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-md);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.profile-menu-list {
|
||||
@@ -589,20 +589,18 @@
|
||||
|
||||
.profile-logout-btn {
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
padding: 12px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border-light);
|
||||
background: var(--bg-card);
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-size: var(--font-sm);
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.profile-logout-btn:hover {
|
||||
color: var(--error);
|
||||
border-color: var(--error);
|
||||
background: rgb(var(--error-rgb) / 6%);
|
||||
}
|
||||
|
||||
/* 定价 Modal */
|
||||
@@ -764,7 +762,7 @@
|
||||
}
|
||||
|
||||
.profile-section-spaced {
|
||||
margin-top: var(--spacing-xl);
|
||||
margin-top: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.profile-pricing-loading {
|
||||
|
||||
Reference in New Issue
Block a user