Files
tk-factory-services/system1-factory/fastapi-bridge/static/css/main-layout.css
Hyungi Ahn 550633b89d feat: 3-System 분리 프로젝트 초기 코드 작성
TK-FB(공장관리+신고)와 M-Project(부적합관리)를 3개 독립 시스템으로
분리하기 위한 전체 코드 구조 작성.
- SSO 인증 서비스 (bcrypt + pbkdf2 이중 해시 지원)
- System 1: 공장관리 (TK-FB 기반, 신고 코드 제거)
- System 2: 신고 (TK-FB에서 workIssue 코드 추출)
- System 3: 부적합관리 (M-Project 기반)
- Gateway 포털 (path-based 라우팅)
- 통합 docker-compose.yml 및 배포 스크립트

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

160 lines
2.3 KiB
CSS

/* ✅ /css/main-layout.css - 공통 레이아웃 스타일 */
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
background-color: #f5f5f5;
}
/* 메인 레이아웃 구조 */
.main-layout {
display: flex;
min-height: 100vh;
flex-direction: column;
}
#navbar-container {
position: sticky;
top: 0;
z-index: 1000;
}
.content-wrapper {
display: flex;
flex: 1;
}
#sidebar-container {
flex-shrink: 0;
}
#content-container,
#sections-container,
#admin-sections,
#user-sections {
flex: 1;
padding: 24px;
max-width: 1200px;
margin: 0 auto;
width: 100%;
}
/* 카드 스타일 */
.card {
background: white;
border-radius: 8px;
padding: 24px;
margin-bottom: 24px;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
/* 섹션 스타일 */
section {
background: white;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
section h2 {
font-size: 18px;
margin: 0 0 16px 0;
color: #333;
border-bottom: 2px solid #1976d2;
padding-bottom: 8px;
}
section ul {
list-style: none;
padding: 0;
margin: 0;
}
section li {
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
}
section li:last-child {
border-bottom: none;
}
section a {
color: #1976d2;
text-decoration: none;
display: block;
padding: 4px 0;
transition: all 0.3s;
}
section a:hover {
color: #0d47a1;
padding-left: 8px;
}
/* 로딩 상태 */
.loading {
text-align: center;
padding: 60px 20px;
color: #666;
}
.loading::after {
content: '.';
animation: dots 1.5s steps(3, end) infinite;
}
@keyframes dots {
0%, 20% { content: '.'; }
40% { content: '..'; }
60%, 100% { content: '...'; }
}
/* 에러 상태 */
.error-state {
text-align: center;
padding: 60px 20px;
color: #d32f2f;
}
.error-state button {
margin-top: 16px;
padding: 8px 24px;
background: #1976d2;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.error-state button:hover {
background: #1565c0;
}
/* 반응형 디자인 */
@media (max-width: 1024px) {
#content-container,
#sections-container {
padding: 16px;
}
}
@media (max-width: 768px) {
.content-wrapper {
flex-direction: column;
}
#sidebar-container {
order: -1;
}
section h2 {
font-size: 16px;
}
}