refactor: centralize UI design tokens and implement reusable glass-panel and button styles
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
.settings-page {
|
||||
padding: 3rem 2rem;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
animation: fadeIn 0.6s ease-out;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: var(--nexus-font-serif);
|
||||
font-size: 2.8rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 0.5rem 0;
|
||||
background: linear-gradient(135deg, var(--nexus-text) 0%, rgba(255, 255, 255, 0.7) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.settings-page > p {
|
||||
font-size: 1rem;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
padding: 2rem;
|
||||
margin-top: 1.5rem;
|
||||
border-radius: var(--radius-lg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.settings-section h2 {
|
||||
font-family: var(--nexus-font-sans);
|
||||
font-size: 1.35rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
margin: 0 0 0.75rem 0;
|
||||
}
|
||||
|
||||
.settings-section p {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-size: 0.95rem;
|
||||
margin: 0 0 1.5rem 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.diag-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
background: rgba(0, 255, 153, 0.05);
|
||||
color: var(--nexus-neon);
|
||||
border: 1px solid rgba(0, 255, 153, 0.2);
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: var(--radius-md);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
box-shadow: 0 0 0 transparent;
|
||||
}
|
||||
|
||||
.diag-btn:hover {
|
||||
background: var(--nexus-neon);
|
||||
color: #000000;
|
||||
border-color: var(--nexus-neon);
|
||||
box-shadow: 0 0 15px var(--nexus-primary-glow);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(15px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
Reference in New Issue
Block a user