v3.6.0: Улучшено модальное окно переноса задачи - нередактируемое поле с понятным форматированием даты
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 55s

This commit is contained in:
poignatov
2026-01-10 19:17:03 +03:00
parent 3d3fa13f41
commit cc7c6a905e
7 changed files with 767 additions and 92 deletions

View File

@@ -129,22 +129,25 @@
border-radius: 0.25rem;
}
.task-complete-section {
margin-top: 1rem;
.progression-section {
margin-bottom: 1.5rem;
}
.progression-input-group {
display: flex;
gap: 0.5rem;
align-items: center;
.progression-label {
display: block;
font-size: 0.875rem;
font-weight: 600;
color: #374151;
margin-bottom: 0.5rem;
}
.progression-input {
flex: 1;
width: 100%;
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
font-size: 1rem;
box-sizing: border-box;
}
.progression-input:focus {
@@ -153,7 +156,46 @@
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.task-detail-divider {
height: 1px;
background: #e5e7eb;
margin: 1.5rem 0;
}
.telegram-message-preview {
margin-bottom: 1.5rem;
padding: 1rem;
background: #f9fafb;
border-radius: 0.375rem;
border-left: 3px solid #6366f1;
}
.telegram-message-label {
font-size: 0.875rem;
font-weight: 600;
color: #374151;
margin-bottom: 0.5rem;
}
.telegram-message-text {
color: #1f2937;
line-height: 1.6;
white-space: pre-wrap;
}
.telegram-message-text strong {
font-weight: 600;
color: #1f2937;
}
.task-actions-section {
display: flex;
gap: 0.75rem;
align-items: center;
}
.complete-button {
flex: 1;
padding: 0.75rem 1.5rem;
background: linear-gradient(to right, #6366f1, #8b5cf6);
color: white;
@@ -163,11 +205,9 @@
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
min-width: 3rem;
}
.complete-button.full-width {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.complete-button:hover:not(:disabled) {
@@ -180,6 +220,34 @@
cursor: not-allowed;
}
.close-button-outline {
padding: 0.75rem;
background: transparent;
color: #6366f1;
border: 2px solid #6366f1;
border-radius: 0.375rem;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
min-width: 2.75rem;
height: 2.75rem;
}
.close-button-outline:hover:not(:disabled) {
transform: translateY(-1px);
background: rgba(99, 102, 241, 0.1);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}
.close-button-outline:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.loading,
.error-message {
text-align: center;