feat(project): 프로젝트 색상·아이콘을 아사나식으로(16색 + 아이콘 42종)
- 색상표: 아사나 프로젝트 16색(8칸×2줄, 고른 색에 체크), 새 프로젝트 기본 파랑. 예전 팔레트 색 프로젝트는 그대로 유지(수정 팝업이 첫 칸으로 바꾸지 않음) - 아이콘: 아사나 프로젝트 아이콘과 같은 종류 42개(Material Symbols, self-host 글꼴에 전부 있는 것 확인). 새 프로젝트·수정 팝업에 아이콘 격자(첫 칸 Aa=없음), 사이드바 배지·프로젝트 제목에 흰 아이콘 - DB: projects.icon (scripts/sql/project_db_011_project_icon.sql). 아이콘은 고르거나 바꿨을 때만 보내서 011 적용 전에도 다른 생성·수정은 그대로 동작, 아이콘을 고르면 "마이그레이션 011 필요" 안내(503) - 색상·아이콘 칸을 label 대신 div 로(글자를 누르면 첫 버튼이 눌리던 문제) - 정적 파일 버전 20260926h Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+28
-3
@@ -128,6 +128,7 @@
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
color: #fff; font-size: 11px; font-weight: 700;
|
||||
}
|
||||
.pj-tree-avatar .pj-proj-ic { font-size: 16px; color: #fff; }
|
||||
.pj-tree-name { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.pj-tree-acts { display: none; gap: 0; flex: 0 0 auto; }
|
||||
.pj-tree-row:hover .pj-tree-acts { display: inline-flex; }
|
||||
@@ -169,6 +170,8 @@
|
||||
color: #6b7280; font-size: 15px; line-height: 1; cursor: pointer;
|
||||
}
|
||||
.pj-title-addmember:hover { border-style: solid; border-color: var(--pj-accent); color: var(--pj-accent); }
|
||||
/* 제목 알약 안 프로젝트 아이콘 */
|
||||
.pj-pill-ic { font-size: 26px; vertical-align: -5px; margin-right: 8px; }
|
||||
.pj-project-title-pill {
|
||||
display: inline-block; max-width: 100%; vertical-align: middle;
|
||||
font-size: 22px; font-weight: 800; color: #fff;
|
||||
@@ -631,9 +634,31 @@
|
||||
.pj-btn-complete:hover { background: #d9f2e4; }
|
||||
.pj-btn-complete.is-done { background: #f2f2f4; color: #6b6f76; border-color: var(--pj-border); }
|
||||
|
||||
.pj-color-palette, #pj-f-colors { display: flex; gap: 8px; margin-top: 6px; }
|
||||
.pj-color-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
|
||||
.pj-color-swatch.is-active { border-color: #1e1f21; box-shadow: 0 0 0 2px #fff inset; }
|
||||
/* 색상표(아사나) — 8칸씩 둥근 네모, 고른 색엔 체크 */
|
||||
.pj-color-palette, #pj-f-colors { display: grid; grid-template-columns: repeat(8, 26px); gap: 8px; margin-top: 6px; }
|
||||
.pj-color-swatch {
|
||||
position: relative; width: 26px; height: 26px; padding: 0; border: none; border-radius: 6px; cursor: pointer;
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
|
||||
}
|
||||
.pj-color-swatch:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
|
||||
.pj-color-swatch.is-active::after {
|
||||
content: "check"; font-family: "Material Symbols Outlined"; font-size: 18px; line-height: 26px;
|
||||
position: absolute; inset: 0; text-align: center; color: #1e1f21;
|
||||
-webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
|
||||
}
|
||||
/* 프로젝트 아이콘 고르기(아사나) — 회색 아이콘 격자, 고른 것은 보라 강조. 길면 칸 안에서 스크롤 */
|
||||
.pj-icon-palette {
|
||||
display: grid; grid-template-columns: repeat(auto-fill, 38px); gap: 6px; margin-top: 6px;
|
||||
max-height: 186px; overflow-y: auto; padding: 2px;
|
||||
}
|
||||
.pj-icon-pick {
|
||||
width: 38px; height: 38px; padding: 0; border: none; border-radius: 8px; background: transparent;
|
||||
color: #6d6e6f; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.pj-icon-pick .material-symbols-outlined { font-size: 24px; }
|
||||
.pj-icon-pick:hover { background: #f1f2f4; color: var(--pj-ink); }
|
||||
.pj-icon-pick.is-active { background: var(--pj-accent-tint); color: var(--pj-accent); box-shadow: inset 0 0 0 1.5px var(--pj-accent); }
|
||||
.pj-icon-pick-aa { font-size: 14px; font-weight: 800; }
|
||||
|
||||
/* ── 알림 벨 ── */
|
||||
.pj-toolbar-right { display: flex; align-items: center; gap: 12px; }
|
||||
|
||||
Reference in New Issue
Block a user