feat: 일일순회점검 시스템 구축 및 관리 기능 개선

- 일일순회점검 시스템 신규 구현
  - DB 테이블: patrol_checklist_items, daily_patrol_sessions, patrol_check_records, workplace_items, item_types
  - API: /api/patrol/* 엔드포인트
  - 프론트엔드: 지도 기반 작업장 점검 UI

- 설비 관리 기능 개선
  - 구매 관련 필드 추가 (구매일, 가격, 공급업체 등)
  - 설비 코드 자동 생성 (TKP-XXX 형식)

- 작업장 관리 개선
  - 레이아웃 이미지 업로드 기능
  - 마커 위치 저장 기능

- 부서 관리 기능 추가
- 사이드바 네비게이션 카테고리 재구성
- 이미지 401 오류 수정 (정적 파일 경로 처리)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-02-04 11:41:41 +09:00
parent 2e9d24faf2
commit 90d3e32992
101 changed files with 17421 additions and 7047 deletions

View File

@@ -165,7 +165,8 @@ body {
/* 메인 콘텐츠 영역 */
.main-content {
flex: 1;
padding: var(--space-xl);
padding: var(--space-lg);
padding-left: var(--space-md);
overflow-x: hidden;
max-width: 100%;
box-sizing: border-box;

View File

@@ -784,3 +784,347 @@
font-size: var(--text-sm);
color: var(--text-secondary);
}
/* 폴더 트리 스타일 */
.folder-tree {
padding: 0;
}
.folder-group {
margin-bottom: 0.5rem;
border: 1px solid #e9ecef;
border-radius: 8px;
overflow: hidden;
}
.folder-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
cursor: pointer;
transition: all 0.2s ease;
user-select: none;
}
.folder-header:hover {
background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}
.folder-icon {
font-size: 1.25rem;
}
.folder-name {
font-weight: 600;
color: #1a1a1a;
flex: 1;
}
.folder-count {
font-size: 0.75rem;
color: #6c757d;
background: white;
padding: 0.125rem 0.5rem;
border-radius: 10px;
}
.folder-toggle {
font-size: 0.75rem;
color: #6c757d;
transition: transform 0.2s ease;
}
.folder-content {
padding: 0.5rem;
background: white;
}
.page-item {
padding: 0.5rem 0.75rem;
margin-left: 1rem;
border-radius: 6px;
transition: all 0.2s ease;
}
.page-item:hover {
background: #f8f9fa;
}
.page-label {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
margin: 0;
width: 100%;
}
.page-label input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
accent-color: #007bff;
}
.page-label input[type="checkbox"]:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.file-icon {
font-size: 1rem;
opacity: 0.7;
}
.page-label .page-name {
flex: 1;
font-size: 0.875rem;
color: #495057;
}
.always-access-badge {
font-size: 0.65rem;
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
padding: 0.125rem 0.5rem;
border-radius: 10px;
font-weight: 500;
}
/* 활성화/비활성화 버튼 스타일 */
.action-btn.activate {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
}
.action-btn.activate:hover {
background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.action-btn.deactivate {
background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
color: white;
}
.action-btn.deactivate:hover {
background: linear-gradient(135deg, #495057 0%, #343a40 100%);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}
.action-btn.danger {
background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
color: white;
}
.action-btn.danger:hover {
background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
/* 작업자 연결 스타일 */
.worker-link-container {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem;
background: #f8f9fa;
border-radius: 8px;
border: 1px solid #e9ecef;
}
.linked-worker-info {
flex: 1;
display: flex;
align-items: center;
gap: 0.5rem;
}
.linked-worker-info .no-worker {
color: #6c757d;
font-style: italic;
}
.linked-worker-info .worker-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.75rem;
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 500;
}
.linked-worker-info .worker-badge .dept-name {
opacity: 0.9;
font-size: 0.75rem;
}
/* 작업자 선택 모달 */
.worker-select-layout {
display: grid;
grid-template-columns: 200px 1fr;
gap: 1rem;
min-height: 400px;
}
.department-list-panel,
.worker-list-panel {
border: 1px solid #e9ecef;
border-radius: 8px;
overflow: hidden;
}
.panel-title {
margin: 0;
padding: 0.75rem 1rem;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
font-size: 0.875rem;
font-weight: 600;
color: #495057;
border-bottom: 1px solid #e9ecef;
}
.department-list {
max-height: 350px;
overflow-y: auto;
}
.department-item {
padding: 0.75rem 1rem;
cursor: pointer;
border-bottom: 1px solid #f0f0f0;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.department-item:hover {
background: #f8f9fa;
}
.department-item.active {
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
color: white;
}
.department-item .dept-icon {
font-size: 1rem;
}
.department-item .dept-name {
flex: 1;
font-size: 0.875rem;
}
.department-item .dept-count {
font-size: 0.75rem;
background: rgba(0,0,0,0.1);
padding: 0.125rem 0.5rem;
border-radius: 10px;
}
.department-item.active .dept-count {
background: rgba(255,255,255,0.2);
}
.worker-list {
max-height: 350px;
overflow-y: auto;
padding: 0.5rem;
}
.worker-list .empty-message {
text-align: center;
padding: 2rem;
color: #6c757d;
font-style: italic;
}
.worker-select-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
border: 2px solid transparent;
}
.worker-select-item:hover {
background: #f8f9fa;
border-color: #e9ecef;
}
.worker-select-item.selected {
background: #e7f3ff;
border-color: #007bff;
}
.worker-select-item .worker-avatar {
width: 40px;
height: 40px;
background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 1rem;
}
.worker-select-item .worker-info {
flex: 1;
}
.worker-select-item .worker-name {
font-weight: 600;
color: #1a1a1a;
font-size: 0.9rem;
}
.worker-select-item .worker-role {
font-size: 0.75rem;
color: #6c757d;
}
.worker-select-item .select-indicator {
width: 24px;
height: 24px;
border: 2px solid #dee2e6;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.worker-select-item.selected .select-indicator {
background: #007bff;
border-color: #007bff;
color: white;
}
.worker-select-item .already-linked {
font-size: 0.7rem;
background: #ffc107;
color: #000;
padding: 0.125rem 0.5rem;
border-radius: 10px;
}
/* 버튼 크기 조정 */
.btn-sm {
padding: 0.375rem 0.75rem;
font-size: 0.8rem;
}

625
web-ui/css/daily-patrol.css Normal file
View File

@@ -0,0 +1,625 @@
/* daily-patrol.css - 일일순회점검 페이지 스타일 */
/* 세션 선택 영역 */
.patrol-session-selector {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
padding: 1.5rem;
background: var(--surface-color, #fff);
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
margin-bottom: 1.5rem;
}
.patrol-date-time {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 1rem;
}
.patrol-date-time .form-group {
min-width: 140px;
}
.patrol-time-buttons {
display: flex;
gap: 0.5rem;
}
.patrol-time-btn {
padding: 0.5rem 1.25rem;
border: 2px solid var(--border-color, #e2e8f0);
background: var(--surface-color, #fff);
border-radius: 8px;
cursor: pointer;
font-weight: 500;
transition: all 0.2s;
}
.patrol-time-btn:hover {
border-color: var(--primary-color, #3b82f6);
}
.patrol-time-btn.active {
background: var(--primary-color, #3b82f6);
border-color: var(--primary-color, #3b82f6);
color: #fff;
}
/* 오늘 점검 현황 요약 */
.today-status-summary {
flex: 1;
min-width: 300px;
display: flex;
gap: 1rem;
align-items: center;
padding: 1rem;
background: var(--bg-color, #f8fafc);
border-radius: 8px;
}
.status-card {
text-align: center;
padding: 0.75rem 1rem;
}
.status-label {
font-size: 0.8rem;
color: var(--text-secondary, #64748b);
margin-bottom: 0.25rem;
}
.status-value {
font-size: 1.25rem;
font-weight: 600;
}
.status-value.completed {
color: var(--success-color, #16a34a);
}
.status-value.pending {
color: var(--warning-color, #f59e0b);
}
/* 점검 영역 */
.patrol-area {
background: var(--surface-color, #fff);
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
/* 세션 정보 바 */
.session-info-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.5rem;
background: linear-gradient(135deg, var(--primary-color, #3b82f6), #2563eb);
color: #fff;
}
.session-info {
display: flex;
gap: 2rem;
}
.session-info-item {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.session-info-label {
font-size: 0.75rem;
opacity: 0.8;
}
.session-info-value {
font-weight: 600;
}
.session-progress {
display: flex;
align-items: center;
gap: 1rem;
}
.progress-bar {
width: 150px;
height: 8px;
background: rgba(255, 255, 255, 0.3);
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: #fff;
border-radius: 4px;
transition: width 0.3s ease;
}
.progress-text {
font-weight: 600;
font-size: 0.9rem;
}
/* 점검 콘텐츠 영역 */
.patrol-content {
display: grid;
grid-template-columns: 1fr 400px;
min-height: 500px;
}
@media (max-width: 1024px) {
.patrol-content {
grid-template-columns: 1fr;
}
}
/* 지도 영역 */
.patrol-map-section {
padding: 1.5rem;
border-right: 1px solid var(--border-color, #e2e8f0);
}
.map-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.map-header h3 {
font-size: 1rem;
font-weight: 600;
margin: 0;
}
.map-legend {
display: flex;
gap: 1rem;
font-size: 0.8rem;
}
.legend-item {
display: flex;
align-items: center;
gap: 0.25rem;
}
.legend-item .dot {
width: 10px;
height: 10px;
border-radius: 50%;
}
.legend-item.completed .dot {
background: var(--success-color, #16a34a);
}
.legend-item.in-progress .dot {
background: var(--primary-color, #3b82f6);
}
.legend-item.pending .dot {
background: var(--border-color, #cbd5e1);
}
/* 지도 컨테이너 */
.patrol-map-container {
position: relative;
width: 100%;
aspect-ratio: 16/10;
background: var(--bg-color, #f8fafc);
border-radius: 8px;
overflow: hidden;
border: 1px solid var(--border-color, #e2e8f0);
}
.patrol-map-container img {
width: 100%;
height: 100%;
object-fit: contain;
}
/* 작업장 마커 */
.workplace-marker {
position: absolute;
padding: 0.5rem 0.75rem;
background: var(--surface-color, #fff);
border: 2px solid var(--border-color, #cbd5e1);
border-radius: 8px;
cursor: pointer;
font-size: 0.8rem;
font-weight: 500;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.2s;
transform: translate(-50%, -50%);
white-space: nowrap;
}
.workplace-marker:hover {
transform: translate(-50%, -50%) scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.workplace-marker.completed {
border-color: var(--success-color, #16a34a);
background: #dcfce7;
}
.workplace-marker.in-progress {
border-color: var(--primary-color, #3b82f6);
background: #dbeafe;
}
.workplace-marker.selected {
border-color: var(--primary-color, #3b82f6);
background: var(--primary-color, #3b82f6);
color: #fff;
z-index: 10;
}
/* 작업장 목록 (지도 대체) */
.workplace-list-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.75rem;
margin-top: 1rem;
}
.workplace-card {
padding: 1rem;
background: var(--surface-color, #fff);
border: 2px solid var(--border-color, #e2e8f0);
border-radius: 8px;
cursor: pointer;
transition: all 0.2s;
text-align: center;
}
.workplace-card:hover {
border-color: var(--primary-color, #3b82f6);
}
.workplace-card.completed {
border-color: var(--success-color, #16a34a);
background: #f0fdf4;
}
.workplace-card.selected {
border-color: var(--primary-color, #3b82f6);
background: #eff6ff;
}
.workplace-card-name {
font-weight: 600;
margin-bottom: 0.25rem;
}
.workplace-card-status {
font-size: 0.75rem;
color: var(--text-secondary, #64748b);
}
/* 체크리스트 영역 */
.patrol-checklist-section {
display: flex;
flex-direction: column;
background: var(--bg-color, #f8fafc);
}
.checklist-header {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border-color, #e2e8f0);
background: var(--surface-color, #fff);
}
.checklist-header h3 {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.25rem;
}
.checklist-subtitle {
font-size: 0.8rem;
color: var(--text-secondary, #64748b);
margin: 0;
}
.checklist-content {
flex: 1;
overflow-y: auto;
padding: 1rem;
}
.checklist-placeholder {
display: flex;
align-items: center;
justify-content: center;
height: 200px;
color: var(--text-secondary, #64748b);
}
/* 체크리스트 카테고리 */
.checklist-category {
margin-bottom: 1.5rem;
}
.checklist-category-title {
font-size: 0.85rem;
font-weight: 600;
color: var(--text-secondary, #64748b);
text-transform: uppercase;
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border-color, #e2e8f0);
}
/* 체크 항목 */
.check-item {
display: flex;
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem;
background: var(--surface-color, #fff);
border-radius: 8px;
margin-bottom: 0.5rem;
cursor: pointer;
transition: background 0.2s;
}
.check-item:hover {
background: #f1f5f9;
}
.check-item.checked {
background: #f0fdf4;
}
.check-item-checkbox {
width: 24px;
height: 24px;
border: 2px solid var(--border-color, #cbd5e1);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: all 0.2s;
}
.check-item.checked .check-item-checkbox {
background: var(--success-color, #16a34a);
border-color: var(--success-color, #16a34a);
color: #fff;
}
.check-item-content {
flex: 1;
}
.check-item-text {
font-size: 0.9rem;
margin-bottom: 0.25rem;
}
.check-item-required {
color: var(--error-color, #dc2626);
margin-left: 0.25rem;
}
.check-item-note {
font-size: 0.8rem;
color: var(--text-secondary, #64748b);
}
/* 체크 결과 선택 */
.check-result-selector {
display: flex;
gap: 0.5rem;
margin-top: 0.5rem;
}
.check-result-btn {
padding: 0.25rem 0.75rem;
border: 1px solid var(--border-color, #e2e8f0);
border-radius: 4px;
font-size: 0.75rem;
background: var(--surface-color, #fff);
cursor: pointer;
transition: all 0.2s;
}
.check-result-btn.good.active {
background: #dcfce7;
border-color: var(--success-color, #16a34a);
color: var(--success-color, #16a34a);
}
.check-result-btn.warning.active {
background: #fef3c7;
border-color: var(--warning-color, #f59e0b);
color: var(--warning-color, #f59e0b);
}
.check-result-btn.bad.active {
background: #fee2e2;
border-color: var(--error-color, #dc2626);
color: var(--error-color, #dc2626);
}
/* 체크리스트 액션 */
.checklist-actions {
padding: 1rem 1.5rem;
border-top: 1px solid var(--border-color, #e2e8f0);
background: var(--surface-color, #fff);
display: flex;
gap: 0.75rem;
justify-content: flex-end;
}
/* 물품 현황 섹션 */
.items-section {
padding: 1.5rem;
border-top: 1px solid var(--border-color, #e2e8f0);
}
.items-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.items-header h3 {
font-size: 1rem;
font-weight: 600;
margin: 0;
}
.items-map-container {
position: relative;
width: 100%;
aspect-ratio: 16/9;
background: var(--bg-color, #f8fafc);
border-radius: 8px;
border: 1px solid var(--border-color, #e2e8f0);
overflow: hidden;
}
.items-map-container img {
width: 100%;
height: 100%;
object-fit: contain;
}
/* 물품 마커 */
.item-marker {
position: absolute;
border: 2px solid;
border-radius: 4px;
background: rgba(255, 255, 255, 0.8);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
transition: all 0.2s;
}
.item-marker:hover {
transform: scale(1.1);
z-index: 10;
}
.item-marker.container {
border-color: #3b82f6;
background: rgba(59, 130, 246, 0.2);
}
.item-marker.plate {
border-color: #10b981;
background: rgba(16, 185, 129, 0.2);
}
.item-marker.material {
border-color: #f59e0b;
background: rgba(245, 158, 11, 0.2);
}
.item-marker.tool {
border-color: #8b5cf6;
background: rgba(139, 92, 246, 0.2);
}
.item-marker.other {
border-color: #6b7280;
background: rgba(107, 114, 128, 0.2);
}
/* 물품 범례 */
.items-legend {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color, #e2e8f0);
}
.item-legend-item {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
}
.item-legend-icon {
width: 24px;
height: 24px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
}
/* 순회점검 완료 섹션 */
.patrol-complete-section {
padding: 1.5rem;
border-top: 1px solid var(--border-color, #e2e8f0);
display: flex;
gap: 1rem;
align-items: flex-end;
}
.patrol-complete-section .form-group {
flex: 1;
margin-bottom: 0;
}
/* 반응형 */
@media (max-width: 768px) {
.patrol-session-selector {
flex-direction: column;
}
.patrol-date-time {
flex-direction: column;
width: 100%;
}
.patrol-date-time .form-group {
width: 100%;
}
.patrol-content {
grid-template-columns: 1fr;
}
.patrol-map-section {
border-right: none;
border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.patrol-complete-section {
flex-direction: column;
}
.session-info-bar {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.session-info {
flex-wrap: wrap;
justify-content: center;
}
}

View File

@@ -0,0 +1,361 @@
/* equipment-management.css */
/* 설비 관리 페이지 전용 스타일 */
/* 통계 요약 섹션 */
.eq-stats-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.eq-stat-card {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
border-radius: 12px;
padding: 1.25rem;
border: 1px solid #e2e8f0;
transition: all 0.2s ease;
}
.eq-stat-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.eq-stat-card.highlight {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: white;
border: none;
}
.eq-stat-card.highlight .eq-stat-label {
color: rgba(255, 255, 255, 0.85);
}
.eq-stat-label {
font-size: 0.8rem;
color: #64748b;
margin-bottom: 0.5rem;
font-weight: 500;
}
.eq-stat-value {
font-size: 1.75rem;
font-weight: 700;
line-height: 1.2;
}
.eq-stat-sub {
font-size: 0.75rem;
color: #94a3b8;
margin-top: 0.25rem;
}
.eq-stat-card.highlight .eq-stat-sub {
color: rgba(255, 255, 255, 0.7);
}
/* 필터 섹션 개선 */
.eq-filter-section {
background: #f8fafc;
border-radius: 12px;
padding: 1rem 1.25rem;
margin-bottom: 1.5rem;
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: flex-end;
}
.eq-filter-group {
display: flex;
flex-direction: column;
gap: 0.35rem;
min-width: 140px;
}
.eq-filter-group label {
font-size: 0.75rem;
font-weight: 600;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.eq-filter-group .form-control {
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
border-radius: 8px;
border: 1px solid #e2e8f0;
background: white;
}
.eq-filter-group .form-control:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.eq-search-group {
flex: 1;
min-width: 200px;
}
.eq-search-group .form-control {
width: 100%;
}
/* 테이블 개선 */
.eq-table-container {
background: white;
border-radius: 12px;
border: 1px solid #e2e8f0;
overflow: hidden;
}
.eq-table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
.eq-table thead {
background: #f1f5f9;
position: sticky;
top: 0;
z-index: 10;
}
.eq-table th {
padding: 0.875rem 1rem;
text-align: left;
font-weight: 600;
color: #475569;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 2px solid #e2e8f0;
white-space: nowrap;
}
.eq-table td {
padding: 0.75rem 1rem;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
}
.eq-table tbody tr {
transition: background 0.15s ease;
}
.eq-table tbody tr:hover {
background: #f8fafc;
}
.eq-table tbody tr:last-child td {
border-bottom: none;
}
/* 테이블 컬럼별 스타일 */
.eq-col-code {
font-weight: 600;
color: #1e40af;
white-space: nowrap;
}
.eq-col-name {
font-weight: 500;
color: #1e293b;
max-width: 200px;
}
.eq-col-model,
.eq-col-spec {
color: #64748b;
font-size: 0.8125rem;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.eq-col-price {
font-weight: 600;
color: #059669;
text-align: right;
white-space: nowrap;
}
.eq-col-date {
color: #64748b;
font-size: 0.8125rem;
white-space: nowrap;
}
/* 상태 배지 */
.eq-status {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
white-space: nowrap;
}
.eq-status-active {
background: #dcfce7;
color: #166534;
}
.eq-status-maintenance {
background: #fef3c7;
color: #92400e;
}
.eq-status-inactive {
background: #fee2e2;
color: #991b1b;
}
/* 액션 버튼 */
.eq-actions {
display: flex;
gap: 0.5rem;
}
.eq-btn-action {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.15s ease;
font-size: 0.875rem;
}
.eq-btn-edit {
background: #eff6ff;
color: #3b82f6;
}
.eq-btn-edit:hover {
background: #3b82f6;
color: white;
}
.eq-btn-delete {
background: #fef2f2;
color: #ef4444;
}
.eq-btn-delete:hover {
background: #ef4444;
color: white;
}
/* 빈 상태 */
.eq-empty-state {
text-align: center;
padding: 4rem 2rem;
color: #64748b;
}
.eq-empty-state p {
margin-bottom: 1.5rem;
font-size: 1rem;
}
/* 테이블 스크롤 래퍼 */
.eq-table-wrapper {
overflow-x: auto;
max-height: calc(100vh - 380px);
overflow-y: auto;
}
/* 결과 카운트 */
.eq-result-count {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
font-size: 0.8125rem;
color: #64748b;
}
.eq-result-count strong {
color: #1e293b;
}
/* 반응형 */
@media (max-width: 1200px) {
.eq-stats-section {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 768px) {
.eq-stats-section {
grid-template-columns: repeat(2, 1fr);
}
.eq-filter-section {
flex-direction: column;
}
.eq-filter-group {
width: 100%;
}
.eq-table th,
.eq-table td {
padding: 0.625rem 0.75rem;
}
.eq-col-spec,
.eq-col-model {
display: none;
}
}
/* 모달 개선 */
.eq-modal-body {
padding: 1.5rem;
}
.eq-form-section {
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid #f1f5f9;
}
.eq-form-section:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.eq-form-section-title {
font-size: 0.8rem;
font-weight: 600;
color: #3b82f6;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 1rem;
}
.eq-form-row {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
@media (max-width: 600px) {
.eq-form-row {
grid-template-columns: 1fr;
}
}

1185
web-ui/css/tbm.css Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff