fix(modal): блокировка прокрутки фона, фокус и адаптивный шаг весов
Модальные окна фиксируют прокрутку страницы, числовые поля получают фокус и адаптивный шаг веса, кардио и строки подходов получают сортировку и время подхода.
This commit is contained in:
@@ -27,13 +27,14 @@
|
||||
/* === Sets === */
|
||||
.sets-table { margin-bottom: 12px; }
|
||||
.set-row {
|
||||
display: grid; grid-template-columns: 30px 1fr 1fr auto auto; gap: 6px;
|
||||
display: grid; grid-template-columns: 30px 1fr 1fr auto auto auto; gap: 6px;
|
||||
align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem;
|
||||
}
|
||||
.set-row:last-child { border-bottom: none; }
|
||||
.set-number { color: var(--text-secondary); font-size: 0.8rem; text-align: center; }
|
||||
.set-cell { text-align: center; font-weight: 600; }
|
||||
.set-cell.dropset { color: var(--warning); font-size: 0.85rem; }
|
||||
.set-time { color: var(--text-secondary); font-size: 0.72rem; white-space: nowrap; }
|
||||
.set-rating { color: var(--warning); font-size: 0.85rem; }
|
||||
.set-actions { display: flex; gap: 4px; }
|
||||
|
||||
@@ -55,6 +56,51 @@
|
||||
.history-hint-date { color: var(--text-secondary); font-size: 0.75rem; }
|
||||
.history-hint-sets { color: var(--text); font-weight: 500; }
|
||||
|
||||
/* === История подходов: номер подхода, вес, вариант === */
|
||||
.history-hint-sets { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 12px; }
|
||||
.history-hint-set { white-space: nowrap; }
|
||||
.history-hint-name {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
color: var(--primary);
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
/* === Сет (суперсет): подходы участников по раундам === */
|
||||
.circuit-card {
|
||||
background-color: var(--surface); border-radius: var(--radius); margin-bottom: 10px;
|
||||
border: 1px solid var(--primary); overflow: hidden;
|
||||
}
|
||||
.circuit-header {
|
||||
padding: 12px 14px; display: flex; justify-content: space-between; align-items: center;
|
||||
flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border);
|
||||
background: rgba(187, 134, 252, 0.07);
|
||||
}
|
||||
.circuit-name { font-weight: 700; color: var(--primary); }
|
||||
.circuit-members { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; }
|
||||
.circuit-controls { display: flex; gap: 6px; }
|
||||
.circuit-rounds { padding: 8px 12px; }
|
||||
.circuit-round {
|
||||
display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
|
||||
padding: 6px 0; border-bottom: 1px dotted var(--border);
|
||||
}
|
||||
.circuit-round:last-child { border-bottom: none; }
|
||||
.round-num {
|
||||
min-width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #000;
|
||||
font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.circuit-chip {
|
||||
background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
|
||||
padding: 4px 8px; font-size: 0.82rem; cursor: pointer;
|
||||
}
|
||||
.circuit-chip b { color: var(--primary); font-weight: 600; }
|
||||
.circuit-chip .circuit-val { margin: 0 4px; }
|
||||
.circuit-chip .circuit-stars { color: var(--warning); font-size: 0.75rem; }
|
||||
.circuit-chip.empty { opacity: 0.45; cursor: default; }
|
||||
.circuit-add { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); }
|
||||
.circuit-unlink-foot { margin-left: auto; color: var(--danger); border-color: var(--danger); }
|
||||
.dropset-row { grid-template-columns: 30px 1fr auto auto auto; }
|
||||
|
||||
/* === Finish block === */
|
||||
.finish-block { margin-top: 30px; padding: 16px; background: linear-gradient(to bottom, transparent, rgba(207, 102, 121, 0.1)); border-top: 2px solid var(--danger); }
|
||||
.finish-block h3 { color: var(--danger); margin-bottom: 10px; }
|
||||
|
||||
Reference in New Issue
Block a user