🎨 모던한 카드형 레이아웃: 1. 작업 항목 디자인 완전 개편: - 그라데이션 배경 (primary → tertiary) - 상단 컬러 바 호버 효과 - 향상된 그림자 및 호버 애니메이션 - 2xl 테두리 반경으로 부드러운 외관 2. 폼 필드 그룹화: - form-field-group 컨테이너 도입 - 아이콘과 라벨 조합으로 직관성 향상 - 포커스 상태 시각적 피드백 - 호버 효과로 상호작용성 증대 ✨ 에러 유형 조건부 표시 개선: 1. 스마트한 UI 로직: - 업무 상태가 '에러'일 때만 에러 유형 섹션 표시 - 부드러운 슬라이드 다운 애니메이션 (0.4s cubic-bezier) - opacity, max-height, transform 조합 애니메이션 2. 시각적 구분: - 에러 섹션: error-50 → warning-50 그라데이션 - 에러 테두리: error-200 컬러 - 에러 아이콘 및 라벨: error-500/700 컬러 🚀 빠른 시간 버튼 고도화: 1. 프리미엄 디자인: - 그라데이션 배경 (primary-100 → primary-200) - 호버 시: primary-500 → primary-600 그라데이션 - 반짝이는 효과 (::before 슬라이드 애니메이션) - 3D 변형 효과 (scale, translateY) 2. 향상된 상호작용: - 30분 옵션 추가 (0.5시간) - 클릭 시 스케일 애니메이션 - 중앙 정렬 및 최소 너비 설정 - cubic-bezier 전환 효과 🎯 사용자 경험 개선: 1. 직관적인 인터페이스: - 아이콘으로 필드 구분 (🏗️ 프로젝트, ⚙️ 작업유형, 📊 업무상태, ⚠️ 에러유형, ⏰ 시간) - 명확한 플레이스홀더 텍스트 - 논리적인 필드 배치 (2열 그리드) 2. 반응형 최적화: - 모바일에서 적절한 패딩 및 폰트 크기 - 터치 친화적 버튼 크기 - 유연한 그리드 레이아웃 🔧 기술적 개선: 1. JavaScript 로직 강화: - setupWorkEntryEvents 함수 완전 재작성 - 폼 필드 포커스 효과 추가 - 에러 타입 조건부 표시 로직 개선 - 버튼 클릭 피드백 애니메이션 2. CSS 아키텍처: - 컴포넌트 기반 스타일링 - CSS 변수 활용한 일관된 디자인 - 애니메이션 키프레임 정의 - 계층적 스타일 구조 🎯 결과: - 허접했던 UI → 프로페셔널한 모던 인터페이스 - 에러 유형 조건부 표시로 사용성 대폭 향상 - 직관적이고 아름다운 작업 입력 경험 - 대시보드와 완벽한 디자인 일관성 테스트: http://localhost:20000/pages/common/daily-work-report.html
820 lines
17 KiB
CSS
820 lines
17 KiB
CSS
/* ========== 일일 작업보고서 전용 스타일 ========== */
|
|
|
|
/* 메인 레이아웃 */
|
|
.work-report-container {
|
|
min-height: 100vh;
|
|
background: var(--bg-secondary);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.work-report-header {
|
|
background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
|
|
color: white;
|
|
padding: var(--space-8) var(--space-6);
|
|
text-align: center;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.work-report-header h1 {
|
|
font-size: var(--text-4xl);
|
|
font-weight: var(--font-bold);
|
|
margin-bottom: var(--space-2);
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.work-report-header .subtitle {
|
|
font-size: var(--text-lg);
|
|
opacity: 0.9;
|
|
font-weight: var(--font-medium);
|
|
}
|
|
|
|
.work-report-main {
|
|
flex: 1;
|
|
padding: var(--space-8) var(--space-6);
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
/* 뒤로가기 버튼 */
|
|
.back-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-3) var(--space-4);
|
|
background: var(--bg-primary);
|
|
color: var(--primary-600);
|
|
border: 2px solid var(--primary-200);
|
|
border-radius: var(--radius-lg);
|
|
text-decoration: none;
|
|
font-weight: var(--font-semibold);
|
|
transition: var(--transition-normal);
|
|
margin-bottom: var(--space-6);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.back-button:hover {
|
|
background: var(--primary-50);
|
|
border-color: var(--primary-300);
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
/* 진행 단계 표시 */
|
|
.progress-steps {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-bottom: var(--space-8);
|
|
padding: var(--space-6);
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.progress-step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
position: relative;
|
|
flex: 1;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.progress-step:not(:last-child)::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 20px;
|
|
right: -50%;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: var(--border-light);
|
|
z-index: 1;
|
|
}
|
|
|
|
.progress-step.active:not(:last-child)::after,
|
|
.progress-step.completed:not(:last-child)::after {
|
|
background: var(--primary-500);
|
|
}
|
|
|
|
.step-circle {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--radius-full);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: var(--font-bold);
|
|
font-size: var(--text-sm);
|
|
background: var(--gray-200);
|
|
color: var(--gray-600);
|
|
transition: var(--transition-normal);
|
|
z-index: 2;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-step.active .step-circle {
|
|
background: var(--primary-500);
|
|
color: white;
|
|
box-shadow: 0 0 0 4px var(--primary-100);
|
|
}
|
|
|
|
.progress-step.completed .step-circle {
|
|
background: var(--success-500);
|
|
color: white;
|
|
}
|
|
|
|
.step-label {
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-secondary);
|
|
text-align: center;
|
|
}
|
|
|
|
.progress-step.active .step-label {
|
|
color: var(--primary-600);
|
|
font-weight: var(--font-semibold);
|
|
}
|
|
|
|
.progress-step.completed .step-label {
|
|
color: var(--success-600);
|
|
}
|
|
|
|
/* 단계별 섹션 */
|
|
.step-section {
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-8);
|
|
margin-bottom: var(--space-6);
|
|
box-shadow: var(--shadow-md);
|
|
border: 1px solid var(--border-light);
|
|
opacity: 0.5;
|
|
transform: translateY(20px);
|
|
transition: all 0.4s ease;
|
|
}
|
|
|
|
.step-section.active {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
border-color: var(--primary-200);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.step-section.completed {
|
|
opacity: 0.8;
|
|
border-color: var(--success-200);
|
|
}
|
|
|
|
.step-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-4);
|
|
margin-bottom: var(--space-6);
|
|
padding-bottom: var(--space-4);
|
|
border-bottom: 2px solid var(--border-light);
|
|
}
|
|
|
|
.step-number {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--radius-full);
|
|
background: var(--primary-500);
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: var(--font-bold);
|
|
font-size: var(--text-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.step-number.completed {
|
|
background: var(--success-500);
|
|
}
|
|
|
|
.step-title {
|
|
font-size: var(--text-2xl);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* 폼 요소들 */
|
|
.form-group {
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin-bottom: var(--space-3);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
padding: var(--space-4);
|
|
border: 2px solid var(--border-light);
|
|
border-radius: var(--radius-lg);
|
|
font-size: var(--text-base);
|
|
background: var(--bg-primary);
|
|
transition: var(--transition-normal);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-500);
|
|
box-shadow: 0 0 0 3px var(--primary-100);
|
|
}
|
|
|
|
/* 작업자 선택 그리드 */
|
|
.worker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: var(--space-4);
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
|
|
.worker-card {
|
|
padding: var(--space-5);
|
|
border: 2px solid var(--border-light);
|
|
border-radius: var(--radius-xl);
|
|
background: var(--bg-primary);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
font-weight: var(--font-semibold);
|
|
font-size: var(--text-lg);
|
|
min-height: 100px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: var(--shadow-sm);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.worker-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: var(--primary-500);
|
|
transform: scaleX(0);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.worker-card:hover {
|
|
border-color: var(--primary-300);
|
|
background: var(--primary-50);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.worker-card:hover::before {
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
.worker-card.selected {
|
|
border-color: var(--primary-500);
|
|
background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
|
|
color: white;
|
|
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.worker-card.selected::before {
|
|
transform: scaleX(1);
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
/* 작업 항목 */
|
|
.work-entry {
|
|
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
|
|
border: 2px solid var(--border-light);
|
|
border-radius: var(--radius-2xl);
|
|
padding: var(--space-8);
|
|
margin-bottom: var(--space-6);
|
|
position: relative;
|
|
transition: var(--transition-normal);
|
|
box-shadow: var(--shadow-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.work-entry::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.work-entry:hover {
|
|
border-color: var(--primary-300);
|
|
box-shadow: var(--shadow-lg);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.work-entry:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.work-entry-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: var(--space-6);
|
|
padding-bottom: var(--space-4);
|
|
border-bottom: 2px solid var(--border-light);
|
|
}
|
|
|
|
.work-entry-title {
|
|
font-size: var(--text-xl);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.work-entry-title::before {
|
|
content: '🔧';
|
|
font-size: var(--text-lg);
|
|
}
|
|
|
|
.remove-work-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--radius-full);
|
|
background: linear-gradient(135deg, var(--error-500), var(--error-600));
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition-normal);
|
|
font-size: var(--text-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.remove-work-btn:hover {
|
|
background: linear-gradient(135deg, var(--error-600), var(--error-700));
|
|
transform: scale(1.1) rotate(90deg);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.work-entry-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-6);
|
|
}
|
|
|
|
.work-entry-full {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
/* 폼 필드 그룹 */
|
|
.form-field-group {
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-5);
|
|
border: 1px solid var(--border-light);
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.form-field-group:hover {
|
|
border-color: var(--primary-200);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.form-field-group.focused {
|
|
border-color: var(--primary-500);
|
|
box-shadow: 0 0 0 3px var(--primary-100);
|
|
}
|
|
|
|
.form-field-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
margin-bottom: var(--space-3);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.form-field-icon {
|
|
font-size: var(--text-lg);
|
|
}
|
|
|
|
.form-select {
|
|
width: 100%;
|
|
padding: var(--space-4);
|
|
border: 2px solid var(--border-light);
|
|
border-radius: var(--radius-lg);
|
|
font-size: var(--text-base);
|
|
background: var(--bg-primary);
|
|
transition: var(--transition-normal);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--primary-500);
|
|
box-shadow: 0 0 0 3px var(--primary-100);
|
|
}
|
|
|
|
.form-select:hover {
|
|
border-color: var(--primary-300);
|
|
}
|
|
|
|
/* 에러 유형 섹션 */
|
|
.error-type-section {
|
|
background: linear-gradient(135deg, var(--error-50) 0%, var(--warning-50) 100%);
|
|
border: 2px solid var(--error-200);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-6);
|
|
margin-top: var(--space-4);
|
|
opacity: 0;
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.error-type-section.visible {
|
|
opacity: 1;
|
|
max-height: 200px;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.error-type-section .form-field-label {
|
|
color: var(--error-700);
|
|
}
|
|
|
|
.error-type-section .form-field-icon {
|
|
color: var(--error-500);
|
|
}
|
|
|
|
/* 시간 입력 */
|
|
.time-input-section {
|
|
background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
|
|
border: 2px solid var(--primary-200);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-6);
|
|
margin-top: var(--space-4);
|
|
}
|
|
|
|
.quick-time-buttons {
|
|
display: flex;
|
|
gap: var(--space-2);
|
|
margin-top: var(--space-3);
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.quick-time-btn {
|
|
padding: var(--space-3) var(--space-4);
|
|
background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
|
|
border: 2px solid var(--primary-300);
|
|
border-radius: var(--radius-xl);
|
|
cursor: pointer;
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-semibold);
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
color: var(--primary-700);
|
|
min-width: 60px;
|
|
text-align: center;
|
|
box-shadow: var(--shadow-sm);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.quick-time-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.quick-time-btn:hover {
|
|
background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
|
|
color: white;
|
|
transform: translateY(-2px) scale(1.05);
|
|
box-shadow: var(--shadow-lg);
|
|
border-color: var(--primary-400);
|
|
}
|
|
|
|
.quick-time-btn:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.quick-time-btn:active {
|
|
transform: translateY(0) scale(0.98);
|
|
}
|
|
|
|
/* 총 작업시간 표시 */
|
|
.total-hours-display {
|
|
text-align: center;
|
|
font-size: var(--text-2xl);
|
|
font-weight: var(--font-bold);
|
|
padding: var(--space-6);
|
|
background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
|
|
color: white;
|
|
border-radius: var(--radius-xl);
|
|
margin-bottom: var(--space-6);
|
|
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
/* 버튼 스타일 */
|
|
.btn {
|
|
padding: var(--space-4) var(--space-6);
|
|
border: none;
|
|
border-radius: var(--radius-lg);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-semibold);
|
|
cursor: pointer;
|
|
transition: var(--transition-normal);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-2);
|
|
text-decoration: none;
|
|
min-height: 48px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-500);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: var(--primary-600);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-success {
|
|
background: var(--success-500);
|
|
color: white;
|
|
}
|
|
|
|
.btn-success:hover:not(:disabled) {
|
|
background: var(--success-600);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--gray-500);
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: var(--gray-600);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
}
|
|
|
|
/* 메시지 */
|
|
.message {
|
|
padding: var(--space-4) var(--space-5);
|
|
border-radius: var(--radius-lg);
|
|
margin-bottom: var(--space-6);
|
|
font-weight: var(--font-medium);
|
|
border: 1px solid;
|
|
}
|
|
|
|
.message.error {
|
|
background: var(--error-50);
|
|
color: var(--error-700);
|
|
border-color: var(--error-200);
|
|
}
|
|
|
|
.message.success {
|
|
background: var(--success-50);
|
|
color: var(--success-700);
|
|
border-color: var(--success-200);
|
|
}
|
|
|
|
.message.loading {
|
|
background: var(--primary-50);
|
|
color: var(--primary-700);
|
|
border-color: var(--primary-200);
|
|
}
|
|
|
|
.message.warning {
|
|
background: var(--warning-50);
|
|
color: var(--warning-700);
|
|
border-color: var(--warning-200);
|
|
}
|
|
|
|
/* 반응형 디자인 */
|
|
@media (max-width: 1024px) {
|
|
.work-report-main {
|
|
padding: var(--space-6) var(--space-4);
|
|
}
|
|
|
|
.progress-steps {
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
.progress-step:not(:last-child)::after {
|
|
right: -40%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.work-report-header {
|
|
padding: var(--space-6) var(--space-4);
|
|
}
|
|
|
|
.work-report-header h1 {
|
|
font-size: var(--text-3xl);
|
|
}
|
|
|
|
.work-report-main {
|
|
padding: var(--space-4) var(--space-3);
|
|
}
|
|
|
|
.step-section {
|
|
padding: var(--space-6);
|
|
}
|
|
|
|
.worker-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.worker-card {
|
|
min-height: 80px;
|
|
padding: var(--space-3);
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.work-entry-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.work-entry-full {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.progress-steps {
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.progress-step:not(:last-child)::after {
|
|
display: none;
|
|
}
|
|
|
|
.quick-time-buttons {
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.quick-time-btn {
|
|
padding: var(--space-1) var(--space-3);
|
|
font-size: var(--text-xs);
|
|
}
|
|
}
|
|
|
|
/* 슬라이드 다운 애니메이션 */
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
max-height: 200px;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.work-report-header h1 {
|
|
font-size: var(--text-2xl);
|
|
}
|
|
|
|
.step-section {
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
.step-header {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.step-number {
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.step-title {
|
|
font-size: var(--text-xl);
|
|
}
|
|
|
|
.worker-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
|
}
|
|
|
|
.total-hours-display {
|
|
font-size: var(--text-xl);
|
|
padding: var(--space-4);
|
|
}
|
|
}
|
|
|
|
/* 가이드 그리드 */
|
|
.guide-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: var(--space-4);
|
|
margin-top: var(--space-4);
|
|
}
|
|
|
|
.guide-item {
|
|
text-align: center;
|
|
padding: var(--space-5);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-xl);
|
|
border: 2px solid var(--border-light);
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.guide-item:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
border-color: var(--primary-300);
|
|
background: var(--primary-50);
|
|
}
|
|
|
|
.guide-icon {
|
|
font-size: var(--text-3xl);
|
|
margin-bottom: var(--space-3);
|
|
display: block;
|
|
}
|
|
|
|
.guide-item strong {
|
|
display: block;
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-bold);
|
|
margin-bottom: var(--space-2);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.guide-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.guide-item {
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
.guide-icon {
|
|
font-size: var(--text-2xl);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.guide-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
}
|
|
|
|
.guide-item {
|
|
padding: var(--space-3);
|
|
}
|
|
|
|
.guide-item strong {
|
|
font-size: var(--text-sm);
|
|
}
|
|
} |