все остальные апдейты на Кубок России

This commit is contained in:
2026-07-02 17:00:15 +03:00
parent 03a68ee8ca
commit e7b215af5e
11 changed files with 1644 additions and 180 deletions

View File

@@ -856,7 +856,8 @@ table {
}
.tour-meta-col {
width: 1%;
width: 300px;
min-width: 300px;
white-space: nowrap;
}
@@ -2515,3 +2516,332 @@ body:not(.edit-mode-on) .referee-search {
min-width: 16px;
text-align: center;
}
/* Пенальти Кубка России */
.penalty-panel {
display: flex;
flex-direction: column;
gap: 18px;
}
.penalty-header,
.penalty-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.penalty-header-actions {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 10px;
}
.penalty-subtitle,
.penalty-help,
.penalty-next-label {
color: rgba(255, 255, 255, 0.62);
font-size: 13px;
margin-top: 5px;
}
.penalty-scoreboard {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.penalty-team-card {
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 18px;
padding: 18px;
background: rgba(255, 255, 255, 0.045);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.penalty-team-card.home {
border-color: rgba(79, 140, 255, 0.28);
}
.penalty-team-card.away {
border-color: rgba(255, 120, 120, 0.25);
}
.penalty-team-name {
color: #fff;
font-size: 16px;
font-weight: 800;
min-height: 22px;
}
.penalty-team-score {
margin-top: 8px;
color: #fff;
font-size: 54px;
line-height: 1;
font-weight: 900;
letter-spacing: -0.04em;
}
.penalty-fast-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 14px;
}
.penalty-fast-btn,
.penalty-mini-btn {
border: 0;
cursor: pointer;
color: #fff;
font-weight: 800;
transition: transform 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease;
}
.penalty-fast-btn:hover,
.penalty-mini-btn:hover {
transform: translateY(-1px);
opacity: 0.95;
}
.penalty-fast-btn {
min-height: 54px;
border-radius: 14px;
font-size: 18px;
}
.penalty-fast-btn.scored,
.penalty-mini-btn.scored {
background: linear-gradient(135deg, #0e9f6e, #12b981);
box-shadow: 0 10px 28px rgba(18, 185, 129, 0.16);
}
.penalty-fast-btn.missed,
.penalty-mini-btn.missed {
background: linear-gradient(135deg, #b91c1c, #ef4444);
box-shadow: 0 10px 28px rgba(239, 68, 68, 0.16);
}
.penalty-table-wrap {
overflow-x: auto;
}
.penalty-table {
width: 100%;
border-collapse: separate;
border-spacing: 0 8px;
}
.penalty-table th {
color: rgba(255, 255, 255, 0.58);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.06em;
padding: 0 10px 6px;
}
.penalty-table td {
padding: 0 10px;
vertical-align: middle;
}
.penalty-round-number {
width: 70px;
color: rgba(255, 255, 255, 0.72);
text-align: center;
font-size: 18px;
font-weight: 900;
}
.penalty-cell {
display: grid;
grid-template-columns: 52px 1fr;
align-items: center;
gap: 10px;
min-height: 58px;
padding: 8px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.045);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.penalty-cell.scored {
border-color: rgba(18, 185, 129, 0.38);
background: rgba(18, 185, 129, 0.08);
}
.penalty-cell.missed {
border-color: rgba(239, 68, 68, 0.35);
background: rgba(239, 68, 68, 0.08);
}
.penalty-mark {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.22);
color: #fff;
font-size: 30px;
line-height: 1;
font-weight: 900;
}
.penalty-cell.scored .penalty-mark {
color: #34d399;
}
.penalty-cell.missed .penalty-mark {
color: #f87171;
}
.penalty-cell-actions {
display: grid;
grid-template-columns: 1fr 1fr minmax(74px, 0.8fr);
gap: 8px;
}
.penalty-mini-btn {
min-height: 38px;
border-radius: 10px;
font-size: 13px;
}
.penalty-mini-btn.active {
outline: 2px solid rgba(255, 255, 255, 0.75);
outline-offset: 2px;
}
.penalty-mini-btn.clear {
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.75);
}
.penalty-mini-btn.clear:disabled {
cursor: default;
opacity: 0.35;
transform: none;
}
@media (max-width: 900px) {
.penalty-scoreboard {
grid-template-columns: 1fr;
}
.penalty-header,
.penalty-footer,
.penalty-header-actions {
align-items: stretch;
flex-direction: column;
}
}
/* Расписание тура: компактная ручная правка счёта и статуса */
.tour-actions-col,
.tour-actions-cell {
width: 156px;
text-align: right;
white-space: nowrap;
}
.tour-meta-cell {
min-width: 300px;
}
.tour-score-edit {
min-width: 300px;
}
.tour-edit-line {
display: inline-flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
white-space: nowrap;
}
.tour-score-inputs {
display: inline-grid;
grid-template-columns: 52px auto 52px;
gap: 6px;
align-items: center;
width: max-content;
flex: 0 0 auto;
}
.tour-score-input {
width: 52px;
height: 32px;
padding: 4px 6px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
text-align: center;
font-weight: 800;
font-size: 13px;
}
.tour-score-input:disabled,
.tour-status-select:disabled {
opacity: 0.55;
}
.tour-score-separator {
font-weight: 900;
color: rgba(255, 255, 255, 0.78);
}
.tour-status-select {
height: 32px;
width: 128px;
max-width: 128px;
padding: 4px 28px 4px 10px;
flex: 0 0 128px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
font-size: 12px;
font-weight: 800;
}
.tour-status-select option {
color: #111827;
}
.tour-edit-btn {
min-width: 38px;
min-height: 32px;
padding: 6px 9px;
}
.tour-save-actions {
display: inline-flex;
justify-content: flex-end;
gap: 5px;
flex-wrap: nowrap;
}
.tour-save-btn,
.tour-cancel-btn {
min-height: 32px;
padding: 6px 9px;
font-size: 12px;
}
/* Расписание тура: редактирование включается общим карандашом в шапке */
.tour-edit-only {
display: none;
}
body.edit-mode-on .tour-edit-only {
display: table-cell;
}