fix(project): show completed subtasks with filled green checks

This commit is contained in:
2026-10-02 16:13:52 +09:00
parent 6a38fdb06a
commit 114af59b26
8 changed files with 14 additions and 9 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<link rel="stylesheet" href="/static/project-help.css?v=20261002d" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261002d" />
<link rel="stylesheet" href="/static/project.css?v=20261002e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
+7 -2
View File
@@ -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% 는 인라인 폭이 이긴다. */