229 lines
4.1 KiB
CSS
229 lines
4.1 KiB
CSS
:root {
|
|
--bg-primary: #1a1a1a;
|
|
--bg-secondary: #2d2d2d;
|
|
--accent-blue: #4a90e2;
|
|
--accent-gold: #ffd700;
|
|
--text-primary: #e0e0e0;
|
|
--text-secondary: #a0a0a0;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Courier New', monospace;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.overlay-container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.waiting-display {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: var(--bg-secondary);
|
|
border: 2px solid var(--accent-blue);
|
|
text-align: center;
|
|
width: 80%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.waiting-display h2 {
|
|
font-size: 14px;
|
|
background: var(--accent-blue);
|
|
color: var(--bg-primary);
|
|
}
|
|
|
|
.waiting-display p {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.current-game {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--accent-blue);
|
|
}
|
|
|
|
.game-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.game-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 1px solid var(--accent-blue);
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.game-info h2 {
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.console-name {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.game-progress {
|
|
border-top: 1px solid var(--accent-blue);
|
|
}
|
|
|
|
.progress-stats {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
color: var(--text-primary);
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.progress-bar-container {
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--accent-blue);
|
|
height: 8px;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
width: 0%;
|
|
height: 100%;
|
|
background: var(--accent-gold);
|
|
}
|
|
|
|
.achievements-container {
|
|
flex: 1;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--accent-blue);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.achievements-container h3 {
|
|
font-size: 12px;
|
|
text-align: center;
|
|
background: var(--accent-blue);
|
|
color: var(--bg-primary);
|
|
}
|
|
|
|
.achievements-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
list-style-type: none;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.achievements-list::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.achievements-list::-webkit-scrollbar-track {
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.achievements-list::-webkit-scrollbar-thumb {
|
|
background: var(--accent-blue);
|
|
}
|
|
|
|
.achievement-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--bg-primary);
|
|
border-bottom: 1px solid var(--bg-secondary);
|
|
}
|
|
|
|
.achievement-badge {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 1px solid var(--accent-gold);
|
|
background: var(--bg-secondary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.achievement-details {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.achievement-title {
|
|
font-weight: bold;
|
|
font-size: 11px;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.achievement-description {
|
|
font-size: 10px;
|
|
color: var(--text-secondary);
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.achievement-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 9px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.achievement-points {
|
|
background: var(--accent-gold);
|
|
color: var(--bg-primary);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.error-display {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: #4d1f1f;
|
|
border: 2px solid #cc0000;
|
|
text-align: center;
|
|
}
|
|
|
|
.error-content h3 {
|
|
font-size: 12px;
|
|
color: #ff6666;
|
|
}
|
|
|
|
.error-content p {
|
|
font-size: 11px;
|
|
color: #ff9999;
|
|
}
|
|
|
|
.error-content button {
|
|
background: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
border: 1px solid var(--accent-blue);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
} |