- frontend: React 19 + Vite 7 + Leaflet + Tailwind + Zustand - backend: Express + better-sqlite3 + TypeScript - database: PostgreSQL 초기화 스크립트 - .gitignore: 대용량 참고자료(scat, 참고용) 및 바이너리 파일 제외 - .env.example: API 키 템플릿 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
176 lines
2.7 KiB
CSS
Executable File
176 lines
2.7 KiB
CSS
Executable File
/* Layer tree 3-level styles */
|
|
.lyr-sw {
|
|
width: 28px;
|
|
height: 16px;
|
|
background: var(--bg0);
|
|
border-radius: 8px;
|
|
position: relative;
|
|
border: 1px solid var(--bd);
|
|
transition: 0.2s;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lyr-sw::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: var(--t3);
|
|
border-radius: 50%;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.lyr-sw.on {
|
|
background: rgba(6, 182, 212, 0.3);
|
|
border-color: var(--cyan);
|
|
}
|
|
|
|
.lyr-sw.on::after {
|
|
left: 14px;
|
|
background: var(--cyan);
|
|
}
|
|
|
|
.lyr-sw:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Level 1 Group */
|
|
.lyr-g1 {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.lyr-h1 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 7px 8px;
|
|
cursor: pointer;
|
|
border-radius: var(--rS);
|
|
transition: background 0.15s;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--t1);
|
|
font-family: var(--fK);
|
|
}
|
|
|
|
.lyr-h1:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.lyr-h1 .lyr-arr {
|
|
font-size: 8px;
|
|
color: var(--t3);
|
|
transition: transform 0.2s;
|
|
width: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.lyr-h1 .lyr-arr.open {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.lyr-h1-cnt {
|
|
margin-left: auto;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: var(--t3);
|
|
font-family: var(--fM);
|
|
}
|
|
|
|
.lyr-c1 {
|
|
padding-left: 6px;
|
|
overflow: hidden;
|
|
transition: max-height 0.25s ease;
|
|
}
|
|
|
|
.lyr-c1.collapsed {
|
|
max-height: 0 !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Level 2 Group */
|
|
.lyr-g2 {
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.lyr-h2 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 8px;
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
transition: background 0.15s;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--t2);
|
|
font-family: var(--fK);
|
|
}
|
|
|
|
.lyr-h2:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.lyr-h2 .lyr-arr {
|
|
font-size: 7px;
|
|
color: var(--t3);
|
|
transition: transform 0.2s;
|
|
width: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.lyr-h2 .lyr-arr.open {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.lyr-h2-cnt {
|
|
margin-left: auto;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: var(--t3);
|
|
font-family: var(--fM);
|
|
}
|
|
|
|
.lyr-c2 {
|
|
padding-left: 10px;
|
|
overflow: hidden;
|
|
transition: max-height 0.25s ease;
|
|
}
|
|
|
|
.lyr-c2.collapsed {
|
|
max-height: 0 !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Level 3 Toggle */
|
|
.lyr-t {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
color: var(--t2);
|
|
transition: color 0.15s, background 0.15s;
|
|
font-family: var(--fK);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.lyr-t:hover {
|
|
color: var(--t1);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.lyr-cnt {
|
|
margin-left: auto;
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
color: var(--t3);
|
|
font-family: var(--fM);
|
|
flex-shrink: 0;
|
|
}
|