From 6a38fdb06a3c5a84a2e1b61668b3d1a347252e52 Mon Sep 17 00:00:00 2001 From: king Date: Fri, 2 Oct 2026 16:03:52 +0900 Subject: [PATCH] feat(project): match Asana typography sizes and weights --- .../templates/project/goal_meeting.html | 2 +- .../project/templates/project/goals.html | 2 +- .../project/templates/project/help.html | 4 +- .../project/templates/project/inbox.html | 2 +- .../project/templates/project/mytasks.html | 2 +- .../project/templates/project/project.html | 2 +- .../project/templates/project/trash.html | 2 +- app/static/project-help.css | 30 +-- app/static/project.css | 209 ++++++++++-------- 9 files changed, 134 insertions(+), 121 deletions(-) diff --git a/app/modules/project/templates/project/goal_meeting.html b/app/modules/project/templates/project/goal_meeting.html index 948d3c7..77afcba 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 9d33c34..490c7e3 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 8e348cd..678de47 100644 --- a/app/modules/project/templates/project/help.html +++ b/app/modules/project/templates/project/help.html @@ -1,8 +1,8 @@ {% 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 d75580b..44e2d8f 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 944af90..efdeb53 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 4b35847..74167e6 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 91ad80f..b8241e1 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-help.css b/app/static/project-help.css index 659c19a..79f948d 100644 --- a/app/static/project-help.css +++ b/app/static/project-help.css @@ -2,11 +2,11 @@ 왼쪽 목차(스크롤을 따라 현재 위치 강조) + 오른쪽 본문 카드. 처음 쓰는 사람이 읽기 쉽게 — 단계는 번호 동그라미, 화면의 버튼·메뉴 이름은 .pjh-ui 칩으로 표시. */ .pjh { - --pjh-ink: #1e1f21; --pjh-soft: #6d6e6f; --pjh-line: #e8eaee; + --pjh-ink: var(--pj-ink); --pjh-soft: var(--pj-ink-soft); --pjh-line: #e8eaee; --pjh-accent: var(--pj-accent, #7b68ee); --pjh-tint: var(--pj-accent-tint, #f1eeff); display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; max-width: 1180px; margin: 0 auto; padding: 4px 0 60px; color: var(--pjh-ink); - font-size: 14.5px; line-height: 1.7; + font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } @media (max-width: 1000px) { .pjh { grid-template-columns: minmax(0, 1fr); } @@ -15,26 +15,26 @@ /* 목차 */ .pjh-toc { position: sticky; top: 12px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; } -.pjh-toc-title { font-size: 12px; font-weight: 800; color: var(--pjh-soft); letter-spacing: .04em; margin: 0 0 8px 10px; } +.pjh-toc-title { font-size: 12px; font-weight: 500; color: var(--pjh-soft); letter-spacing: normal; margin: 0 0 8px 10px; } .pjh-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; } .pjh-toc li { counter-increment: toc; } .pjh-toc a { display: flex; gap: 8px; padding: 5px 10px; border-radius: 8px; color: #3d4046; - text-decoration: none; font-size: 13.5px; line-height: 1.45; + text-decoration: none; font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } .pjh-toc a::before { content: counter(toc) "."; color: #9aa1a9; min-width: 18px; } .pjh-toc a:hover { background: #f1f2f4; } -.pjh-toc a.is-active { background: var(--pjh-tint); color: var(--pjh-accent); font-weight: 700; } +.pjh-toc a.is-active { background: var(--pjh-tint); color: var(--pjh-accent); font-weight: 500; } /* 머리말 */ .pjh-hero { background: linear-gradient(135deg, #f4f1ff 0%, #eef5ff 100%); border: 1px solid #e4defd; border-radius: 16px; padding: 26px 30px; margin-bottom: 18px; } -.pjh-hero h1 { margin: 0 0 6px; font-size: 24px; font-weight: 800; } +.pjh-hero h1 { margin: 0 0 6px; font-size: var(--pj-title-size); line-height: var(--pj-title-leading); font-weight: 500; } .pjh-hero p { margin: 0; color: #3d4046; } .pjh-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 18px; } -.pjh-quick-step { background: #fff; border: 1px solid #e4defd; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; } +.pjh-quick-step { background: #fff; border: 1px solid #e4defd; border-radius: 12px; padding: 12px 14px; font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } .pjh-quick-step b { display: block; color: var(--pjh-accent); font-size: 12px; margin-bottom: 2px; } /* 본문 카드 */ @@ -42,12 +42,12 @@ background: #fff; border: 1px solid var(--pjh-line); border-radius: 14px; padding: 24px 30px; margin-bottom: 18px; scroll-margin-top: 16px; } -.pjh-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 20px; font-weight: 800; } +.pjh-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: var(--pj-heading-size); line-height: var(--pj-heading-leading); font-weight: 500; } .pjh-sec h2 .pjh-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--pjh-tint); color: var(--pjh-accent); font-size: 15px; flex: none; } -.pjh-sec h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 800; } +.pjh-sec h3 { margin: 22px 0 6px; font-size: var(--pj-section-size); line-height: var(--pj-section-leading); font-weight: 500; } .pjh-sec h3:first-of-type { margin-top: 8px; } .pjh-sec p { margin: 6px 0; } .pjh-sec ul { margin: 6px 0; padding-left: 20px; } @@ -59,14 +59,14 @@ .pjh-steps li { counter-increment: step; position: relative; padding: 2px 0 6px 36px; margin: 0; } .pjh-steps li::before { content: counter(step); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; - border-radius: 50%; background: var(--pjh-accent); color: #fff; font-size: 12.5px; font-weight: 800; + border-radius: 50%; background: var(--pjh-accent); color: #fff; font-size: 12.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; } /* 화면 요소 이름(버튼·메뉴) 칩, 키보드 키 */ .pjh-ui { display: inline-flex; align-items: center; gap: 3px; padding: 0 7px; border-radius: 6px; - background: #f1f2f4; border: 1px solid #e2e4e8; font-size: 13px; font-weight: 700; line-height: 22px; + background: #f1f2f4; border: 1px solid #e2e4e8; font-size: 13px; font-weight: 500; line-height: 22px; white-space: nowrap; vertical-align: 1px; } .pjh-ui .material-symbols-outlined { font-size: 16px; } @@ -79,7 +79,7 @@ /* 팁·주의 */ .pjh-tip, .pjh-note, .pjh-warn { - display: flex; gap: 10px; border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: 13.5px; line-height: 1.6; + display: flex; gap: 10px; border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } .pjh-tip { background: #f2faf5; border: 1px solid #cfe9da; } .pjh-note { background: #f3f6ff; border: 1px solid #d6e0fb; } @@ -91,10 +91,10 @@ .pjh-warn > .material-symbols-outlined { font-size: 20px; flex: none; margin-top: 1px; } /* 표 */ -.pjh-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13.5px; line-height: 1.55; } +.pjh-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } .pjh-table th, .pjh-table td { border-bottom: 1px solid var(--pjh-line); padding: 8px 10px; text-align: left; vertical-align: top; } -.pjh-table th { background: #f7f8fa; font-weight: 800; color: #3d4046; white-space: nowrap; } -.pjh-table td:first-child { font-weight: 700; white-space: nowrap; } +.pjh-table th { background: #f7f8fa; font-weight: 500; color: #3d4046; white-space: nowrap; } +.pjh-table td:first-child { font-weight: 500; white-space: nowrap; } /* 화면 구성 그림(아주 단순한 모형) */ .pjh-map { diff --git a/app/static/project.css b/app/static/project.css index 74cce0e..6f49f84 100644 --- a/app/static/project.css +++ b/app/static/project.css @@ -6,8 +6,8 @@ --pj-accent: #7b68ee; /* 아사나 특유의 보라 포인트 컬러 */ --pj-accent-dark: #6453d6; --pj-accent-tint: #f1eeff; /* 선택/호버 배경(연한 보라) */ - --pj-ink: #151b26; /* 본문 텍스트(진한 남색 계열, 순검정 대신) */ - --pj-ink-soft: #6b6f76; /* 보조 텍스트 */ + --pj-ink: #050505; /* 아사나 본문 텍스트 */ + --pj-ink-soft: #636363; /* 보조 텍스트 */ --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); @@ -19,19 +19,32 @@ "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --font-geist: var(--pj-font); + /* 실제 아사나 웹앱에서 측정한 본문/보조/섹션/제목 타이포그래피. + 공통 ERP 파일은 유지하고 Project가 불러오는 토큰만 재정의한다. */ + --pj-text-size: 14px; + --pj-text-leading: 22px; + --pj-small-size: 12px; + --pj-small-leading: 18px; + --pj-section-size: 16px; + --pj-section-leading: 20px; + --pj-heading-size: 20px; + --pj-heading-leading: 28px; + --pj-title-size: 24px; + --pj-title-leading: 32px; + --leading-body: 1.5714285714; /* 14px 본문의 22px 줄 높이 */ } /* 입력창·버튼은 브라우저 기본 폼 폰트 대신 본문 폰트를 따른다. :where() 라 특이성 0 — 아이콘 폰트(.material-symbols-*)·이모지 등 기존 font-family 지정이 항상 이긴다. */ :where(button, input, select, textarea, optgroup) { font-family: inherit; } -.pj-wrap { padding: 4px 2px 40px; color: var(--pj-ink); } +.pj-wrap { padding: 4px 2px 40px; color: var(--pj-ink); font-size: var(--pj-text-size); line-height: var(--pj-text-leading); font-weight: 400; } /* ── 버튼 ── */ .pj-btn { border: 1px solid #d8dce2; background: #fff; color: var(--pj-ink); - padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; - cursor: pointer; transition: background .12s, border-color .12s; + padding: 7px 14px; border-radius: 8px; font-size: var(--pj-text-size); font-weight: 500; + cursor: pointer; transition: background .12s, border-color .12s; line-height: var(--pj-text-leading); } .pj-btn:hover { background: #f6f7f8; } .pj-btn-primary { background: var(--pj-accent); color: #fff; border-color: var(--pj-accent); } @@ -47,8 +60,8 @@ .pj-section-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; } .pj-section-head-done { margin-top: 22px; } -.pj-section-head-done h2 { font-size: 14px; color: #6b7280; } -.pj-section-head h2 { font-size: 16px; font-weight: 700; margin: 0; } +.pj-section-head-done h2 { font-size: var(--pj-text-size); color: #6b7280; line-height: 20px; } +.pj-section-head h2 { font-size: var(--pj-section-size); font-weight: 500; margin: 0; line-height: var(--pj-section-leading); } .pj-empty { padding: 28px; text-align: center; color: #6b7280; background: #f7f8f9; border-radius: 12px; } .pj-empty-sm { padding: 10px 2px; color: #9aa1a9; font-size: 13px; } @@ -123,7 +136,7 @@ } .pj-side-block { margin-bottom: 22px; } -.pj-side-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 800; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; } +.pj-side-head { display: flex; align-items: center; justify-content: space-between; font-size: var(--pj-small-size); font-weight: 500; color: #6b7280; text-transform: uppercase; letter-spacing: normal; margin-bottom: 8px; line-height: var(--pj-small-leading); } .pj-side-head-done { margin-top: 14px; } #pj-tree-root-done .pj-tree-avatar, #pj-tree-root-done .pj-tree-name { opacity: .6; } @@ -136,7 +149,7 @@ .pj-tree-row { display: flex; align-items: center; gap: 2px; border-radius: 8px; padding-right: 2px; position: relative; } .pj-tree-row:hover { background: #f1f2f4; } .pj-tree-row.is-active { background: var(--pj-accent-tint); } -.pj-tree-row.is-active .pj-tree-name { font-weight: 700; color: var(--pj-accent-dark); } +.pj-tree-row.is-active .pj-tree-name { font-weight: 500; color: var(--pj-accent-dark); } .pj-tree-link { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; text-decoration: none; color: inherit; padding: 6px 4px; } /* 프로젝트 색 + 첫 글자 — 아사나의 색 아이콘 자리를 대신한다 */ @@ -147,7 +160,7 @@ } .pj-tree-avatar .pj-proj-ic { font-size: 16px; color: #fff; } .pj-tree-avatar.is-light, .pj-tree-avatar.is-light .pj-proj-ic { color: #1e1f21; } -.pj-tree-name { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.pj-tree-name { font-size: var(--pj-text-size); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: var(--pj-text-leading); font-weight: 400; } .pj-tree-acts { display: none; gap: 0; flex: 0 0 auto; } .pj-tree-row:hover .pj-tree-acts { display: inline-flex; } .pj-tree-acts .pj-icon-btn { width: 22px; height: 22px; font-size: 14px; } @@ -171,7 +184,7 @@ /* 아사나식 머리 — 왼쪽 위에 두 줄: ① 아이콘·제목 + 멤버, ② 뷰 탭 */ .pj-head-left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } .pj-title-wrap { max-width: 100%; min-width: 0; display: flex; align-items: center; gap: 10px; } -.pj-project-title { min-width: 0; margin: 0; } +.pj-project-title { min-width: 0; margin: 0; font-size: var(--pj-heading-size); line-height: var(--pj-heading-leading); font-weight: 500; } /* 전체 프로젝트 스코프 — 제목을 "전체 프로젝트"로, 이 프로젝트 멤버는 숨긴다 */ .pj-title-wrap .pj-all-title { display: none; } .pj-title-wrap.is-all-scope .pj-all-title { display: block; } @@ -196,9 +209,9 @@ /* 제목 — 프로젝트 색 사각형 하나에 아이콘 + 이름(글자는 흰색, 밝은 색이면 진한 색) */ .pj-project-title-pill, .pj-project-title-all { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; vertical-align: middle; - font-size: 21px; font-weight: 700; color: #fff; line-height: 1.2; + font-size: var(--pj-heading-size); font-weight: 500; color: #fff; line-height: var(--pj-heading-leading); background: var(--pj-color, var(--pj-accent)); border-radius: 10px; - padding: 6px 12px 6px 10px; white-space: nowrap; + padding: 6px 12px 6px 10px; white-space: nowrap; letter-spacing: normal; } .pj-project-title-pill.is-light { color: #1e1f21; } .pj-project-title-all { background: #5f6368; } @@ -223,7 +236,7 @@ .pj-view[hidden] { display: none; } .pj-view[data-view="board"]:not([hidden]) { display: flex; flex-direction: column; overflow: hidden; } .pj-view-tabs { display: inline-flex; position: relative; flex: 0 0 auto; background: #eef0f2; border-radius: 10px; padding: 3px; gap: 2px; } -.pj-tab { position: relative; z-index: 1; border: none; background: transparent; padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #525860; cursor: pointer; white-space: nowrap; } +.pj-tab { position: relative; z-index: 1; border: none; background: transparent; padding: 7px 16px; border-radius: 8px; font-size: var(--pj-text-size); font-weight: 500; color: #525860; cursor: pointer; white-space: nowrap; line-height: var(--pj-text-leading); } .pj-tab.is-active { background: transparent; color: #fff; } /* 뷰 탭이 바뀔 때 배경이 새 탭 위치로 미끄러지는 하이라이트 — is-active 의 단순 배경색 대신 이 절대배치 요소 하나가 실제로 움직인다. */ @@ -235,9 +248,9 @@ .pj-tab-highlight.pj-no-anim { transition: none; } /* 뷰 탭(보드/목록/…) — 아사나처럼 제목 아래 글자 탭 줄, 고른 탭만 옅은 배경 */ .pj-view-tabs-line { background: transparent; padding: 0; gap: 2px; margin-left: -4px; } -.pj-view-tabs-line .pj-tab { padding: 5px 10px; font-size: 14px; font-weight: 500; color: #525860; border-radius: 6px; } +.pj-view-tabs-line .pj-tab { padding: 5px 10px; font-size: var(--pj-text-size); font-weight: 500; color: #525860; border-radius: 6px; line-height: var(--pj-text-leading); } .pj-view-tabs-line .pj-tab:hover { color: #1e1f21; } -.pj-view-tabs-line .pj-tab.is-active { color: #1e1f21; font-weight: 600; } +.pj-view-tabs-line .pj-tab.is-active { color: #1e1f21; font-weight: 500; } .pj-view-tabs-line .pj-tab-highlight { top: 0; background: #ebe8fd; border-radius: 6px; box-shadow: none; } /* 알림 벨 흔들림(미읽음 있을 때) */ @@ -289,8 +302,8 @@ padding: 2px 6px 12px; margin-bottom: 4px; color: var(--pj-ink); border-bottom: 1px solid #e2e4ea; } -/* 세션 제목 — 업무 카드 제목(pj-card-title 13.5px/600)보다 뚜렷하게 크고 굵게 */ -.pj-col-name { font-size: 15.5px; font-weight: 800; } +/* 세션 제목 — 아사나 보드의 16px/20px, 굵기 500 */ +.pj-col-name { font-size: var(--pj-section-size); font-weight: 500; line-height: var(--pj-section-leading); } /* 세션 기본 담당자 아이콘 — 이름 옆에 작게 */ .pj-col-assignee { display: inline-flex; align-items: center; flex: 0 0 auto; } .pj-col-assignee .pj-avatar { width: 20px; height: 20px; box-shadow: 0 0 0 1.5px #fff; } @@ -306,9 +319,9 @@ .pj-col-name.pj-col-name-editable:hover { background: rgba(0,0,0,.06); } .pj-col-head-colored .pj-col-name.pj-col-name-editable:hover { background: rgba(255,255,255,.22); } .pj-col-name-input { - font: inherit; font-size: 15.5px; font-weight: 800; color: var(--pj-ink); + font: inherit; font-size: var(--pj-section-size); font-weight: 500; color: var(--pj-ink); min-width: 0; flex: 1 1 auto; max-width: 70%; padding: 2px 6px; - border: 1px solid var(--pj-accent); border-radius: 6px; background: #fff; outline: none; + border: 1px solid var(--pj-accent); border-radius: 6px; background: #fff; outline: none; line-height: var(--pj-section-leading); } /* 세션 색상 지정 시 — 점 대신 헤더(윗부분) 전체를 그 색으로 칠한다. .pj-col 의 padding(위 12px·좌우 6px)만큼 밀어내 컬럼 테두리에 딱 맞춘다. */ @@ -381,11 +394,11 @@ .pj-card-sub.is-dragging { opacity: .4; } .pj-card.is-sub-drop { outline: 2px solid var(--pj-accent); outline-offset: -2px; background: var(--pj-accent-tint); } .pj-card.is-done .pj-card-title { text-decoration: line-through; color: #9aa1a9; } -.pj-card-title { font-size: 13.5px; font-weight: 600; color: var(--pj-ink); line-height: 1.4; } +.pj-card-title { font-size: var(--pj-text-size); font-weight: 400; color: var(--pj-ink); line-height: var(--pj-text-leading); } .pj-card-meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; } -.pj-card-due { margin-left: auto; font-size: 12.1px; color: var(--pj-ink-soft); font-weight: 600; } /* 11px +10% */ -/* 보드 카드 담당자 — 글자·아바타 10% 크게(12→13.2px, 18→20px) */ -.pj-card-meta .pj-card-assignee { font-size: 13.2px; } +.pj-card-due { margin-left: auto; font-size: var(--pj-small-size); color: var(--pj-ink-soft); font-weight: 400; line-height: var(--pj-small-leading); } +/* 보드 카드 담당자 — 보조 텍스트 12px/18px, 아바타 크기는 유지 */ +.pj-card-meta .pj-card-assignee { font-size: var(--pj-small-size); line-height: var(--pj-small-leading); font-weight: 400; } .pj-card-meta .pj-card-assignee .pj-avatar.pj-gicon-sm { width: 20px; height: 20px; } .pj-card-meta .pj-card-assignee .pj-gicon-sm { font-size: 22px; } /* 카드 높이 100px 고정(표지 이미지·펼친 하위 작업은 그 위·아래에 더해짐) — 머리 = 100 − 아래 여백 12 − 테두리 2. @@ -412,8 +425,8 @@ .pj-pri-low { background: #e6eef0; color: #4a6066; } /* ── 리스트 ── */ -.pj-table { width: 100%; border-collapse: collapse; font-size: 13.5px; } -.pj-table th { text-align: left; padding: 9px 10px; border-bottom: 2px solid #eef0f2; color: #1e1f21; font-size: 14px; font-weight: 700; position: relative; } +.pj-table { width: 100%; border-collapse: collapse; font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } +.pj-table th { text-align: left; padding: 9px 10px; border-bottom: 2px solid #eef0f2; color: #1e1f21; font-size: var(--pj-small-size); font-weight: 500; position: relative; line-height: var(--pj-small-leading); } .pj-table td { padding: 10px; border-bottom: 1px solid #f1f2f4; } .pj-table tr.is-done td { color: #9aa1a9; text-decoration: line-through; } .pj-table-fixed { table-layout: fixed; } @@ -423,8 +436,8 @@ .pj-list-group-row { background: #fafafd; } .pj-list-group-head { display: flex; align-items: center; gap: 6px; padding: 10px 6px !important; - font-size: 13px; font-weight: 700; color: var(--pj-ink); cursor: pointer; - border-bottom: 1px solid var(--pj-border) !important; white-space: nowrap; + font-size: var(--pj-section-size); font-weight: 500; color: var(--pj-ink); cursor: pointer; + border-bottom: 1px solid var(--pj-border) !important; white-space: nowrap; line-height: var(--pj-section-leading); } .pj-list-group-caret { font-size: 18px; color: var(--pj-ink-soft); } .pj-list-group-count { @@ -693,16 +706,15 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-task-modal-card { width: 100vw; max-width: 100vw; min-width: 0; } .pj-side-2col { display: block; } } -.pj-modal-card h3 { margin: 0 0 16px; font-size: 17px; } +.pj-modal-card h3 { margin: 0 0 16px; font-size: var(--pj-heading-size); line-height: var(--pj-heading-leading); font-weight: 500; letter-spacing: normal; } .pj-modal-hint { margin: -6px 0 14px; font-size: 12px; color: #6b7280; } /* 업무 편집 팝업 — 아사나식 레이아웃. 버튼 줄 바로 아래 큰 무테 제목 - 입력칸 하나뿐(작은 안내줄은 없앰). height+line-height 를 맞춰 그 줄 - 안에서 글자가 세로 가운데에 오도록 한다(한 줄짜리 input 표준 기법). */ -.pj-t-title-input { - display: block; width: 100%; border: none !important; background: transparent !important; - min-height: 40px; line-height: 1.4; font-size: 19px !important; font-weight: 700; - padding: 7px 4px !important; margin: 4px 0 8px !important; + 입력칸 하나뿐(작은 안내줄은 없앰). 제목은 아사나의 24px/32px, 굵기 500을 따른다. */ +.pj-modal-card .pj-t-title-input { + display: block; width: calc(100% + 12px); border: none !important; background: transparent !important; + min-height: 46px; line-height: var(--pj-title-leading); font-size: var(--pj-title-size) !important; font-weight: 500; + padding: 6px 12px !important; margin: 4px 0 8px -12px !important; color: var(--pj-ink); box-sizing: border-box; /* textarea — 긴 제목은 다음 줄로(높이는 JS fitTitleHeight 가 맞춘다) */ resize: none; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere; @@ -725,15 +737,15 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); display: flex; align-items: center; min-height: 40px; border-bottom: 1px solid #f1f2f4; gap: 12px; } -.pj-meta-label2 { flex: 0 0 92px; font-size: 13px; font-weight: 600; color: var(--pj-ink-soft); } +.pj-meta-label2 { flex: 0 0 92px; font-size: var(--pj-small-size); font-weight: 400; color: var(--pj-ink); line-height: var(--pj-small-leading); } .pj-meta-value2 { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; } .pj-meta-ic { font-size: 18px; color: #9aa1a9; flex: none; } .pj-meta-value2 select, .pj-meta-value2 input, .pj-meta-cell select, .pj-meta-cell input { display: block; width: auto; max-width: 100%; margin: 0 !important; padding: 6px 8px !important; border: 1px solid transparent !important; border-radius: 6px !important; background: transparent !important; - font-size: 13.5px !important; font-weight: 600; font-family: inherit; color: var(--pj-ink); - box-sizing: border-box; cursor: pointer; + font-size: var(--pj-text-size) !important; font-weight: 400; font-family: inherit; color: var(--pj-ink); + box-sizing: border-box; cursor: pointer; line-height: var(--pj-text-leading); } .pj-meta-value2 select:hover, .pj-meta-value2 input:hover, .pj-meta-value2 select:focus, .pj-meta-value2 input:focus, @@ -749,7 +761,7 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-meta-cell-stage { flex: 1 1 0; } .pj-meta-cell-assignee { flex: 0 1 auto; } .pj-meta-cell-priority, .pj-meta-cell-due { flex: 0 0 auto; } -.pj-meta-cell-label { font-size: 13px; font-weight: 600; color: var(--pj-ink-soft); white-space: nowrap; flex: none; } +.pj-meta-cell-label { font-size: var(--pj-small-size); font-weight: 400; color: var(--pj-ink); white-space: nowrap; flex: none; line-height: var(--pj-small-leading); } .pj-meta-cell select { flex: 1 1 auto; min-width: 0; width: 100%; text-overflow: ellipsis; } .pj-meta-cell-priority select { width: auto; } .pj-meta-cell-assignee select { width: auto; max-width: 150px; } @@ -759,7 +771,7 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-due-btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; cursor: pointer; - color: #6b6f76; font-size: 13.5px; font-weight: 600; font-family: inherit; white-space: nowrap; + color: var(--pj-ink-soft); font-size: var(--pj-text-size); font-weight: 400; font-family: inherit; white-space: nowrap; line-height: var(--pj-text-leading); } .pj-due-btn .material-symbols-outlined { font-size: 20px; } .pj-due-btn:hover { border-color: var(--pj-border); background: #f6f7f8; color: var(--pj-ink); } @@ -770,7 +782,7 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-date-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; height: 36px; padding: 0 12px; border: 1px solid #d8dce2; border-radius: 8px; background: #fff; cursor: pointer; - font-size: 13.5px; font-family: inherit; font-weight: 500; color: var(--pj-ink); white-space: nowrap; + font-size: var(--pj-text-size); font-family: inherit; font-weight: 500; color: var(--pj-ink); white-space: nowrap; line-height: var(--pj-text-leading); } .pj-date-btn .material-symbols-outlined { font-size: 19px; color: #6d6e6f; } .pj-date-btn:hover { background: #f6f7f8; border-color: #c4c9d0; } @@ -798,10 +810,10 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-meta-row-multi { display: grid; grid-template-columns: 1fr 1fr; } .pj-meta-cell:nth-child(3) { border-left: none; padding-left: 0; margin-left: 0; } } -.pj-extra-label { font-size: 12.5px; font-weight: 700; color: var(--pj-ink-soft); margin-right: auto; } -.pj-modal-card label { display: block; font-size: 12.5px; font-weight: 600; color: #525860; margin-bottom: 12px; } +.pj-extra-label { font-size: var(--pj-text-size); font-weight: 500; color: var(--pj-ink); margin-right: auto; line-height: 20px; } +.pj-modal-card label { display: block; font-size: var(--pj-small-size); font-weight: 400; color: var(--pj-ink); margin-bottom: 12px; line-height: var(--pj-small-leading); } .pj-modal-card input[type=text], .pj-modal-card input[type=date], .pj-modal-card textarea, .pj-modal-card select { - display: block; width: 100%; margin-top: 5px; padding: 8px 10px; border: 1px solid #d8dce2; border-radius: 8px; font-size: 13.5px; font-family: inherit; box-sizing: border-box; + display: block; width: 100%; margin-top: 5px; padding: 8px 10px; border: 1px solid #d8dce2; border-radius: 8px; font-size: var(--pj-text-size); font-family: inherit; box-sizing: border-box; line-height: var(--pj-text-leading); } .pj-form-row { display: flex; gap: 12px; } .pj-form-row label { flex: 1; } @@ -825,8 +837,8 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); background: #fff; border-bottom: 1px solid #eef0f2; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; } -.pj-modal-actions-top .pj-btn { flex: none; padding: 3px 8px; font-size: 11px; } -.pj-btn-complete { background: #e9f7ef; color: #1e8e5a; border: 1px solid #bfe8d2; font-weight: 700; } +.pj-modal-actions-top .pj-btn { flex: none; padding: 3px 8px; font-size: var(--pj-small-size); line-height: var(--pj-small-leading); font-weight: 500; } +.pj-btn-complete { background: #e9f7ef; color: #1e8e5a; border: 1px solid #bfe8d2; font-weight: 500; } .pj-btn-complete:hover { background: #d9f2e4; } .pj-btn-complete.is-done { background: #f2f2f4; color: #6b6f76; border-color: var(--pj-border); } @@ -865,8 +877,8 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); /* ── 업무 모달 댓글/첨부 ── */ .pj-task-extra { border-top: 1px solid #eef0f2; margin-top: 14px; padding-top: 12px; } -.pj-extra-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #525860; margin-bottom: 8px; } -.pj-upload-btn { margin-left: auto; font-size: 12px; font-weight: 600; color: #4573d2; cursor: pointer; padding: 3px 8px; border: 1px solid #cdd9f0; border-radius: 7px; } +.pj-extra-head { display: flex; align-items: center; gap: 6px; font-size: var(--pj-text-size); font-weight: 500; color: var(--pj-ink); margin-bottom: 8px; line-height: 20px; } +.pj-upload-btn { margin-left: auto; font-size: var(--pj-small-size); font-weight: 500; color: #4573d2; cursor: pointer; padding: 3px 8px; border: 1px solid #cdd9f0; border-radius: 7px; line-height: var(--pj-small-leading); } .pj-upload-btn:hover { background: #eef3fc; } .pj-attach-list, .pj-comment-list { list-style: none; margin: 0 0 6px; padding: 0; max-height: 160px; overflow-y: auto; } @@ -877,23 +889,23 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-comment-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 2px; } .pj-comment-main { flex: 1; } -.pj-comment-head { font-size: 12.5px; font-weight: 700; color: #1e1f21; } -.pj-comment-time { font-weight: 400; color: #9aa1a9; font-size: 11px; margin-left: 6px; } -.pj-comment-body { font-size: 13px; color: #333; margin-top: 1px; white-space: pre-wrap; } +.pj-comment-head { font-size: var(--pj-text-size); font-weight: 500; color: #1e1f21; line-height: 20px; } +.pj-comment-time { font-weight: 400; color: #9aa1a9; font-size: var(--pj-small-size); margin-left: 6px; line-height: var(--pj-small-leading); } +.pj-comment-body { font-size: var(--pj-text-size); color: var(--pj-ink); margin-top: 1px; white-space: pre-wrap; line-height: var(--pj-text-leading); font-weight: 400; } /* 댓글 속 웹페이지 주소 — 누르면 새 탭(linkifyToHtml). 긴 주소는 줄바꿈 */ .pj-comment-body a, .pj-chat-bubble a { color: #1a5fd0; text-decoration: underline; word-break: break-all; } .pj-comment-body a:hover, .pj-chat-bubble a:hover { color: #0b3f99; } .pj-comment-form { display: flex; align-items: center; gap: 6px; } -.pj-comment-form input { flex: 1; padding: 7px 10px; border: 1px solid #d8dce2; border-radius: 8px; font-size: 13px; font-family: inherit; box-sizing: border-box; } +.pj-comment-form input { flex: 1; padding: 7px 10px; border: 1px solid #d8dce2; border-radius: 8px; font-size: var(--pj-text-size); font-family: inherit; box-sizing: border-box; line-height: var(--pj-text-leading); font-weight: 400; } /* 댓글·답글 여러 줄 입력칸 — Enter 등록 · Shift+Enter 줄바꿈, 글 줄 수만큼 늘어남(project.js fitComposer, 최대 160px) */ .pj-comment-form textarea.pj-composer-ta { - flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid #d8dce2; border-radius: 8px; font-size: 13px; font-family: inherit; - line-height: 1.45; box-sizing: border-box; resize: none; overflow-y: hidden; max-height: 160px; align-self: center; + flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid #d8dce2; border-radius: 8px; font-size: var(--pj-text-size); font-family: inherit; + line-height: var(--pj-text-leading); box-sizing: border-box; resize: none; overflow-y: hidden; max-height: 160px; align-self: center; font-weight: 400; } .pj-comment-form textarea.pj-composer-ta:focus { outline: none; border-color: #a9aeb6; } .pj-comment-acts { display: inline-flex; gap: 1px; flex: 0 0 auto; } .pj-comment-edit-box { margin-top: 5px; } -.pj-comment-edit-box textarea { width: 100%; box-sizing: border-box; padding: 7px 9px; border: 1px solid #d8dce2; border-radius: 8px; font-size: 13px; font-family: inherit; resize: vertical; } +.pj-comment-edit-box textarea { width: 100%; box-sizing: border-box; padding: 7px 9px; border: 1px solid #d8dce2; border-radius: 8px; font-size: var(--pj-text-size); font-family: inherit; resize: vertical; line-height: var(--pj-text-leading); font-weight: 400; } .pj-comment-edit-actions { display: flex; gap: 6px; justify-content: flex-end; margin-top: 6px; } .pj-comment-edit-actions .pj-btn { padding: 4px 12px; font-size: 12px; } @@ -919,7 +931,7 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-cmt-badge.is-unread .pj-cmt-n { color: #e8384f; font-weight: 800; } /* ── 새 프로젝트 모달 — 멤버 선택 ── */ -.pj-modal-card .pj-field-label { display: block; font-size: 12.5px; font-weight: 600; color: #525860; margin-bottom: 12px; } +.pj-modal-card .pj-field-label { display: block; font-size: var(--pj-small-size); font-weight: 400; color: var(--pj-ink); margin-bottom: 12px; line-height: var(--pj-small-leading); } .pj-member-picker { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; max-height: 140px; overflow-y: auto; padding: 6px 2px; border: 1px solid #eef0f2; border-radius: 8px; } .pj-member-pick { display: inline-flex !important; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500 !important; color: #333; width: auto !important; margin: 0 !important; } .pj-member-pick input { width: auto !important; margin: 0 !important; } @@ -997,8 +1009,8 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); .pj-chat-msg.other .pj-chat-name { font-size: 12px; font-weight: 600; color: #4b5563; } .pj-chat-bubble { background: #fff; border-radius: 14px 14px 14px 4px; padding: 8px 12px; - font-size: 13.5px; color: #1e1f21; white-space: pre-wrap; word-break: break-word; - box-shadow: 0 1px 2px rgba(0,0,0,.06); + font-size: var(--pj-text-size); color: #1e1f21; white-space: pre-wrap; word-break: break-word; + box-shadow: 0 1px 2px rgba(0,0,0,.06); line-height: var(--pj-text-leading); font-weight: 400; } .pj-chat-msg.mine .pj-chat-bubble { background: #fee500; border-radius: 14px 14px 4px 14px; } .pj-chat-meta { display: flex; align-items: center; gap: 3px; margin-top: 3px; padding: 0 2px; } @@ -1064,7 +1076,7 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z); /* ── 보드 단계 컨트롤 ── */ .pj-col-head { position: relative; } -.pj-col-name { font-weight: 700; } +.pj-col-name { font-weight: 500; font-size: var(--pj-section-size); line-height: var(--pj-section-leading); } .pj-icon-btn[disabled] { opacity: .3; cursor: default; } .pj-add-stage { width: 100%; padding: 10px; border: 1px dashed #c9cdd3; border-radius: 12px; background: #fff; color: #6b7280; font-size: 13px; font-weight: 600; cursor: pointer; } .pj-add-stage:hover { border-color: #1e1f21; color: #1e1f21; } @@ -1237,13 +1249,13 @@ label.pj-desc-fmtbtn { } .pj-desc-fmtsep { width: 1px; height: 16px; background: #e2e4ea; margin: 0 4px; } /* 설명 — 아사나처럼 테두리·고정 높이 없이 내용만큼 아래로 계속 늘어난다(스크롤은 작업 창 전체가 한다). - 글자는 다른 칸과 같은 왼쪽 끝에 맞추고(음수 여백), 마우스를 올리거나 입력 중일 때만 옅은 바탕으로 + 글자는 다른 칸과 같은 왼쪽 끝에 맞추고, 마우스를 올리거나 입력 중일 때만 옅은 바탕으로 입력 영역임을 알려준다. */ .pj-desc-editor { - min-height: 60px; padding: 6px 8px; margin: 0 -8px 12px; - border: none; border-radius: 8px; font-size: 13.5px; font-family: inherit; - line-height: 1.6; background: transparent; outline: none; - transition: background .12s; + min-height: 60px; padding: 0; margin: 0 0 12px; + border: none; border-radius: 8px; font-size: var(--pj-text-size); font-family: inherit; + line-height: var(--pj-text-leading); background: transparent; outline: none; + transition: background .12s; font-weight: 400; color: var(--pj-ink); } .pj-desc-editor:hover { background: #f7f8fa; } .pj-desc-editor:focus { background: #f5f6f8; } @@ -1276,8 +1288,8 @@ label.pj-desc-fmtbtn { .pj-subtask-list { list-style: none; margin: 0 0 8px; padding: 0; } /* 하위 작업 한 줄(아사나식): ⠿ · ✓ · 제목(글자 폭만큼) · 빈 곳(누르면 열기) · 마감일 · 담당자 · › */ .pj-subtask-row { - display: flex; align-items: center; gap: 4px; padding: 3px 2px; min-height: 36px; - border-bottom: 1px solid #eef0f2; cursor: pointer; border-radius: 4px; + display: flex; align-items: center; gap: 4px; padding: 0 2px; min-height: 34px; + border-bottom: 1px solid #eef0f2; cursor: pointer; border-radius: 4px; box-sizing: border-box; } .pj-subtask-row:hover { background: #f6f7f8; } .pj-subtask-row.is-dragging { opacity: .4; } @@ -1303,7 +1315,7 @@ label.pj-desc-fmtbtn { 규칙의 width:100% 는 인라인 폭이 이긴다. */ flex: 0 1 auto; min-width: 40px; max-width: 100%; cursor: text; border: 1px solid transparent !important; background: transparent; - padding: 3px 6px !important; font-size: 14px !important; margin: 0 !important; + padding: 0 4px !important; font-size: var(--pj-text-size) !important; margin: 0 !important; line-height: var(--pj-text-leading); font-weight: 400; color: var(--pj-ink); } .pj-subtask-title:hover, .pj-subtask-title:focus { border-color: #d8dce2 !important; background: #fff; } .pj-subtask-fill { flex: 1 1 0; align-self: stretch; min-width: 8px; } @@ -1338,7 +1350,7 @@ label.pj-desc-fmtbtn { .pj-subtask-form { display: flex; gap: 6px; flex-wrap: wrap; } .pj-subtask-form input[type="text"] { flex: 1 1 120px; width: auto !important; min-width: 90px; margin: 0 !important; - padding: 7px 10px !important; border: 1px solid #d8dce2 !important; border-radius: 8px; font-size: 13px !important; font-family: inherit; + padding: 7px 10px !important; border: 1px solid #d8dce2 !important; border-radius: 8px; font-size: var(--pj-text-size) !important; font-family: inherit; line-height: var(--pj-text-leading); } #pj-subtask-add-assignee { flex: 0 0 auto; width: 96px !important; margin: 0 !important; @@ -1373,10 +1385,10 @@ label.pj-desc-fmtbtn { .pj-inbox-item.is-unread { background: #f4f8ff; border-color: #d6e2fb; } .pj-inbox-icon { color: #4573d2; font-size: 22px; flex: 0 0 auto; } .pj-inbox-body { flex: 1; } -.pj-inbox-title { font-size: 14px; font-weight: 600; } +.pj-inbox-title { font-size: var(--pj-text-size); font-weight: 400; line-height: var(--pj-text-leading); } .pj-inbox-item.is-unread .pj-inbox-title::before { content: "●"; color: #4573d2; font-size: 9px; vertical-align: middle; margin-right: 6px; } -.pj-inbox-sub { font-size: 12.5px; color: #525860; margin-top: 2px; } -.pj-inbox-meta { font-size: 11px; color: #9aa1a9; margin-top: 4px; } +.pj-inbox-sub { font-size: var(--pj-text-size); color: #525860; margin-top: 2px; line-height: var(--pj-text-leading); font-weight: 400; } +.pj-inbox-meta { font-size: var(--pj-small-size); color: #9aa1a9; margin-top: 4px; line-height: var(--pj-small-leading); font-weight: 400; } .pj-inbox-go { align-self: center; padding: 4px 12px; font-size: 12px; } /* ── 우클릭 컨텍스트 메뉴 — 클릭 좌표 기준 고정 위치(.pj-daypop 은 앵커 @@ -1419,12 +1431,12 @@ img.pj-person-ic { width: 22px; height: 22px; } .pj-assignee-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; margin: 0; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; - background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--pj-ink); - cursor: pointer; text-align: left; + background: transparent; font: inherit; font-size: var(--pj-text-size); font-weight: 400; color: var(--pj-ink); + cursor: pointer; text-align: left; line-height: var(--pj-text-leading); } .pj-assignee-btn:hover, .pj-assignee-btn:focus-visible { border-color: var(--pj-border); background: #f6f7f8; outline: none; } .pj-assignee-btn:disabled { cursor: default; opacity: .6; } -.pj-assignee-btn.is-empty { color: var(--pj-ink-soft); font-weight: 500; } +.pj-assignee-btn.is-empty { color: var(--pj-ink-soft); font-weight: 400; } .pj-assignee-btn-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pj-meta-cell-assignee .pj-assignee-btn { max-width: 150px; } /* 하위 업무 줄/추가 폼 — 폭 고정, 글자 작게 */ @@ -1522,8 +1534,8 @@ img.pj-person-ic { width: 22px; height: 22px; } .pj-side-navlink { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border: none; background: transparent; border-radius: 8px; - color: var(--pj-ink); font-size: 13.5px; font-weight: 700; text-decoration: none; - cursor: pointer; text-align: left; + color: var(--pj-ink); font-size: var(--pj-text-size); font-weight: 400; text-decoration: none; + cursor: pointer; text-align: left; line-height: var(--pj-text-leading); } .pj-side-navlink:hover { background: #f1f2f4; } .pj-side-navic { font-size: 20px; color: #5f6368; flex: 0 0 auto; } @@ -1839,7 +1851,8 @@ html.pj-embed .pj-btn-goto-project { display: inline-flex; align-items: center; /* ── 수신함 섹션 (알림 / 나를 태그한 업무) ── */ .pj-inbox-section { margin-bottom: 26px; } -.pj-inbox-h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #6b7280; margin: 0 0 10px; } +.pj-inbox-view .pj-main > .pj-section-head h2 { font-size: var(--pj-heading-size); line-height: var(--pj-heading-leading); font-weight: 500; } +.pj-inbox-h3 { display: flex; align-items: center; gap: 8px; font-size: var(--pj-section-size); font-weight: 500; color: #6b7280; margin: 0 0 10px; line-height: var(--pj-section-leading); } .pj-inbox-count { padding: 1px 7px; border-radius: 999px; background: #fbe3df; color: #c22b10; font-size: 11px; font-weight: 700; } .pj-inbox-count[hidden] { display: none; } .pj-inbox-title.is-done { text-decoration: line-through; color: #9aa1a9; } @@ -1866,7 +1879,7 @@ html.pj-embed .pj-btn-goto-project { display: inline-flex; align-items: center; .pj-mytasks-table td { vertical-align: middle; } .pj-mtk-check { width: 34px; text-align: center; } .pj-mtk-check input[type="checkbox"] { width: auto; margin: 0; cursor: pointer; } -.pj-mtk-name { font-weight: 600; } +.pj-mtk-name { font-weight: 400; } .pj-mtk-proj, .pj-mtk-stage { width: 160px; color: var(--pj-ink-soft); font-size: 12.5px; } .pj-mtk-pri { width: 88px; } .pj-mtk-date { width: 108px; font-size: 12.5px; color: var(--pj-ink-soft); } @@ -1881,7 +1894,7 @@ html.pj-embed .pj-btn-goto-project { display: inline-flex; align-items: center; .pj-mtk-row.pj-mtk-subrow td { background: #fafbfc; } .pj-mtk-row.pj-mtk-subrow:hover td { background: #f1f2f4; } .pj-mtk-row.pj-mtk-subrow .pj-mtk-title { display: flex; align-items: center; } -.pj-mtk-row.pj-mtk-subrow .pj-mtk-name { font-weight: 500; } +.pj-mtk-row.pj-mtk-subrow .pj-mtk-name { font-weight: 400; } .pj-mtk-tree-branch { position: relative; display: inline-block; flex: 0 0 20px; width: 20px; align-self: stretch; margin-right: 2px; @@ -1925,7 +1938,7 @@ html.pj-embed .pj-btn-goto-project { display: inline-flex; align-items: center; .pj-side-search input { width: 100%; box-sizing: border-box; height: 34px; padding: 0 10px 0 32px; border: 1px solid var(--pj-border); border-radius: 8px; background: #f7f8f9; - font-size: 13px; font-family: inherit; color: var(--pj-ink); + font-size: var(--pj-text-size); font-family: inherit; color: var(--pj-ink); line-height: var(--pj-text-leading); font-weight: 400; } .pj-side-search input:focus { outline: none; background: #fff; border-color: var(--pj-accent); box-shadow: 0 0 0 3px var(--pj-accent-tint); } .pj-search-results { @@ -1953,7 +1966,7 @@ html.pj-embed .pj-btn-goto-project { display: inline-flex; align-items: center; border: 1px solid var(--pj-border); border-radius: 8px; background: #fff; flex: 0 1 280px; min-width: 180px; } .pj-fb-search .material-symbols-outlined { font-size: 18px; color: #8a9099; } -.pj-fb-search input { border: none; outline: none; background: transparent; font-size: 13px; font-family: inherit; width: 100%; color: var(--pj-ink); } +.pj-fb-search input { border: none; outline: none; background: transparent; font-size: var(--pj-text-size); font-family: inherit; width: 100%; color: var(--pj-ink); line-height: var(--pj-text-leading); font-weight: 400; } .pj-fb-search.is-set { border-color: var(--pj-accent); background: var(--pj-accent-tint); } .pj-fb-search:focus-within { border-color: var(--pj-accent); } .pj-fb-select { @@ -1999,7 +2012,7 @@ html.pj-embed .pj-btn-goto-project { display: inline-flex; align-items: center; .pj-trash-note { font-size: 12.5px; color: var(--pj-ink-soft); } .pj-trash-table { width: 100%; } .pj-trash-table th, .pj-trash-table td { white-space: nowrap; } -.pj-trash-table td.pj-trash-title { white-space: normal; font-weight: 600; color: var(--pj-ink); min-width: 220px; } +.pj-trash-table td.pj-trash-title { white-space: normal; font-weight: 400; color: var(--pj-ink); min-width: 220px; } .pj-trash-meta { color: var(--pj-ink-soft); font-size: 12.5px; } .pj-trash-act { text-align: right; } .pj-trash-table tr.is-restored td { opacity: .55; } @@ -2037,8 +2050,8 @@ html.pj-ui-scale .pj-modal-chat { max-height: calc(92vh / var(--pj-z)); } .pj-side-goal-years { display: flex; flex-direction: column; gap: 1px; padding: 2px 0 4px 37px; } .pj-side-goal-years[hidden] { display: none; } .pj-side-goal-year { - display: block; padding: 5px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; - color: var(--pj-ink); text-decoration: none; + display: block; padding: 5px 8px; border-radius: 6px; font-size: var(--pj-text-size); font-weight: 400; + color: var(--pj-ink); text-decoration: none; line-height: var(--pj-text-leading); } .pj-side-goal-year:hover { background: #f1f2f4; } .pj-side-goal-year.is-active { background: var(--pj-accent-tint); color: var(--pj-accent-dark); } @@ -2048,8 +2061,8 @@ html.pj-ui-scale .pj-modal-chat { max-height: calc(92vh / var(--pj-z)); } } .pj-side-goal-add:hover { background: #f1f2f4; color: var(--pj-ink); } -/* 목표·회의록 제목 — 크게(32px)·굵게 */ -.pj-goal-view h2.pj-goal-title { font-size: 32px; font-weight: 800; letter-spacing: -.6px; line-height: 1.2; } +/* 목표·회의록 제목 — 아사나 프로젝트 제목과 같은 20px/28px, 굵기 500 */ +.pj-goal-view h2.pj-goal-title { font-size: var(--pj-heading-size); font-weight: 500; letter-spacing: normal; line-height: var(--pj-heading-leading); } /* 표는 화면 폭 전체 — 내 작업·수신함의 읽기 폭 제한(1180px)을 푼다 */ .pj-goal-view .pj-main { max-width: none; } .pj-goal-head-acts { display: flex; align-items: center; gap: 10px; } @@ -2068,8 +2081,8 @@ html.pj-ui-scale .pj-modal-chat { max-height: calc(92vh / var(--pj-z)); } /* width: 1px — table-layout: fixed 는 표 너비가 auto 가 아닐 때만 먹는다. 표는 칸 너비 합만큼 늘어나고, 칸 너비가 머리 칸 width 로만 정해져야 분기 접기 애니메이션이 양방향으로 부드럽다(auto 면 펼 때 한 번에 튄다). */ .pj-goal-table { - width: 1px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 12.5px; - color: var(--pj-ink); background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; + width: 1px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: var(--pj-text-size); + color: var(--pj-ink); background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; line-height: var(--pj-text-leading); } /* 칸 너비는 여백·테두리 포함(border-box) — 안 그러면 padding 만큼 넓어진다 */ .pj-goal-table th, .pj-goal-table td { @@ -2087,7 +2100,7 @@ html.pj-ui-scale .pj-modal-chat { max-height: calc(92vh / var(--pj-z)); } .pj-goal-table thead th.is-now { color: var(--pj-accent-dark); box-shadow: inset 0 -2px 0 var(--pj-accent); } /* 왼쪽 고정 두 칸(구분·항목) — 너비는 머리 칸 오른쪽 끝을 끌어 조절(initGoals, localStorage pj_goal_col_w). --goal-c1-w 가 c2 의 left 도 같이 정한다. */ -.pj-goal-table { --goal-c1-w: 72px; --goal-c2-w: 72px; } +.pj-goal-table { --goal-c1-w: 72px; --goal-c2-w: 72px; font-size: var(--pj-text-size); line-height: var(--pj-text-leading); } .pj-goal-c1, .pj-goal-c2 { position: sticky; z-index: 2; background: #fff; text-align: center; font-weight: 700; } @@ -2134,7 +2147,7 @@ input.pj-goal-num:focus { outline: 2px solid var(--pj-accent); outline-offset: - /* 업무 영역 — 영역 색(--goal-bg)이 줄 전체 배경(스프레드시트처럼) */ .pj-goal-area > tr > th, .pj-goal-area > tr > td { background: var(--goal-bg, #fff); border-color: rgba(0, 0, 0, .07); } .pj-goal-area > tr:first-child > * { border-top: 1px solid rgba(0, 0, 0, .12); } -.pj-goal-area-name { font-size: 13px; font-weight: 800 !important; } +.pj-goal-area-name { font-size: var(--pj-text-size); font-weight: 500 !important; } .pj-goal-area-text, .pj-goal-row-text { display: block; word-break: keep-all; overflow-wrap: anywhere; } /* 구역·항목 칸 메뉴(색·순서·줄 추가·삭제)는 우클릭(project.js areaMenuItems·rowMenuItems) — 마우스 오버 도구 막대는 2026-10-01 요청으로 뺐다. 대신 칸 오른쪽 위 작은 ⋮ 버튼(.pj-goal-menu-btn, 관리자만) — 자리를 차지하지 않게 absolute, 평소 투명·칸에 마우스/포커스가 오면 보임. @@ -2156,7 +2169,7 @@ html.pj-goal-selecting .pj-goal-menu-btn { pointer-events: none; } @media print { .pj-goal-menu-btn { display: none !important; } } textarea.pj-goal-text { display: block; width: 100%; box-sizing: border-box; min-height: 46px; padding: 6px; border: none; - background: transparent; font: inherit; line-height: 1.5; color: inherit; resize: none; overflow: hidden; + background: transparent; font: inherit; line-height: var(--pj-text-leading); color: inherit; resize: none; overflow: hidden; } /* 입력 중인 칸 — 테두리·밝은 배경은 입력칸(글 높이만큼)이 아니라 칸 전체(td)에 */ textarea.pj-goal-text:focus { outline: none; } @@ -2165,7 +2178,7 @@ textarea.pj-goal-text:focus { outline: none; } background-image: linear-gradient(rgba(255, 255, 255, .75), rgba(255, 255, 255, .75)); } textarea.pj-goal-text::placeholder { color: rgba(0, 0, 0, .3); } -.pj-goal-text-ro { min-height: 46px; padding: 6px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; } +.pj-goal-text-ro { min-height: 46px; padding: 6px; line-height: var(--pj-text-leading); white-space: pre-wrap; overflow-wrap: anywhere; } .pj-goal-area td.is-now { box-shadow: inset 2px 0 0 rgba(123, 104, 238, .35), inset -2px 0 0 rgba(123, 104, 238, .35); } .pj-goal-texttd.pj-goal-year-col { font-weight: 600; } /* 가로 스크롤 때 3열(구분·항목·연간)까지 고정 — 연간 열 left = 1열 + 2열 너비, 오른쪽에 경계 그림자. @@ -2292,7 +2305,7 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important; ════════════════════════════════════════════════════════════ */ .pj-meet-pane { flex: 1 1 auto; min-height: 0; overflow: auto; } .pj-meet-title { display: flex; align-items: center; gap: 8px; } -.pj-meet-title h2 { margin: 0 6px 0 0; } +.pj-meet-title h2 { margin: 0 6px 0 0; font-size: var(--pj-heading-size); line-height: var(--pj-heading-leading); font-weight: 500; letter-spacing: normal; } /* 연간 목표로 가는 큰 버튼(회의록 제목 왼쪽) */ .pj-meet-goalbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; margin-right: 6px; border-radius: 12px; @@ -2409,7 +2422,7 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important; /* 이 달 계획 — 연간 목표 표의 그 달 열(업무 영역별 작은 카드) */ .pj-meet-plan { margin: 0 0 10px; padding: 8px 10px; border: 1px solid var(--pj-border); border-radius: 10px; background: #fff; } -.pj-meet-plan-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; margin-bottom: 6px; } +.pj-meet-plan-head { display: flex; align-items: center; gap: 6px; font-size: var(--pj-text-size); font-weight: 500; margin-bottom: 6px; line-height: 20px; color: var(--pj-ink); } .pj-meet-plan-head .material-symbols-outlined { font-size: 18px; color: var(--pj-accent); } .pj-meet-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; } .pj-meet-plan-area { padding: 6px 8px; border-radius: 8px; background: var(--goal-bg, #f4f5f7); font-size: 12px; line-height: 1.45; min-width: 0; } @@ -2461,8 +2474,8 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important; .pj-meet-pick-empty { margin: 10px 4px; color: var(--pj-ink-soft); font-size: 12.5px; } .pj-meet-table { - width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 12.5px; - background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; color: var(--pj-ink); + width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: var(--pj-text-size); + background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; color: var(--pj-ink); line-height: var(--pj-text-leading); } .pj-meet-table th, .pj-meet-table td { box-sizing: border-box; border-right: 1px solid #e6e8eb; border-bottom: 1px solid #e6e8eb; padding: 0; vertical-align: top; @@ -2516,7 +2529,7 @@ th.pj-meet-c-label { position: relative; font-weight: 600; color: #3b4048; text- th.pj-meet-c-label:hover .pj-meet-more, .pj-meet-more:focus { opacity: 1; } textarea.pj-meet-text, .pj-meet-notes textarea { display: block; width: 100%; box-sizing: border-box; min-height: 38px; padding: 6px; border: none; background: transparent; - font: inherit; line-height: 1.5; color: inherit; resize: none; overflow: hidden; + font: inherit; line-height: var(--pj-text-leading); color: inherit; resize: none; overflow: hidden; } textarea.pj-meet-text:focus { outline: none; } .pj-meet-notes textarea:focus { outline: 2px solid var(--pj-accent); outline-offset: -2px; background: rgba(255, 255, 255, .8); } @@ -2525,7 +2538,7 @@ textarea.pj-meet-text:focus { outline: none; } box-shadow: inset 0 0 0 2px var(--pj-accent); background-image: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)); } -.pj-meet-ro { min-height: 38px; padding: 6px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; } +.pj-meet-ro { min-height: 38px; padding: 6px; line-height: var(--pj-text-leading); white-space: pre-wrap; overflow-wrap: anywhere; } .pj-meet-table td.pj-meet-c-amt { text-align: right; vertical-align: middle; padding: 0 6px; font-variant-numeric: tabular-nums; } input.pj-meet-amount { display: block; width: 100%; box-sizing: border-box; height: 34px; padding: 0 4px; border: none; background: transparent;