feat: 3-section dashboard, reference dual-monitor layout, and detail dock
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1422,3 +1422,440 @@ body,
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* ─── 앱 셸: 보드 + 우측 상세 도킹 (dashboard-260504 참고) ─── */
|
||||
.app-shell {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
width: 100vw;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: auto;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-shell:not(.detail-docked) .app-main {
|
||||
flex: 0 0 100vw;
|
||||
width: 100vw;
|
||||
min-width: 100vw;
|
||||
}
|
||||
|
||||
.app-shell.detail-docked .app-main {
|
||||
flex: auto;
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.app-shell.dual-mode-parent .app-right {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.app-shell.dual-mode-parent .app-main {
|
||||
flex: 0 0 100vw;
|
||||
width: 100vw;
|
||||
min-width: 100vw;
|
||||
}
|
||||
|
||||
.app-right {
|
||||
position: relative;
|
||||
flex: auto;
|
||||
min-width: 0;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(135deg, #fbfaf8, #eef5f1);
|
||||
border-left: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.app-right:not(.detail-open) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-right.detail-open {
|
||||
z-index: 1000;
|
||||
display: block;
|
||||
flex: 0 0 clamp(400px, 35vw, 600px);
|
||||
width: clamp(400px, 35vw, 600px);
|
||||
box-shadow: -10px 0 30px #0000000d;
|
||||
}
|
||||
|
||||
.detail-popup-view {
|
||||
width: 100vw;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.detail-popup-view .app-right {
|
||||
display: block;
|
||||
flex: auto;
|
||||
width: 100vw;
|
||||
min-width: 100vw;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/* ─── 대시보드 3부문 보드 — 상단 헤더 그린 톤 통일 ─── */
|
||||
.board-main {
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.board-grid {
|
||||
display: grid;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid #135643;
|
||||
}
|
||||
|
||||
.board-dept-column {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
border-right: 1px solid #c8dfd5;
|
||||
background: #f8fcfa;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.board-dept-column:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.board-dept-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-shrink: 0;
|
||||
padding: 14px 20px 10px;
|
||||
border-bottom: 3px solid #29724f;
|
||||
background: linear-gradient(180deg, #f8fcfa 0%, #f0f7f4 100%);
|
||||
}
|
||||
|
||||
.board-dept-header-main {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.board-dept-title-wrap {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.board-dept-title {
|
||||
margin: 0;
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.6px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.board-dept-title-en {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.board-dept-subtitle {
|
||||
margin: 4px 0 0;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #5a6b62;
|
||||
}
|
||||
|
||||
/* 상단 현황판(poly-stat)처럼 — 숫자 크게, 건은 오른쪽 */
|
||||
.board-dept-count-badge {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: baseline;
|
||||
justify-content: flex-end;
|
||||
flex-shrink: 0;
|
||||
line-height: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.board-dept-count-val {
|
||||
font-size: 28px;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.board-dept-count-unit {
|
||||
margin-left: 2px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.board-project-list {
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 8px 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
background: #f8fcfa;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.board-project-list.is-over {
|
||||
background: #eef6f2;
|
||||
}
|
||||
|
||||
.board-empty {
|
||||
display: flex;
|
||||
height: 120px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #8a9a92;
|
||||
}
|
||||
|
||||
/* 상태 점 — 헤더 통계 색과 동일 계열 */
|
||||
.board-status-dot {
|
||||
flex-shrink: 0;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
margin-top: 9px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.board-status-dot--ongoing {
|
||||
background-color: #37a184;
|
||||
}
|
||||
|
||||
.board-status-dot--hold {
|
||||
background-color: #ff8b13;
|
||||
}
|
||||
|
||||
.board-status-dot--done {
|
||||
background-color: #73726f;
|
||||
}
|
||||
|
||||
.board-project-card {
|
||||
cursor: grab;
|
||||
user-select: none;
|
||||
position: relative;
|
||||
padding: 10px 4px 12px;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
border-bottom: 1px solid #dce8e3;
|
||||
background: transparent;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.board-project-card:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.board-project-card:hover {
|
||||
background: linear-gradient(180deg, #f2f9f6 0%, #eaf3ef 100%);
|
||||
}
|
||||
|
||||
.board-project-card--overlay {
|
||||
opacity: 0.92;
|
||||
background: #f8fcfa;
|
||||
border: 1px solid #a8cfc0;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgba(7, 65, 46, 0.12);
|
||||
padding: 12px 16px;
|
||||
}
|
||||
|
||||
.board-project-card:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.board-project-top {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.board-project-main {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.board-project-title-row {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.board-project-title {
|
||||
color: #0a2e24;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.board-project-date {
|
||||
margin: 5px 0 0 18px;
|
||||
color: #5a6b62;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.board-project-desc {
|
||||
margin: 4px 0 0 18px;
|
||||
color: #3d5248;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 1.45;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.board-project-issue {
|
||||
margin: 4px 0 0 18px;
|
||||
color: #c0392b;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 반원 진행률 */
|
||||
.board-gauge {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 88px;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.board-gauge-svg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.board-gauge-value {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: var(--gauge-cy, 82%);
|
||||
transform: translate(-50%, -50%);
|
||||
color: #29724f;
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.board-routine-section {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 200px;
|
||||
max-height: 42%;
|
||||
padding: 12px 16px 16px;
|
||||
border-top: 2px solid #c8dfd5;
|
||||
transition: background 0.2s, filter 0.2s;
|
||||
}
|
||||
|
||||
.board-routine-section.is-over {
|
||||
filter: brightness(0.98);
|
||||
background-color: #e4f2ec !important;
|
||||
}
|
||||
|
||||
.board-routine-list {
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.board-routine-empty {
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.board-routine-item {
|
||||
cursor: grab;
|
||||
user-select: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #c8dfd5;
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
transition: background 0.2s, transform 0.2s, border-color 0.2s;
|
||||
}
|
||||
|
||||
.board-routine-item:hover {
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
border-color: #a8cfc0;
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.board-routine-item:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.board-routine-item .board-status-dot {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.board-routine-name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #0a2e24;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.board-project-list::-webkit-scrollbar,
|
||||
.board-routine-list::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.board-project-list::-webkit-scrollbar-thumb,
|
||||
.board-routine-list::-webkit-scrollbar-thumb {
|
||||
background: #c8dfd5;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.board-project-list::-webkit-scrollbar-thumb:hover,
|
||||
.board-routine-list::-webkit-scrollbar-thumb:hover {
|
||||
background: #a8cfc0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user