워크플로우 시스템 개선 및 캘린더 기능 추가
- presentation.html에 워크플로우 단계별 링크 추가 - 워크플로우 상세 페이지들의 뒤로가기 버튼을 presentation.html로 연결 - workflow-stage-1.html에 표준 스펙 관리 시스템 및 외주 vs 자체제작 결정 시스템 추가 - workflow-stage-4.html에 프로젝트 일정 캘린더 추가 (8월 자재 입고 일정 포함) - 워크플로우 페이지 스크롤 문제 해결 (CSS 수정) - 캘린더 테이블 기반으로 재구성하여 정확한 달력 형태 구현
This commit is contained in:
@@ -46,6 +46,178 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 워크플로우 상세 페이지용 스타일 */
|
||||
.workflow-detail-page {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 워크플로우 페이지일 때 body 스타일 재정의 */
|
||||
body.workflow-page {
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* 캘린더 스타일 */
|
||||
.calendar-container {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
padding: 30px;
|
||||
box-shadow: var(--dt-shadow);
|
||||
margin: 20px 0;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.calendar-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.calendar-nav-btn {
|
||||
background: var(--dt-gray-200);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: var(--dt-gray-700);
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.calendar-nav-btn:hover {
|
||||
background: var(--dt-gray-300);
|
||||
}
|
||||
|
||||
.calendar-title {
|
||||
font-size: 1.2em;
|
||||
font-weight: 600;
|
||||
color: var(--dt-gray-800);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.calendar-month {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.calendar-table {
|
||||
width: 100% !important;
|
||||
border-collapse: collapse !important;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--dt-shadow-sm);
|
||||
display: table !important;
|
||||
}
|
||||
|
||||
.calendar-table th {
|
||||
background: var(--dt-gray-100);
|
||||
color: var(--dt-gray-700);
|
||||
font-weight: 600;
|
||||
padding: 12px 8px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
border-bottom: 2px solid var(--dt-gray-200);
|
||||
}
|
||||
|
||||
.calendar-table td {
|
||||
width: 14.28%;
|
||||
height: 50px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 1px solid var(--dt-gray-200);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
color: var(--dt-gray-800);
|
||||
background: var(--dt-gray-50);
|
||||
}
|
||||
|
||||
.calendar-table td:hover {
|
||||
background: var(--dt-gray-100);
|
||||
}
|
||||
|
||||
.calendar-table td.other-month {
|
||||
color: var(--dt-gray-400);
|
||||
background: var(--dt-gray-100);
|
||||
}
|
||||
|
||||
.calendar-table td.has-event {
|
||||
background: var(--dt-gray-500) !important;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
border: 2px solid var(--dt-gray-600);
|
||||
}
|
||||
|
||||
.calendar-table td.has-event:hover {
|
||||
background: var(--dt-gray-600) !important;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.calendar-table td.has-event::before {
|
||||
content: "●";
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 5px;
|
||||
color: var(--dt-warning);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.calendar-table td.has-event::after {
|
||||
content: attr(data-event);
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: var(--dt-gray-800);
|
||||
color: white;
|
||||
padding: 6px 10px;
|
||||
border-radius: 6px;
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s;
|
||||
z-index: 100;
|
||||
box-shadow: var(--dt-shadow-lg);
|
||||
}
|
||||
|
||||
.calendar-table td.has-event:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.calendar-legend {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.legend-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 14px;
|
||||
color: var(--dt-gray-600);
|
||||
}
|
||||
|
||||
.legend-color {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.legend-color.has-event {
|
||||
background: var(--dt-gray-500);
|
||||
border: 2px solid var(--dt-gray-600);
|
||||
}
|
||||
|
||||
/* 사이드바 */
|
||||
.sidebar {
|
||||
width: 280px;
|
||||
|
||||
Reference in New Issue
Block a user