Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
214 lines
4.1 KiB
CSS
214 lines
4.1 KiB
CSS
/* Stili pagine dirette — usa layout marketing + marketing.css */
|
|
.live-main .wrap {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 24px 20px 48px;
|
|
}
|
|
|
|
.live-main video {
|
|
width: 100%;
|
|
max-height: 70vh;
|
|
background: #000;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.live-main .badge {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.live-main .badge-live { background: #e53935; color: #fff; }
|
|
.live-main .badge-on-air { background: #2e7d32; color: #fff; }
|
|
.live-main .badge-wait { background: #444; color: #ddd; }
|
|
.live-main .badge-connecting { background: #f57c00; color: #fff; }
|
|
.live-main .badge-ended { background: #374151; color: #ddd; }
|
|
|
|
.live-main .stream-ended {
|
|
text-align: center;
|
|
padding: 48px 24px;
|
|
margin: 16px 0;
|
|
background: linear-gradient(160deg, #14141c 0%, #0a0a0e 100%);
|
|
border: 1px dashed #2a2a36;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.live-main .stream-ended-icon {
|
|
font-size: 3.5rem;
|
|
line-height: 1;
|
|
margin-bottom: 16px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.live-main .stream-ended h2 {
|
|
margin: 0 0 8px;
|
|
font-size: 1.35rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.live-main .stream-ended p {
|
|
margin: 0 0 8px;
|
|
color: #aaa;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.live-main .stream-ended-meta { color: #888; font-size: 0.85rem; }
|
|
.live-main .stream-ended-hint { margin-top: 12px !important; }
|
|
.live-main .stream-ended-btn { margin-top: 20px; display: inline-block; }
|
|
|
|
.live-main .scoreboard { margin: 12px 0 16px; }
|
|
|
|
.live-main .sets-line {
|
|
font-size: 0.95rem;
|
|
color: #f5c542;
|
|
font-weight: 600;
|
|
margin: 0 0 4px;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.live-main .partials-line {
|
|
font-size: 0.88rem;
|
|
color: #9ecbff;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.live-main .partials-line[hidden] { display: none; }
|
|
|
|
.live-main .score { font-size: 1.5rem; font-weight: 700; margin: 0; }
|
|
|
|
.live-main h1 { font-size: 1.35rem; margin: 0 0 8px; }
|
|
|
|
.live-main h2.page-subtitle {
|
|
font-size: 1.1rem;
|
|
margin: 0 0 16px;
|
|
font-weight: 600;
|
|
color: #ccc;
|
|
}
|
|
|
|
.live-main .search-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 24px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.live-main .search-form input[type="search"] {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
padding: 12px 16px;
|
|
border: 1px solid #333;
|
|
border-radius: 10px;
|
|
background: #14141c;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.live-main .search-form input[type="search"]:focus {
|
|
outline: none;
|
|
border-color: #e53935;
|
|
}
|
|
|
|
.live-main .live-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.live-main .live-card {
|
|
background: #14141c;
|
|
border: 1px solid #2a2a36;
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
transition: border-color 0.15s, transform 0.15s;
|
|
}
|
|
|
|
.live-main .live-card:hover {
|
|
border-color: #e53935;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.live-main .live-card h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.live-main .live-card .meta {
|
|
color: #999;
|
|
font-size: 0.85rem;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.live-main .live-card .card-score { margin: 0 0 10px; font-size: 0.9rem; }
|
|
|
|
.live-main .live-card .card-sets {
|
|
display: block;
|
|
color: #f5c542;
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.live-main .live-card .card-partials {
|
|
display: block;
|
|
color: #9ecbff;
|
|
font-size: 0.75rem;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.live-main .live-card .card-points {
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.live-main .live-card .badges { margin-bottom: 14px; }
|
|
|
|
.live-main .live-card .btn-watch {
|
|
width: 100%;
|
|
background: #e53935;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
display: block;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.live-main .live-card .btn-watch:hover {
|
|
background: #c62828;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
}
|
|
|
|
.live-main .empty-state {
|
|
text-align: center;
|
|
padding: 48px 24px;
|
|
background: #14141c;
|
|
border-radius: 14px;
|
|
border: 1px dashed #2a2a36;
|
|
color: #aaa;
|
|
}
|
|
|
|
.live-main .back-link {
|
|
display: inline-block;
|
|
margin-bottom: 16px;
|
|
color: #aaa;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.live-main .results-hint {
|
|
color: #888;
|
|
font-size: 0.9rem;
|
|
margin: -12px 0 20px;
|
|
}
|
|
|
|
.live-main .replay-video {
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
background: #000;
|
|
}
|