/* 프로젝트 관리(아사나식) 모듈 스타일. * 기존 erp.css 토큰 위에 아사나 느낌(밝은 캔버스, 색 점, 칸반 컬럼)을 얹는다. */ .pj-wrap { padding: 4px 2px 40px; } /* ── 버튼 ── */ .pj-btn { border: 1px solid #d8dce2; background: #fff; color: #1e1f21; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s; } .pj-btn:hover { background: #f6f7f8; } .pj-btn-primary { background: #1e1f21; color: #fff; border-color: #1e1f21; } .pj-btn-primary:hover { background: #000; } .pj-btn-danger { background: #fff; color: #c22b10; border-color: #e6c4bd; } .pj-btn-danger:hover { background: #fbecea; } .pj-icon-btn { border: none; background: transparent; color: #6b7280; cursor: pointer; font-size: 16px; line-height: 1; width: 24px; height: 24px; border-radius: 6px; } .pj-icon-btn:hover { background: #eceef0; color: #1e1f21; } .pj-section-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; } .pj-section-head h2 { font-size: 16px; font-weight: 700; margin: 0; } .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; } .pj-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #eef0f2; color: #525860; font-size: 11px; font-weight: 600; } .pj-chip-sm { padding: 1px 6px; font-size: 10px; } /* ── 홈 ── */ .pj-home { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; } @media (max-width: 980px) { .pj-home { grid-template-columns: 1fr; } } .pj-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; } .pj-project-card { display: flex; gap: 12px; padding: 16px; border: 1px solid #e7e9ec; border-radius: 14px; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .14s, transform .1s; } .pj-project-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-1px); } .pj-project-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pj-color, #4573d2); margin-top: 5px; flex: 0 0 auto; } .pj-project-name { font-weight: 700; font-size: 15px; } .pj-project-desc { color: #6b7280; font-size: 12.5px; margin-top: 3px; } .pj-project-meta { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; } .pj-home-side { border-left: 1px solid #eef0f2; padding-left: 24px; } @media (max-width: 980px) { .pj-home-side { border-left: none; padding-left: 0; } } .pj-mytask-list { list-style: none; margin: 0; padding: 0; } .pj-mytask a { display: flex; align-items: center; gap: 8px; padding: 9px 6px; border-radius: 8px; text-decoration: none; color: inherit; } .pj-mytask a:hover { background: #f6f7f8; } .pj-mytask.is-done .pj-mytask-title { text-decoration: line-through; color: #9aa1a9; } .pj-mytask-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; } .pj-mytask-title { font-size: 13.5px; font-weight: 600; } .pj-mytask-meta { margin-left: auto; font-size: 11px; color: #9aa1a9; } /* ── 프로젝트 페이지 레이아웃 ── */ .pj-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; } @media (max-width: 900px) { .pj-layout { grid-template-columns: 1fr; } } .pj-side-block { margin-bottom: 22px; } .pj-side-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; } .pj-sub-list, .pj-member-list { list-style: none; margin: 0; padding: 0; } .pj-sub-list li, .pj-member-list li { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-radius: 7px; } .pj-sub-list li:hover, .pj-member-list li:hover { background: #f6f7f8; } .pj-sub-list a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; font-size: 13.5px; flex: 1; } .pj-sub-dot { width: 8px; height: 8px; border-radius: 50%; } .pj-member-name { font-size: 13px; flex: 1; } .pj-avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #d6e0f5; color: #2b4a85; font-size: 11px; font-weight: 700; flex: 0 0 auto; } .pj-avatar-sm { width: 20px; height: 20px; font-size: 10px; } /* ── 툴바 + 탭 ── */ .pj-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .pj-view-tabs { display: inline-flex; background: #eef0f2; border-radius: 10px; padding: 3px; gap: 2px; } .pj-tab { border: none; background: transparent; padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #525860; cursor: pointer; } .pj-tab.is-active { background: #fff; color: #1e1f21; box-shadow: 0 1px 3px rgba(0,0,0,.08); } /* ── 보드(칸반) ── */ .pj-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; } .pj-col { flex: 0 0 272px; background: #f7f8f9; border-radius: 12px; padding: 10px; } .pj-col-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: 4px 6px 10px; } .pj-col-count { margin-left: auto; color: #9aa1a9; font-weight: 600; } .pj-col-body { display: flex; flex-direction: column; gap: 8px; min-height: 40px; border-radius: 8px; } .pj-col-body.is-over { background: #e6ecfa; outline: 2px dashed #aebfe6; } .pj-card { background: #fff; border: 1px solid #e7e9ec; border-radius: 10px; padding: 10px 12px; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04); } .pj-card:hover { border-color: #c9cdd3; } .pj-card.is-dragging { opacity: .5; } .pj-card.is-done .pj-card-title { text-decoration: line-through; color: #9aa1a9; } .pj-card-title { font-size: 13.5px; font-weight: 600; } .pj-card-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; } .pj-card-due { margin-left: auto; font-size: 11px; color: #9aa1a9; } .pj-pri { padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; } .pj-pri-high { background: #fbe3df; color: #c22b10; } .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: #6b7280; font-size: 12px; } .pj-table td { padding: 10px; border-bottom: 1px solid #f1f2f4; } .pj-table tr.is-done td { color: #9aa1a9; text-decoration: line-through; } /* ── 달력/타임라인 컨테이너 ── */ #pj-calendar { background: #fff; border-radius: 12px; padding: 10px; } #pj-timeline { background: #fff; border-radius: 12px; padding: 6px; } .fc { font-size: 13px; } /* ── 모달 ── */ .pj-modal { position: fixed; inset: 0; background: rgba(20,22,26,.46); display: flex; align-items: center; justify-content: center; z-index: 1000; } .pj-modal[hidden] { display: none; } .pj-modal-card { background: #fff; border-radius: 16px; padding: 22px; width: min(480px, 92vw); box-shadow: 0 20px 60px rgba(0,0,0,.25); } .pj-modal-card h3 { margin: 0 0 16px; font-size: 17px; } .pj-modal-card label { display: block; font-size: 12.5px; font-weight: 600; color: #525860; margin-bottom: 12px; } .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; } .pj-form-row { display: flex; gap: 12px; } .pj-form-row label { flex: 1; } .pj-modal-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .pj-modal-actions .pj-btn:last-child { } .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; }