изменение текущего времени, тест 3
This commit is contained in:
@@ -2355,31 +2355,89 @@ body:not(.edit-mode-on) .referee-search {
|
|||||||
|
|
||||||
.timer-box-clickable {
|
.timer-box-clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.timer-box-clickable:hover {
|
||||||
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clock-editor-modal {
|
.clock-editor-modal {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: rgba(0,0,0,.45);
|
background: rgba(0, 0, 0, 0.65);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 9999;
|
z-index: 99999;
|
||||||
|
backdrop-filter: blur(3px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clock-editor-content {
|
.clock-editor-content {
|
||||||
background: #1f1f1f;
|
width: 340px;
|
||||||
padding: 20px;
|
background: #1b1b1b;
|
||||||
border-radius: 12px;
|
border: 1px solid #333;
|
||||||
width: 320px;
|
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;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clock-editor-content input {
|
.clock-editor-btn.apply:hover {
|
||||||
width: 100%;
|
background: #5193ff;
|
||||||
padding: 10px;
|
}
|
||||||
font-size: 24px;
|
|
||||||
text-align: center;
|
.clock-editor-btn.cancel {
|
||||||
margin-top: 10px;
|
background: #2a2a2a;
|
||||||
margin-bottom: 15px;
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clock-editor-btn.cancel:hover {
|
||||||
|
background: #3a3a3a;
|
||||||
}
|
}
|
||||||
@@ -1115,6 +1115,36 @@ data-role="{{ p.position or '' }}"
|
|||||||
};
|
};
|
||||||
</script>
|
</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" id="clockEditorModal">
|
||||||
<div class="formation-modal-backdrop" onclick="closeClockEditor()"></div>
|
<div class="formation-modal-backdrop" onclick="closeClockEditor()"></div>
|
||||||
<div class="formation-modal-content clock-editor-modal-content">
|
<div class="formation-modal-content clock-editor-modal-content">
|
||||||
|
|||||||
Reference in New Issue
Block a user