feat: 新增隐私模式、全面的交易管理、预算与储蓄罐功能,并优化了整体用户界面和页面结构。
This commit is contained in:
@@ -171,6 +171,29 @@
|
||||
transform: translateY(0) scale(0.95);
|
||||
}
|
||||
|
||||
.notification-btn {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.notification-badge {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
right: -2px;
|
||||
background: #ef4444;
|
||||
color: white;
|
||||
font-size: 0.65rem;
|
||||
font-weight: 700;
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 99px;
|
||||
padding: 0 4px;
|
||||
box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
|
||||
border: 1.5px solid var(--bg-primary);
|
||||
}
|
||||
|
||||
/* Avatar Styles */
|
||||
.header-avatar-img {
|
||||
width: 38px;
|
||||
@@ -257,6 +280,11 @@
|
||||
/* Prevent body scroll, force main to scroll */
|
||||
}
|
||||
|
||||
/* Zen Mode Overrides */
|
||||
.app-layout.zen-mode .app-body {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
flex: 1;
|
||||
padding: var(--spacing-lg);
|
||||
@@ -296,4 +324,41 @@
|
||||
.app-header {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Zen Mode Specific Styles */
|
||||
.app-layout.zen-mode .app-main {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding-top: 4rem;
|
||||
/* Give some breathing room */
|
||||
}
|
||||
|
||||
.zen-exit-btn {
|
||||
position: fixed;
|
||||
top: 1rem;
|
||||
right: 1.5rem;
|
||||
z-index: 200;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 99px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: var(--glass-shadow);
|
||||
}
|
||||
|
||||
.zen-exit-btn:hover {
|
||||
background: var(--bg-elevated);
|
||||
transform: translateY(-1px);
|
||||
color: var(--text-primary);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
Reference in New Issue
Block a user