diff --git a/static/styles.css b/static/styles.css index 2e05aec..aa706ee 100644 --- a/static/styles.css +++ b/static/styles.css @@ -2355,31 +2355,89 @@ body:not(.edit-mode-on) .referee-search { .timer-box-clickable { cursor: pointer; + transition: 0.2s; +} + +.timer-box-clickable:hover { + opacity: 0.85; } .clock-editor-modal { position: fixed; inset: 0; - background: rgba(0,0,0,.45); + background: rgba(0, 0, 0, 0.65); display: flex; align-items: center; justify-content: center; - z-index: 9999; + z-index: 99999; + backdrop-filter: blur(3px); } .clock-editor-content { - background: #1f1f1f; - padding: 20px; - border-radius: 12px; - width: 320px; + width: 340px; + background: #1b1b1b; + border: 1px solid #333; + border-radius: 14px; + padding: 22px; + box-shadow: 0 10px 40px rgba(0,0,0,.5); + color: #fff; + font-family: Arial, sans-serif; +} + +.clock-editor-title { + font-size: 20px; + font-weight: 700; + margin-bottom: 16px; +} + +.clock-editor-input { + width: 100%; + height: 56px; + background: #101010; + border: 1px solid #444; + border-radius: 10px; + color: #fff; + font-size: 32px; + text-align: center; + outline: none; + margin-bottom: 18px; +} + +.clock-editor-input:focus { + border-color: #4da3ff; + box-shadow: 0 0 0 3px rgba(77,163,255,.2); +} + +.clock-editor-buttons { + display: flex; + gap: 10px; +} + +.clock-editor-btn { + flex: 1; + height: 44px; + border: none; + border-radius: 10px; + cursor: pointer; + font-size: 15px; + font-weight: 600; + transition: .2s; +} + +.clock-editor-btn.apply { + background: #2d7dff; color: white; } -.clock-editor-content input { - width: 100%; - padding: 10px; - font-size: 24px; - text-align: center; - margin-top: 10px; - margin-bottom: 15px; +.clock-editor-btn.apply:hover { + background: #5193ff; +} + +.clock-editor-btn.cancel { + background: #2a2a2a; + color: #ddd; +} + +.clock-editor-btn.cancel:hover { + background: #3a3a3a; } \ No newline at end of file diff --git a/templates/match_workspace.html b/templates/match_workspace.html index 19beda9..bb54f8a 100644 --- a/templates/match_workspace.html +++ b/templates/match_workspace.html @@ -1115,6 +1115,36 @@ data-role="{{ p.position or '' }}" }; +