From 114af59b263300c594fcdb05ae3d8b9f6a0d675b Mon Sep 17 00:00:00 2001 From: king Date: Fri, 2 Oct 2026 16:13:52 +0900 Subject: [PATCH] fix(project): show completed subtasks with filled green checks --- app/modules/project/templates/project/goal_meeting.html | 2 +- app/modules/project/templates/project/goals.html | 2 +- app/modules/project/templates/project/help.html | 2 +- app/modules/project/templates/project/inbox.html | 2 +- app/modules/project/templates/project/mytasks.html | 2 +- app/modules/project/templates/project/project.html | 2 +- app/modules/project/templates/project/trash.html | 2 +- app/static/project.css | 9 +++++++-- 8 files changed, 14 insertions(+), 9 deletions(-) diff --git a/app/modules/project/templates/project/goal_meeting.html b/app/modules/project/templates/project/goal_meeting.html index 77afcba..e5b93b9 100644 --- a/app/modules/project/templates/project/goal_meeting.html +++ b/app/modules/project/templates/project/goal_meeting.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/goals.html b/app/modules/project/templates/project/goals.html index 490c7e3..f1dca5a 100644 --- a/app/modules/project/templates/project/goals.html +++ b/app/modules/project/templates/project/goals.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/help.html b/app/modules/project/templates/project/help.html index 678de47..080d859 100644 --- a/app/modules/project/templates/project/help.html +++ b/app/modules/project/templates/project/help.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index 44e2d8f..6ca41cd 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/mytasks.html b/app/modules/project/templates/project/mytasks.html index efdeb53..1445390 100644 --- a/app/modules/project/templates/project/mytasks.html +++ b/app/modules/project/templates/project/mytasks.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index 74167e6..97b85ce 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + diff --git a/app/modules/project/templates/project/trash.html b/app/modules/project/templates/project/trash.html index b8241e1..3e04a8c 100644 --- a/app/modules/project/templates/project/trash.html +++ b/app/modules/project/templates/project/trash.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/static/project.css b/app/static/project.css index 6f49f84..50e9715 100644 --- a/app/static/project.css +++ b/app/static/project.css @@ -8,6 +8,8 @@ --pj-accent-tint: #f1eeff; /* 선택/호버 배경(연한 보라) */ --pj-ink: #050505; /* 아사나 본문 텍스트 */ --pj-ink-soft: #636363; /* 보조 텍스트 */ + /* 완료된 하위 작업: 녹색 원 + 흰색 체크(아이콘 폰트의 투명한 체크 구멍 대신). */ + --pj-completed-check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%2358a182'/%3E%3Cpath d='m7.5 12 3 3 6-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --pj-border: #e4e4e7; --pj-card-radius: 12px; --pj-card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 2px 6px rgba(16,24,40,.06); @@ -1145,7 +1147,6 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-card-sub-check .material-symbols-outlined { font-size: 19px; } .pj-card-sub-check:hover { color: #58a182; } .pj-card-sub.is-done .pj-card-sub-check { color: #58a182; } -.pj-card-sub.is-done .pj-card-sub-check .material-symbols-outlined { font-variation-settings: "FILL" 1; } .pj-card-sub-title { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pj-card-sub.is-done .pj-card-sub-title { color: #9aa1a9; } /* 하위 작업에 또 하위 작업이 있으면 제목 옆에 "N ⑂"(아사나) — 보드 카드 펼침·작업 창 하위 작업 줄 공용 */ @@ -1309,7 +1310,11 @@ label.pj-desc-fmtbtn { .pj-subtask-check .material-symbols-outlined { font-size: 21px; } .pj-subtask-check:hover { color: #3f8f6b; } .pj-subtask-row.is-done .pj-subtask-check { color: #3f8f6b; } -.pj-subtask-row.is-done .pj-subtask-check .material-symbols-outlined { font-variation-settings: "FILL" 1; } +.pj-card-sub.is-done .pj-card-sub-check .material-symbols-outlined, +.pj-subtask-row.is-done .pj-subtask-check .material-symbols-outlined { + display: inline-block; width: 1em; height: 1em; color: transparent; + background: var(--pj-completed-check-icon) center / contain no-repeat; +} .pj-subtask-title { /* 폭은 JS(fitTitle)가 글자 길이만큼 인라인으로 준다. 공용 input[type=text] 규칙의 width:100% 는 인라인 폭이 이긴다. */