142 lines
2.8 KiB
CSS
142 lines
2.8 KiB
CSS
#root {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.card {
|
|
background-color: var(--secondary-bg);
|
|
padding: 2rem;
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--text-color);
|
|
border-bottom: 2px solid var(--accent-color);
|
|
}
|
|
|
|
/* Toast Styles */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 2rem;
|
|
right: 2rem;
|
|
z-index: 1000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 12px;
|
|
background-color: var(--secondary-bg);
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
|
min-width: 300px;
|
|
animation: slideInRight 0.3s ease forwards;
|
|
}
|
|
|
|
.toast-success { border-left: 4px solid #4caf50; }
|
|
.toast-error { border-left: 4px solid #f44336; }
|
|
.toast-info { border-left: 4px solid var(--accent-color); }
|
|
|
|
.toast-icon { font-size: 1.2rem; }
|
|
.toast-message { flex: 1; font-weight: 500; }
|
|
.toast-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 1.5rem;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
@keyframes slideInRight {
|
|
from { transform: translateX(100%); opacity: 0; }
|
|
to { transform: translateX(0); opacity: 1; }
|
|
}
|
|
|
|
/* Loading Bar */
|
|
.loading-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, var(--accent-color), #4da3ff);
|
|
z-index: 2000;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* Theme Switcher */
|
|
.theme-switcher {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
background: var(--secondary-alt-bg);
|
|
padding: 0.25rem;
|
|
border-radius: 20px;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.theme-btn:not(.game-btn) {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
transition: transform 0.2s;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.theme-btn:hover { transform: scale(1.1); }
|
|
.theme-btn.active { border-color: var(--text-color); }
|
|
|
|
.theme-default { background: #23283d; }
|
|
.theme-blackhole { background: #000000; }
|
|
.theme-star { background: #0a0a2a; }
|
|
.theme-ball { background: #1a1a1a; }
|
|
.theme-reflect { background: #333333; }
|
|
.theme-clouds { background: #23283d; }
|
|
|
|
.game-entry {
|
|
gap: 0.5rem;
|
|
background-color: var(--secondary-alt-bg);
|
|
margin-bottom: 10px;
|
|
border-radius: 5px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.game-entry:hover {
|
|
background-color: var(--primary-bg);
|
|
}
|