feat: 新增首页玻璃拟态风格样式。
This commit is contained in:
@@ -4,17 +4,20 @@
|
|||||||
|
|
||||||
.home-page {
|
.home-page {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
animation: fadeIn 0.5s ease-out;
|
animation: fadeIn 0.5s ease-out;
|
||||||
padding-bottom: 2rem;
|
padding: 0 1.5rem 2rem 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Header New Structure */
|
/* Header New Structure */
|
||||||
.home-header {
|
.home-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: center;
|
||||||
|
/* Changed from flex-start to center for better vertical alignment */
|
||||||
margin-bottom: var(--spacing-xl);
|
margin-bottom: var(--spacing-xl);
|
||||||
padding: var(--spacing-md) 0;
|
padding: var(--spacing-lg) 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-greeting {
|
.home-greeting {
|
||||||
@@ -55,7 +58,7 @@
|
|||||||
|
|
||||||
.greeting-text {
|
.greeting-text {
|
||||||
font-family: 'Outfit', sans-serif;
|
font-family: 'Outfit', sans-serif;
|
||||||
font-size: 2rem;
|
font-size: 1.75rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
@@ -87,7 +90,7 @@
|
|||||||
.header-actions {
|
.header-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--spacing-md);
|
gap: var(--spacing-lg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.health-score-btn {
|
.health-score-btn {
|
||||||
@@ -187,7 +190,7 @@
|
|||||||
.dashboard-grid {
|
.dashboard-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.5fr 1fr 1fr;
|
grid-template-columns: 1.5fr 1fr 1fr;
|
||||||
gap: var(--spacing-lg);
|
gap: var(--spacing-md);
|
||||||
margin-bottom: var(--spacing-xl);
|
margin-bottom: var(--spacing-xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -257,7 +260,7 @@
|
|||||||
|
|
||||||
.home-net-worth-card .card-value-main {
|
.home-net-worth-card .card-value-main {
|
||||||
font-family: 'Outfit', sans-serif;
|
font-family: 'Outfit', sans-serif;
|
||||||
font-size: 3.5rem;
|
font-size: 3rem;
|
||||||
/* Larger hero text */
|
/* Larger hero text */
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@@ -332,9 +335,9 @@
|
|||||||
/* Quick Actions Section */
|
/* Quick Actions Section */
|
||||||
.quick-actions-section {
|
.quick-actions-section {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
grid-template-columns: repeat(3, 1fr);
|
||||||
gap: var(--spacing-lg);
|
gap: var(--spacing-md);
|
||||||
margin-bottom: var(--spacing-2xl);
|
margin-bottom: var(--spacing-xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-card {
|
.action-card {
|
||||||
|
|||||||
Reference in New Issue
Block a user