feat(project): 실시간 저장·댓글 답글/반응·완료 이력·수신함 오른쪽 작업 창·화면 배율 토글
- 작업 창 저장 버튼 제거 → 칸별 실시간 저장(새 작업은 제목 입력 시 생성) - 댓글 답글·이모티콘 반응(마이그레이션 012), @태그 아이콘+이름 칩, 이모티콘 선택기 - 작업 완료 시 댓글 사이에 "OO 님이 이 작업을 완료했습니다" 이력 표시 - 수신함 "확인" → 페이지 이동 없이 오른쪽 패널(iframe embed)에 작업 창 - 프로젝트 제목 클릭 수정, 긴 작업 제목 자동 줄바꿈 - 상단 바 화면 배율 토글(2880x1620·200%용, .erp-app zoom .75) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+169
-2
@@ -180,6 +180,12 @@
|
||||
background: var(--pj-color, var(--pj-accent)); border-radius: 14px; padding: 8px 24px;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||
}
|
||||
/* 제목 바로 수정 — 마우스를 올리면 점선 테두리 + 글자 커서, 편집 중엔 흰 테두리 */
|
||||
.pj-project-title-pill.is-editable { cursor: text; box-shadow: 0 0 0 2px transparent; transition: box-shadow .12s; }
|
||||
.pj-project-title-pill.is-editable:hover { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 4px var(--pj-color, var(--pj-accent)); }
|
||||
.pj-project-title-pill.is-editing { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pj-color, var(--pj-accent)); text-overflow: clip; }
|
||||
.pj-pill-name { outline: none; }
|
||||
.pj-pill-name[contenteditable="true"] { display: inline-block; min-width: 2em; white-space: pre; }
|
||||
/* 현재 활성 뷰(보드/리스트/달력/타임라인)가 pj-main 의 남은 세로 공간을
|
||||
차지 — 뷰 하나만 자체 스크롤(다른 칸과 스크롤이 서로 안 얽히게). 보드는
|
||||
내부에 pj-board 자체 스크롤 컨테이너가 따로 있어 여기선 넘침을 숨긴다. */
|
||||
@@ -589,9 +595,11 @@
|
||||
안에서 글자가 세로 가운데에 오도록 한다(한 줄짜리 input 표준 기법). */
|
||||
.pj-t-title-input {
|
||||
display: block; width: 100%; border: none !important; background: transparent !important;
|
||||
height: 40px; line-height: 40px; font-size: 19px !important; font-weight: 700;
|
||||
padding: 0 4px !important; margin: 4px 0 8px !important;
|
||||
min-height: 40px; line-height: 1.4; font-size: 19px !important; font-weight: 700;
|
||||
padding: 7px 4px !important; margin: 4px 0 8px !important;
|
||||
color: var(--pj-ink); box-sizing: border-box;
|
||||
/* textarea — 긴 제목은 다음 줄로(높이는 JS fitTitleHeight 가 맞춘다) */
|
||||
resize: none; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere;
|
||||
}
|
||||
.pj-t-title-input:focus { outline: none; background: #f6f7f8 !important; border-radius: 8px; }
|
||||
/* 하위 업무 팝업 — 제목 위 상위 업무 경로(아사나식). 누르면 상위 업무로 */
|
||||
@@ -1507,6 +1515,150 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-mention-opt .pj-avatar, .pj-mention-opt .pj-gicon { flex: 0 0 auto; }
|
||||
.pj-mention-empty { padding: 8px; font-size: 12.5px; color: #9aa1a9; }
|
||||
|
||||
/* 댓글 이모티콘 — 입력칸 옆 버튼 + 선택 팝업(구글 챗 모양) */
|
||||
.pj-emoji-btn {
|
||||
display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
|
||||
width: 34px; height: 34px; padding: 0; border: none; background: transparent;
|
||||
border-radius: 8px; color: #5f6368; cursor: pointer;
|
||||
}
|
||||
.pj-emoji-btn:hover { background: #f1f2f4; }
|
||||
.pj-emoji-btn .material-symbols-outlined { font-size: 20px; }
|
||||
.pj-emoji-picker {
|
||||
position: fixed; z-index: 1300; width: 352px; max-width: calc(100vw - 16px);
|
||||
display: flex; flex-direction: column;
|
||||
background: #fff; border: 1px solid #d8dce2; border-radius: 12px;
|
||||
box-shadow: 0 8px 28px rgba(0,0,0,.18); overflow: hidden;
|
||||
}
|
||||
.pj-emoji-picker[hidden] { display: none; }
|
||||
.pj-emoji-top { padding: 10px 10px 6px; }
|
||||
.pj-emoji-search {
|
||||
display: flex; align-items: center; gap: 6px; padding: 0 10px; height: 34px;
|
||||
border: 1px solid #d8dce2; border-radius: 17px; background: #f6f7f9;
|
||||
}
|
||||
.pj-emoji-search .material-symbols-outlined { font-size: 18px; color: #6b7280; }
|
||||
.pj-emoji-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 13px; font-family: inherit; }
|
||||
.pj-emoji-tabs { display: flex; justify-content: space-between; padding: 0 6px 4px; border-bottom: 1px solid #eceef1; }
|
||||
.pj-emoji-tabs button {
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
width: 32px; height: 32px; padding: 0; border: none; background: transparent;
|
||||
border-radius: 8px; color: #5f6368; cursor: pointer;
|
||||
}
|
||||
.pj-emoji-tabs button:hover { background: #f1f2f4; color: #1e1f21; }
|
||||
.pj-emoji-tabs .material-symbols-outlined { font-size: 20px; }
|
||||
.pj-emoji-body { position: relative; height: 280px; overflow-y: auto; padding: 4px 8px 8px; }
|
||||
.pj-emoji-sec { font-size: 12px; font-weight: 600; color: #4b5563; padding: 8px 4px 4px; }
|
||||
.pj-emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); }
|
||||
.pj-emoji-opt {
|
||||
height: 38px; padding: 0; border: none; background: transparent; border-radius: 8px; cursor: pointer;
|
||||
font-size: 24px; line-height: 1;
|
||||
font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
|
||||
}
|
||||
.pj-emoji-opt:hover { background: #f1f2f4; }
|
||||
.pj-emoji-empty { padding: 24px 8px; text-align: center; font-size: 12.5px; color: #9aa1a9; }
|
||||
|
||||
/* 수신함 오른쪽 패널 — 프로젝트 화면을 ?embed=1 로 iframe 에 띄우고 작업 창만 보인다 */
|
||||
html.pj-embed .erp-sidebar, html.pj-embed .erp-topbar, html.pj-embed .pj-wrap { display: none !important; }
|
||||
html.pj-embed #pj-modal-task { background: transparent; }
|
||||
html.pj-embed #pj-modal-task .pj-task-modal-card {
|
||||
width: 100% !important; max-width: none; min-width: 0; transform: none !important;
|
||||
box-shadow: none; border-radius: 0; transition: none;
|
||||
}
|
||||
html.pj-embed .pj-task-panel-resizer { display: none; }
|
||||
.pj-inbox-panel {
|
||||
position: fixed; top: 0; right: 0; bottom: 0; z-index: 900;
|
||||
width: min(640px, 92vw); background: #fff;
|
||||
box-shadow: -8px 0 28px rgba(0,0,0,.14); border-left: 1px solid #e1e4e8;
|
||||
transform: translateX(100%); transition: transform .22s ease;
|
||||
}
|
||||
.pj-inbox-panel.is-open { transform: translateX(0); }
|
||||
.pj-inbox-panel iframe { display: block; width: 100%; height: 100%; border: 0; }
|
||||
.pj-inbox-item.is-selected { border-color: var(--pj-accent, #4573d2); box-shadow: 0 0 0 1px var(--pj-accent, #4573d2) inset; }
|
||||
|
||||
/* 작업 창 실시간 저장 상태 — 저장 버튼 자리 */
|
||||
.pj-autosave-state { font-size: 12px; color: #9aa1a9; margin-right: 4px; white-space: nowrap; }
|
||||
.pj-autosave-state[data-state="saved"]::before { content: "✓ "; color: #2e9e5b; }
|
||||
.pj-autosave-state[data-state="error"] { color: #d93025; }
|
||||
|
||||
/* ── 댓글: @태그 칩 · 반응 · 답글 · 완료 이력 (아사나식) ── */
|
||||
.pj-mention-chip {
|
||||
display: inline-flex; align-items: center; gap: 4px; vertical-align: -3px;
|
||||
padding: 1px 7px 1px 2px; border-radius: 12px; background: #eceef1;
|
||||
font-weight: 600; color: #1e1f21; white-space: nowrap; line-height: 18px;
|
||||
}
|
||||
.pj-mention-chip .pj-avatar { width: 16px; height: 16px; }
|
||||
.pj-mention-chip .pj-gicon { font-size: 16px; width: 16px; height: 16px; color: #9aa1a9; }
|
||||
.pj-chat-msg.mine .pj-mention-chip { background: rgba(0,0,0,.08); }
|
||||
|
||||
.pj-react-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; }
|
||||
.pj-react-pill {
|
||||
display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px;
|
||||
border: 1px solid #e1e4e8; border-radius: 12px; background: #fff;
|
||||
font-size: 12px; color: #4b5563; cursor: pointer;
|
||||
}
|
||||
.pj-react-pill:hover { border-color: #b9bfc7; }
|
||||
.pj-react-pill.is-mine { background: #e8eefb; border-color: #9db4e6; color: #2f5bb7; font-weight: 600; }
|
||||
.pj-react-emo { font-size: 14px; line-height: 1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
|
||||
.pj-react-add {
|
||||
display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 24px;
|
||||
padding: 0; border: none; background: transparent; border-radius: 12px; color: #6b7280; cursor: pointer;
|
||||
}
|
||||
.pj-react-add:hover { background: #eceef1; }
|
||||
.pj-react-add .material-symbols-outlined { font-size: 18px; }
|
||||
|
||||
/* 마우스를 올리면 댓글 오른쪽 위에 뜨는 도구 모음 */
|
||||
.pj-comment-item, .pj-chat-bubble-wrap { position: relative; }
|
||||
.pj-cmt-hoverbar {
|
||||
position: absolute; top: -14px; right: 4px; z-index: 3;
|
||||
display: none; align-items: center; gap: 1px; padding: 2px;
|
||||
background: #fff; border: 1px solid #e1e4e8; border-radius: 9px;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,.12);
|
||||
}
|
||||
.pj-comment-item:hover > .pj-cmt-hoverbar,
|
||||
.pj-chat-bubble-wrap:hover > .pj-cmt-hoverbar { display: inline-flex; }
|
||||
.pj-cmt-hoverbar button {
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
width: 28px; height: 26px; padding: 0; border: none; background: transparent; border-radius: 6px;
|
||||
font-size: 15px; line-height: 1; color: #5f6368; cursor: pointer;
|
||||
font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
|
||||
}
|
||||
.pj-cmt-hoverbar button:hover { background: #f1f2f4; }
|
||||
.pj-cmt-hoverbar .material-symbols-outlined { font-size: 18px; }
|
||||
.pj-chat-msg.other .pj-cmt-hoverbar { right: auto; left: calc(100% - 40px); }
|
||||
|
||||
.pj-comment-thread { border-top: 1px solid #f0f1f3; padding-top: 2px; }
|
||||
.pj-comment-thread:first-child { border-top: none; }
|
||||
.pj-comment-replies { margin-left: 30px; }
|
||||
.pj-comment-item.is-reply { padding-top: 5px; padding-bottom: 5px; }
|
||||
.pj-reply-form { margin: 4px 0 8px; }
|
||||
.pj-reply-form input { padding: 5px 9px; font-size: 12.5px; }
|
||||
.pj-reply-form .pj-btn { padding: 5px 12px; font-size: 12px; }
|
||||
|
||||
.pj-comment-event, .pj-chat-event {
|
||||
display: flex; align-items: center; gap: 8px; padding: 8px 2px;
|
||||
font-size: 12.5px; color: #2e7d4f; border-top: 1px solid #f0f1f3;
|
||||
}
|
||||
.pj-comment-event b, .pj-chat-event b { font-weight: 700; }
|
||||
.pj-cmt-event-ic { font-size: 20px; color: #2e9e5b; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
|
||||
.pj-chat-event { align-self: center; border: none; padding: 3px 12px; background: #fff; border-radius: 14px; font-size: 12px; }
|
||||
.pj-chat-event .pj-cmt-event-ic { font-size: 16px; }
|
||||
|
||||
.pj-chat-quote {
|
||||
display: flex; align-items: center; gap: 3px; max-width: 100%;
|
||||
margin-bottom: 3px; padding: 2px 8px; border-left: 3px solid #b9bfc7; border-radius: 4px;
|
||||
background: rgba(255,255,255,.6); font-size: 11.5px; color: #6b7280;
|
||||
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
|
||||
}
|
||||
.pj-chat-quote .material-symbols-outlined { font-size: 14px; }
|
||||
.pj-chat-list > li:first-child { margin-top: 12px; } /* 첫 말풍선의 도구 모음이 잘리지 않게 */
|
||||
.pj-chat-quote b { color: #4b5563; margin-right: 3px; }
|
||||
.pj-chat-replying {
|
||||
display: flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 5px 8px;
|
||||
background: #f1f4fa; border-radius: 8px; font-size: 12px; color: #4b5563;
|
||||
}
|
||||
.pj-chat-replying[hidden] { display: none; }
|
||||
.pj-chat-replying > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
||||
.pj-chat-replying .material-symbols-outlined { font-size: 16px; }
|
||||
|
||||
/* 설명란 링크 — 클릭하면 새 탭으로 열린다(JS 가 처리). */
|
||||
.pj-desc-editor a { color: var(--pj-accent-dark, #2f5bb7); text-decoration: underline; cursor: pointer; }
|
||||
|
||||
@@ -1686,3 +1838,18 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
}
|
||||
.pj-help-btn .material-symbols-outlined { font-size: 22px; }
|
||||
.pj-help-btn:hover { background: var(--pj-accent-tint); border-color: var(--pj-accent); color: var(--pj-accent); }
|
||||
|
||||
/* ── 화면 배율(고해상도) 토글 — _help_btn.html 의 버튼이 html.pj-ui-scale 을 켠다.
|
||||
2880×1620·200% 는 CSS 화면 폭이 1440px 이라 1920 기준 화면이 꽉 차 보인다 → 앱 전체를
|
||||
0.75(=1440/1920)로 줄인다. zoom 안에서 vh·vw 도 같이 줄어들어 화면 높이만큼 쓰는 곳은
|
||||
배율로 나눠 되돌린다. 팝업(메뉴·말풍선·이모티콘 창 등)은 body 에 붙어 배율 밖이라
|
||||
원래 크기로 뜬다. (project.js UI_ZOOM 과 같은 값) */
|
||||
.pj-ui-scale-btn.is-on { background: var(--pj-accent); border-color: var(--pj-accent); color: #fff; }
|
||||
html.pj-ui-scale { --pj-z: 0.75; }
|
||||
html.pj-ui-scale .erp-app { zoom: var(--pj-z); height: calc(100vh / var(--pj-z)); }
|
||||
html.pj-ui-scale .erp-sidebar,
|
||||
html.pj-ui-scale .erp-content { height: calc(100vh / var(--pj-z)); }
|
||||
html.pj-ui-scale .pj-task-modal-card { height: calc(100vh / var(--pj-z)); max-height: calc(100vh / var(--pj-z)); max-width: calc(50vw / var(--pj-z)); }
|
||||
html.pj-ui-scale .pj-modal-card { max-height: calc(90vh / var(--pj-z)); }
|
||||
html.pj-ui-scale .pj-mt-list { max-height: calc(50vh / var(--pj-z)); }
|
||||
html.pj-ui-scale .pj-modal-chat { max-height: calc(92vh / var(--pj-z)); }
|
||||
|
||||
Reference in New Issue
Block a user