Files
GameList/wwwroot/styles.css

225 lines
3.8 KiB
CSS

:root {
font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
background: radial-gradient(circle at 20% 20%, #0f172a, #050816);
color: #e5e7eb;
}
body {
margin: 0;
padding: 20px;
}
.status-bar {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
background: rgba(15, 23, 42, 0.8);
border: 1px solid #1f2937;
border-radius: 10px;
box-shadow: 0 10px 24px rgba(0,0,0,0.25);
max-width: 540px;
}
.status-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 10px #22c55e;
}
.counts {
color: #9ca3af;
font-size: 13px;
}
.grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
margin-top: 16px;
}
.card {
background: rgba(17, 24, 39, 0.9);
border: 1px solid #1f2937;
border-radius: 12px;
padding: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.card h2 {
margin-top: 0;
margin-bottom: 8px;
}
.split {
display: flex;
justify-content: space-between;
gap: 16px;
align-items: flex-start;
flex-wrap: wrap;
}
.split.wide > .subcard {
flex: 1 1 320px;
}
.name-box {
min-width: 220px;
max-width: 260px;
background: #0b1224;
border: 1px solid #1f2937;
padding: 10px;
border-radius: 10px;
}
.stack {
display: flex;
flex-direction: column;
gap: 8px;
}
.stack.horizontal {
flex-direction: row;
flex-wrap: wrap;
}
input, textarea, select, button {
font: inherit;
border-radius: 8px;
border: 1px solid #374151;
background: #0f172a;
color: #e5e7eb;
padding: 10px 12px;
min-width: 0;
}
textarea { min-height: 80px; resize: vertical; }
button {
cursor: pointer;
background: #2563eb;
border-color: #1d4ed8;
font-weight: 600;
}
button:hover { background: #1d4ed8; }
button.danger {
background: #dc2626;
border-color: #b91c1c;
}
button.ghost {
background: transparent;
border-color: #374151;
}
.label { color: #9ca3af; font-size: 12px; }
.hint { color: #9ca3af; font-size: 12px; margin: 8px 0 0; }
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 12px;
margin-top: 12px;
}
.game-card {
background: #0b1224;
border: 1px solid #1f2937;
border-radius: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
min-height: 220px;
}
.card-visual {
height: 140px;
background: linear-gradient(135deg, #1d4ed8, #22c55e);
background-size: cover;
background-position: center;
}
.card-body {
padding: 12px;
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
}
.card-title-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 8px;
}
.card-title-row h3 { margin: 0; font-size: 18px; }
.muted { color: #9ca3af; margin: 0; }
.link { color: #93c5fd; text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.chip {
background: #1f2937;
color: #e5e7eb;
padding: 4px 8px;
border-radius: 999px;
font-size: 12px;
}
.vote-controls { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.score { font-weight: 700; }
.results-grid .game-card { border-color: #2563eb44; }
.hidden { display: none !important; }
.toast {
position: fixed;
bottom: 16px;
right: 16px;
background: #2563eb;
color: white;
padding: 10px 14px;
border-radius: 8px;
box-shadow: 0 10px 24px rgba(0,0,0,0.35);
max-width: 320px;
}
.toast.error { background: #dc2626; }
.admin-toggle {
position: fixed;
bottom: 18px;
right: 18px;
width: 44px;
height: 44px;
border-radius: 50%;
border: 1px solid #1f2937;
background: #0f172a;
color: #9ca3af;
font-weight: 700;
box-shadow: 0 8px 20px rgba(0,0,0,0.35);
z-index: 30;
}
.admin-panel {
position: fixed;
bottom: 70px;
right: 18px;
width: 320px;
z-index: 40;
display: flex;
flex-direction: column;
gap: 10px;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
}