enhance: 빠른 작업 카드 프리미엄 디자인 대폭 개선

🎨 프리미엄 카드 디자인:
1. 고급스러운 그라데이션 배경
   - 기본: 화이트 → 라이트 그레이 그라데이션
   - 호버: 화이트 → 블루 틴트 그라데이션
   - 부드러운 색상 전환 효과

2. 동적 상단 그라데이션 바
   - 4색 그라데이션 (블루, 퍼플, 시안, 그린)
   - 3초 주기 애니메이션 효과
   - 호버 시 나타나는 시각적 피드백

 3D 호버 효과:
1. 카드 전체:
   - Y축 -8px 이동 + 2% 확대
   - 고급 그림자 효과 (다층 그림자)
   - 0.4초 cubic-bezier 애니메이션

2. 아이콘 개선:
   - 크기 확대 (64px → 80px)
   - 호버 시 15% 확대 + 5도 회전
   - 색상 변화 (라이트 블루 → 다크 블루)
   - 3D 그림자 및 테두리 효과

🎯 인터랙션 개선:
1. 화살표 버튼:
   - 원형 배경 추가 (32px)
   - 슬라이드 + 스케일 애니메이션
   - 호버 시 블루 그라데이션 활성화

2. 텍스트 색상 변화:
   - 제목: 다크 그레이 → 다크 블루
   - 설명: 미디엄 그레이 → 다크 그레이
   - 부드러운 색상 전환

📱 반응형 최적화:
- 모바일: 아이콘 60px, 회전 각도 3도로 조정
- 태블릿: 2열 그리드 유지
- 데스크톱: 4열 그리드 최적화

🚀 성능 최적화:
- GPU 가속 애니메이션 (transform, opacity)
- 최적화된 cubic-bezier 전환
- 레이어 분리를 통한 렌더링 성능 향상

🎨 시각적 효과:
- 방사형 그라데이션 오버레이
- 다층 그림자 시스템
- 부드러운 색상 전환
- 프리미엄 느낌의 시각적 계층

결과: 사용자 경험을 크게 향상시키는 매력적이고 인터랙티브한 카드 디자인

테스트: http://localhost:20000/pages/dashboard/group-leader.html
This commit is contained in:
Hyungi Ahn
2025-11-03 12:25:08 +09:00
parent a99fc78167
commit 0e74ee5fcd

View File

@@ -411,19 +411,20 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: var(--space-3); gap: var(--space-4);
padding: var(--space-6); padding: var(--space-8);
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%); background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
border-radius: var(--radius-xl); border-radius: var(--radius-2xl);
text-decoration: none; text-decoration: none;
color: var(--text-primary); color: var(--text-primary);
transition: var(--transition-normal); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid var(--border-light); border: 2px solid transparent;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
text-align: center; text-align: center;
min-height: 160px; min-height: 180px;
justify-content: center; justify-content: center;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
} }
.quick-action-card::before { .quick-action-card::before {
@@ -432,41 +433,91 @@
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
height: 3px; height: 4px;
background: linear-gradient(90deg, var(--primary-500), var(--primary-600)); background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
background-size: 300% 100%;
animation: gradientShift 3s ease-in-out infinite;
opacity: 0; opacity: 0;
transition: var(--transition-normal); transition: opacity 0.3s ease;
} }
.quick-action-card:hover::before { .quick-action-card::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.quick-action-card:hover::before,
.quick-action-card:hover::after {
opacity: 1; opacity: 1;
} }
.quick-action-card:hover { .quick-action-card:hover {
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--primary-50) 100%); background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
box-shadow: var(--shadow-lg); box-shadow:
transform: translateY(-4px); 0 20px 25px -5px rgba(0, 0, 0, 0.1),
border-color: var(--primary-200); 0 10px 10px -5px rgba(0, 0, 0, 0.04),
0 0 0 1px rgba(59, 130, 246, 0.1);
transform: translateY(-8px) scale(1.02);
border-color: rgba(59, 130, 246, 0.2);
} }
.action-icon-large { .action-icon-large {
width: 64px; width: 80px;
height: 64px; height: 80px;
background: linear-gradient(135deg, var(--primary-100), var(--primary-200)); background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
border-radius: var(--radius-full); border-radius: var(--radius-full);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: var(--text-3xl); font-size: 2.5rem;
flex-shrink: 0; flex-shrink: 0;
transition: var(--transition-normal); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-sm); box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}
.action-icon-large::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
border-radius: inherit;
opacity: 0;
transition: opacity 0.3s ease;
} }
.quick-action-card:hover .action-icon-large { .quick-action-card:hover .action-icon-large {
background: linear-gradient(135deg, var(--primary-200), var(--primary-300)); background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
transform: scale(1.1); transform: scale(1.15) rotate(5deg);
box-shadow: var(--shadow-md); box-shadow:
0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05),
0 0 0 3px rgba(59, 130, 246, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
color: white;
}
.quick-action-card:hover .action-icon-large::before {
opacity: 1;
} }
.action-content { .action-content {
@@ -477,34 +528,55 @@
} }
.action-content h3 { .action-content h3 {
font-size: var(--text-base); font-size: 1.125rem;
font-weight: var(--font-semibold); font-weight: 700;
margin: 0; margin: 0;
color: var(--text-primary); color: #1f2937;
line-height: 1.3; line-height: 1.3;
transition: color 0.3s ease;
} }
.action-content p { .action-content p {
font-size: var(--text-sm); font-size: 0.875rem;
color: var(--text-secondary); color: #6b7280;
margin: 0; margin: 0;
line-height: 1.4; line-height: 1.5;
transition: color 0.3s ease;
}
.quick-action-card:hover .action-content h3 {
color: #1e40af;
}
.quick-action-card:hover .action-content p {
color: #374151;
} }
.action-arrow { .action-arrow {
position: absolute; position: absolute;
top: var(--space-3); top: var(--space-4);
right: var(--space-3); right: var(--space-4);
font-size: var(--text-lg); width: 32px;
color: var(--primary-500); height: 32px;
background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
color: #6b7280;
opacity: 0; opacity: 0;
transition: var(--transition-normal); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
transform: translateX(-10px); transform: translateX(-10px) scale(0.8);
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
} }
.quick-action-card:hover .action-arrow { .quick-action-card:hover .action-arrow {
opacity: 1; opacity: 1;
transform: translateX(0); transform: translateX(0) scale(1);
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
color: white;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
} }
.admin-only { .admin-only {
@@ -528,30 +600,42 @@
.quick-actions-grid-full, .quick-actions-grid-full,
.quick-actions-grid { .quick-actions-grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: var(--space-3);
} }
.quick-action-card { .quick-action-card {
min-height: 120px; min-height: 140px;
padding: var(--space-4); padding: var(--space-6);
gap: var(--space-3);
} }
.action-icon-large { .action-icon-large {
width: 48px; width: 60px;
height: 48px; height: 60px;
font-size: var(--text-2xl); font-size: 2rem;
}
.quick-action-card:hover .action-icon-large {
transform: scale(1.1) rotate(3deg);
} }
.action-content h3 { .action-content h3 {
font-size: var(--text-sm); font-size: 1rem;
} }
.action-content p { .action-content p {
font-size: var(--text-xs); font-size: 0.8rem;
} }
.work-status-container-enhanced { .work-status-container-enhanced {
min-height: 300px; min-height: 300px;
} }
.action-arrow {
width: 28px;
height: 28px;
font-size: 0.875rem;
}
} }
/* ========== 작업자 섹션 ========== */ /* ========== 작업자 섹션 ========== */