From 64cd3891ead2be0697e621957d9c82ebdb1c9325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A7=D0=B5=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE?= Date: Mon, 25 May 2026 14:13:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=82=D0=B5=D0=BA=D1=83=D1=89=D0=B5=D0=B3=D0=BE?= =?UTF-8?q?=20=D0=B2=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=B8,=20=D1=82=D0=B5?= =?UTF-8?q?=D1=81=D1=82=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/styles.css | 118 ++++++++++++++++----------------- templates/match_workspace.html | 30 --------- 2 files changed, 59 insertions(+), 89 deletions(-) diff --git a/static/styles.css b/static/styles.css index aa706ee..ade0abb 100644 --- a/static/styles.css +++ b/static/styles.css @@ -2353,91 +2353,91 @@ body:not(.edit-mode-on) .referee-search { outline-offset: 2px; } +/* ===== Редактирование текущего времени ===== */ + .timer-box-clickable { cursor: pointer; - transition: 0.2s; + transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } .timer-box-clickable:hover { - opacity: 0.85; + transform: translateY(-1px); + border-color: rgba(79, 140, 255, 0.55); + box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12); } -.clock-editor-modal { - position: fixed; - inset: 0; - background: rgba(0, 0, 0, 0.65); - display: flex; - align-items: center; - justify-content: center; - z-index: 99999; - backdrop-filter: blur(3px); +#clockEditorModal { + z-index: 5000; } -.clock-editor-content { - width: 340px; - background: #1b1b1b; - border: 1px solid #333; - border-radius: 14px; +#clockEditorModal .formation-modal-backdrop { + background: rgba(0, 0, 0, 0.72); + backdrop-filter: blur(4px); +} + +.clock-editor-modal-content { + width: min(460px, 94vw); + margin: 12vh auto 0; padding: 22px; - box-shadow: 0 10px 40px rgba(0,0,0,.5); - color: #fff; - font-family: Arial, sans-serif; + background: + linear-gradient(180deg, rgba(31, 36, 46, 0.98), rgba(18, 21, 27, 0.98)); + border: 1px solid rgba(255, 255, 255, 0.10); + border-radius: 18px; + box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); + color: var(--text); } -.clock-editor-title { - font-size: 20px; +.clock-editor-modal-content .formation-modal-title { + color: var(--text); +} + +.clock-editor-modal-content .formation-modal-subtitle { + color: var(--muted); +} + +.clock-editor-body { + display: flex; + flex-direction: column; + gap: 10px; +} + +.clock-editor-label { + font-size: 13px; font-weight: 700; - margin-bottom: 16px; + color: var(--muted); + text-transform: uppercase; + letter-spacing: 0.4px; } .clock-editor-input { width: 100%; - height: 56px; - background: #101010; - border: 1px solid #444; - border-radius: 10px; - color: #fff; - font-size: 32px; + height: 74px; + background: #0b0d12; + border: 1px solid rgba(255, 255, 255, 0.14); + border-radius: 16px; + color: #ffffff; + font-size: 40px; + font-weight: 800; + letter-spacing: 2px; text-align: center; outline: none; - margin-bottom: 18px; + font-family: Arial, sans-serif; } .clock-editor-input:focus { - border-color: #4da3ff; - box-shadow: 0 0 0 3px rgba(77,163,255,.2); + border-color: var(--accent); + box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.18); } -.clock-editor-buttons { - display: flex; - gap: 10px; +.clock-editor-note { + font-size: 13px; + color: var(--muted); } -.clock-editor-btn { - flex: 1; - height: 44px; - border: none; - border-radius: 10px; - cursor: pointer; - font-size: 15px; - font-weight: 600; - transition: .2s; +#clockEditorModal .formation-modal-footer { + margin-top: 20px; } -.clock-editor-btn.apply { - background: #2d7dff; - color: white; -} - -.clock-editor-btn.apply:hover { - background: #5193ff; -} - -.clock-editor-btn.cancel { - background: #2a2a2a; - color: #ddd; -} - -.clock-editor-btn.cancel:hover { - background: #3a3a3a; +#clockEditorModal .btn-primary { + box-shadow: 0 10px 24px rgba(79, 140, 255, 0.25); } \ No newline at end of file diff --git a/templates/match_workspace.html b/templates/match_workspace.html index bb54f8a..19beda9 100644 --- a/templates/match_workspace.html +++ b/templates/match_workspace.html @@ -1115,36 +1115,6 @@ data-role="{{ p.position or '' }}" }; -