Files
TK-FB-Project/deploy/tkfb-package/web-ui/css/work-management.css
Hyungi Ahn 2b1c7bfb88 feat: 다수 기능 개선 - 순찰, 출근, 작업분석, 모바일 UI 등
- 순찰/점검 기능 개선 (zone-detail 페이지 추가)
- 출근/근태 시스템 개선 (연차 조회, 근무현황)
- 작업분석 대분류 그룹화 및 마이그레이션 스크립트
- 모바일 네비게이션 UI 추가
- NAS 배포 도구 및 문서 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 14:41:01 +09:00

432 lines
7.2 KiB
CSS

/* 작업 관리 페이지 스타일 */
/* 기본 레이아웃 */
body {
margin: 0;
padding: 0;
font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
/* 헤더 스타일은 navbar.html에서 관리됨 */
/* 메인 콘텐츠 */
.dashboard-main {
flex: 1;
padding: 2rem;
min-height: calc(100vh - 80px);
}
.page-header {
margin-bottom: 2rem;
}
.page-title-section {
text-align: center;
margin-bottom: 2rem;
}
.page-title {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
font-size: 2.5rem;
font-weight: 700;
color: white;
margin: 0 0 0.5rem 0;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.title-icon {
font-size: 2.5rem;
}
.page-description {
font-size: 1.125rem;
color: rgba(255, 255, 255, 0.9);
margin: 0;
font-weight: 400;
}
/* 관리 메뉴 그리드 */
.management-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
.management-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-radius: 1rem;
padding: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.management-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
transform: scaleX(0);
transition: transform 0.3s ease;
}
.management-card:hover::before {
transform: scaleX(1);
}
.management-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.card-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.card-icon {
font-size: 2rem;
width: 3rem;
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
border-radius: 0.75rem;
}
.card-title {
font-size: 1.25rem;
font-weight: 600;
color: #1f2937;
margin: 0;
}
.card-content {
margin-bottom: 1.5rem;
}
.card-description {
font-size: 0.875rem;
color: #6b7280;
line-height: 1.5;
margin: 0 0 1rem 0;
}
.card-stats {
display: flex;
gap: 1rem;
}
.stat-item {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.stat-label {
font-size: 0.75rem;
color: #9ca3af;
font-weight: 500;
}
.stat-value {
font-size: 1.5rem;
font-weight: 700;
color: #3b82f6;
}
.card-footer {
display: flex;
justify-content: flex-end;
}
.card-action {
font-size: 0.875rem;
color: #3b82f6;
font-weight: 500;
transition: color 0.3s ease;
}
.management-card:hover .card-action {
color: #1d4ed8;
}
/* 최근 활동 섹션 */
.recent-activity-section {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-radius: 1rem;
padding: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid #e5e7eb;
}
.section-title {
font-size: 1.25rem;
font-weight: 600;
color: #1f2937;
margin: 0;
}
.refresh-btn {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: #3b82f6;
color: white;
border: none;
border-radius: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.refresh-btn:hover {
background: #2563eb;
transform: translateY(-1px);
}
.activity-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.activity-item {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1rem;
background: #f8fafc;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
transition: all 0.3s ease;
}
.activity-item:hover {
background: #f1f5f9;
border-color: #cbd5e1;
}
.activity-icon {
font-size: 1.25rem;
width: 2.5rem;
height: 2.5rem;
display: flex;
align-items: center;
justify-content: center;
background: white;
border-radius: 0.5rem;
border: 1px solid #e2e8f0;
flex-shrink: 0;
}
.activity-content {
flex: 1;
}
.activity-title {
font-size: 0.875rem;
font-weight: 500;
color: #1f2937;
margin-bottom: 0.25rem;
line-height: 1.4;
}
.activity-meta {
display: flex;
gap: 1rem;
font-size: 0.75rem;
color: #6b7280;
}
.activity-user {
font-weight: 500;
}
/* 반응형 디자인 */
@media (max-width: 1024px) {
.dashboard-main {
padding: 1.5rem;
}
.management-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1rem;
}
}
@media (max-width: 768px) {
.page-title {
font-size: 2rem;
}
.management-grid {
grid-template-columns: 1fr;
}
.section-header {
flex-direction: column;
gap: 1rem;
align-items: flex-start;
}
}
@media (max-width: 480px) {
.dashboard-main {
padding: 1rem;
}
.page-title {
font-size: 1.75rem;
}
.management-card {
padding: 1rem;
}
.recent-activity-section {
padding: 1rem;
}
}
/* ========== 빠른 액세스 섹션 ========== */
.quick-access-section {
margin-bottom: 3rem;
}
.section-title {
font-size: 1.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.quick-actions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
max-width: 800px;
}
.quick-action-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
padding: 1.5rem 1rem;
background: rgba(255, 255, 255, 0.95);
border: 2px solid rgba(59, 130, 246, 0.1);
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
color: inherit;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
backdrop-filter: blur(10px);
min-height: 120px;
justify-content: center;
}
.quick-action-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
border-color: rgba(59, 130, 246, 0.3);
background: rgba(255, 255, 255, 1);
}
.quick-icon {
font-size: 2rem;
line-height: 1;
}
.quick-text {
font-size: 0.875rem;
font-weight: 600;
color: #374151;
text-align: center;
white-space: nowrap;
}
/* ========== 관리 섹션 ========== */
.management-section {
margin-bottom: 3rem;
}
/* ========== 시스템 상태 섹션 ========== */
.system-status-section {
margin-bottom: 3rem;
}
.status-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.status-card {
display: flex;
align-items: center;
gap: 1rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.status-icon {
font-size: 2rem;
line-height: 1;
}
.status-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.status-label {
font-size: 0.875rem;
color: #6b7280;
font-weight: 500;
}
.status-value {
font-size: 1.5rem;
font-weight: 700;
color: #1f2937;
}