From 1b4b65cc3777a2dda893de4025efe1fc06fe6dce Mon Sep 17 00:00:00 2001 From: kalugin66 Date: Mon, 2 Feb 2026 22:46:48 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B0=D0=B2=D1=82=D0=BE=D1=80=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B4=D0=B0=D1=87=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D0=B4=D0=B8?= =?UTF-8?q?=D1=80=D0=B5=D0=BA=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/style.css | 34 ++++++++++++++++++++++++++++++++++ public/ui.js | 3 ++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 359d09c..d225fbf 100644 --- a/public/style.css +++ b/public/style.css @@ -2417,4 +2417,38 @@ small { .time-btn i { font-size: 16px; +} +/* Добавьте в конец style.css */ +.task-card .task-meta { + padding: 10px 20px; + background: #f8f9fa; + border-top: 1px solid #e9ecef; + border-radius: 0 0 15px 15px; + margin-top: 0; + font-size: 0.85rem; + color: #6c757d; + transition: all 0.3s ease; +} + +.task-card .task-content { + border-top: none; + margin-top: 0; + padding-top: 0; +} + +.task-card.deleted .task-meta { + background: #f5c6cb; + color: #721c24; +} + +.task-card.closed .task-meta { + background: #e9ecef; + color: #6c757d; +} + +@media (max-width: 768px) { + .task-card .task-meta { + padding: 8px 15px; + font-size: 0.8rem; + } } \ No newline at end of file diff --git a/public/ui.js b/public/ui.js index 2a7c1ca..c79ec6e 100644 --- a/public/ui.js +++ b/public/ui.js @@ -124,6 +124,7 @@ ${task.assignments && task.assignments.length > 0 ? renderAssignmentList(task.assignments, task.id, canEdit) : '
Не назначены
' } +
@@ -131,7 +132,7 @@ ${task.assignments && task.assignments.length > 0 ? ${task.deleted_at ? `
Удалена: ${formatDateTime(task.deleted_at)}` : ''} ${task.closed_at ? `
Закрыта: ${formatDateTime(task.closed_at)}` : ''}
- + `; }).join('');