feat(theme): resolve database migration blocker and apply ThemePreference column
This commit is contained in:
@@ -348,3 +348,114 @@
|
||||
.btn-nexus { width: 100%; justify-content: center; }
|
||||
.username { font-size: 2.2rem; }
|
||||
}
|
||||
|
||||
/* Theme Preference Card Styles */
|
||||
.theme-preference-card {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.theme-description {
|
||||
font-size: 0.9rem;
|
||||
color: #a0aec0;
|
||||
margin: 0 0 16px 0;
|
||||
}
|
||||
|
||||
.theme-options {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.theme-option-btn {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 14px 20px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 8px;
|
||||
color: #a0aec0;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.theme-option-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
color: #ffffff;
|
||||
border-color: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.theme-option-btn.active {
|
||||
background: rgba(16, 185, 129, 0.1);
|
||||
color: #10b981;
|
||||
border-color: #10b981;
|
||||
box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
|
||||
}
|
||||
|
||||
/* Light Theme overrides for Profile settings page */
|
||||
.theme-light .profile-page-container {
|
||||
background-color: var(--bg-base);
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.theme-light .username {
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.theme-light .glass-panel {
|
||||
background: var(--bg-surface);
|
||||
border-color: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.theme-light .glass-panel:hover {
|
||||
border-color: rgba(16, 185, 129, 0.3);
|
||||
background: var(--bg-surface);
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.theme-light .card-header h3 {
|
||||
color: #718096;
|
||||
}
|
||||
|
||||
.theme-light .usage-values .current {
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.theme-light .last-book {
|
||||
background: rgba(16, 185, 129, 0.05);
|
||||
border-color: rgba(16, 185, 129, 0.15);
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.theme-light .theme-description {
|
||||
color: #718096;
|
||||
}
|
||||
|
||||
.theme-light .theme-option-btn {
|
||||
background: rgba(0, 0, 0, 0.03);
|
||||
border-color: rgba(0, 0, 0, 0.08);
|
||||
color: #718096;
|
||||
}
|
||||
|
||||
.theme-light .theme-option-btn:hover {
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
color: var(--text-main);
|
||||
border-color: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.theme-light .theme-option-btn.active {
|
||||
background: rgba(16, 185, 129, 0.08);
|
||||
color: #10b981;
|
||||
border-color: #10b981;
|
||||
box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.theme-options {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user