изменение текущего времени, тест 3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -1115,6 +1115,36 @@ data-role="{{ p.position or '' }}"
|
||||
};
|
||||
</script>
|
||||
|
||||
<div id="clockEditorModal" class="clock-editor-modal" style="display:none;">
|
||||
<div class="clock-editor-content">
|
||||
<div class="clock-editor-title">
|
||||
Редактировать время
|
||||
</div>
|
||||
|
||||
<input
|
||||
id="clockEditorInput"
|
||||
class="clock-editor-input"
|
||||
type="text"
|
||||
placeholder="00:00"
|
||||
/>
|
||||
|
||||
<div class="clock-editor-buttons">
|
||||
<button
|
||||
class="clock-editor-btn cancel"
|
||||
onclick="closeClockEditor()"
|
||||
>
|
||||
Отмена
|
||||
</button>
|
||||
|
||||
<button
|
||||
class="clock-editor-btn apply"
|
||||
onclick="applyClockEditor()"
|
||||
>
|
||||
Применить
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="formation-modal" id="clockEditorModal">
|
||||
<div class="formation-modal-backdrop" onclick="closeClockEditor()"></div>
|
||||
<div class="formation-modal-content clock-editor-modal-content">
|
||||
|
||||
Reference in New Issue
Block a user