Files
Aislo/ui_template/ui_template_progress.css
T
eomsangdonandClaude Opus 5.5 64b35da265 feat(D 예정노선): 영역 루틴 — 받기 끝 지형면 · 받은 범위 먼저 → 겹 다시(차례 번호) · 도엽 겹 서버 자름 · 위치 칸 제목 서클 하나 · 10 km 밖 알림 (PLAN 604 · 요구 475 · 476-2)
- 받기 끝 = 지형면 · 받은 범위 다 읽은 뒤 겹 판정(동시 읽기 = 옛 범위 판정 뿌리) · 되돌리기 · 다시하기도 영역 확인
- 겹 load(have) — 받은 범위 지문 · 위성 틀 바뀜 = 차례 +1 · 자료 · 받는 중 비움 · 켠 겹 모두 다시 · 옛 차례 답은 자료 · GL 에 안 씀
- 등고 · 세류 = 예정노선 겹 길(layers/sheet) · 도엽 겹 모두 서버가 받은 범위로 자른 사본(화면 상자 · 보관함 지문 걷음)
- 서클 = 위치 칸 제목 오른쪽 하나 · 들어간 일 수(지형 받기 · 지형면 · 겹 · 임도망 올리기) · 부품 상자 원에 제목 줄 꼴(inline) 덧 · 지도 귀퉁이 서클 걷음
- 기준점 10 km 밖 점 = 위치 칸 알림 한 줄
- 시험 553_4 서클 줄 = 새 자리로 고침

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:43:20 +09:00

188 lines
4.7 KiB
CSS

/* 공통 프로그레스 서클 — 뷰포트 위에 얹는 원형 진행 표시.
테두리 두께·색은 공통 로딩 스피너(.ui-spinner)와 같게 맞추고, 가운데에 진행률만 더한다. */
.ui-progress-circle {
--ui-progress-size: 72px;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--spacing-8);
pointer-events: none;
user-select: none;
}
/* 컨테이너 정중앙 오버레이 — 3D 뷰포트·지도·그래프 어디에나 같은 방식으로 얹는다.
컨테이너에 position: relative 가 있어야 한다. */
.ui-progress-circle--overlay {
position: absolute;
z-index: 1;
inset: 0;
justify-content: center;
}
/* 오른쪽 아래 귀퉁이 — 지도 가운데(그리는 자리)를 안 가림 · 글은 원 왼쪽 */
.ui-progress-circle--corner {
position: absolute;
z-index: 1;
right: var(--spacing-8);
bottom: var(--spacing-8);
flex-direction: row-reverse;
}
/* 제목 줄 안 — 패널 카드 제목 오른쪽(캐럿 왼쪽) · 제목 높이 그대로(음수 margin) · 글은 원 왼쪽 한 줄 */
.ui-progress-circle--inline {
--ui-progress-size: 16px;
flex-direction: row-reverse;
gap: var(--spacing-4);
min-width: 0;
margin: -0.4em 0 -0.4em auto;
}
.ui-progress-circle--inline :is(.ui-progress-circle__track, .ui-progress-circle__bar) {
stroke-width: 14;
}
.ui-progress-circle--inline .ui-progress-circle__percent {
display: none;
}
.ui-progress-circle--inline .ui-progress-circle__label {
overflow: hidden;
padding: 0;
background: none;
font-weight: var(--font-weight-regular);
text-overflow: ellipsis;
white-space: nowrap;
}
.ui-progress-circle__dial {
position: relative;
width: var(--ui-progress-size);
height: var(--ui-progress-size);
}
/* 회전 껍데기 — 진행률을 알든 모르든 **항상** 돈다(2026-09-04 사용자 지시).
무거운 단계에서 호가 안 늘어도 도넛이 멈춰 보이지 않는다. 안쪽 svg는 12시 고정이라
호·숫자는 제자리에서 갱신된다. */
.ui-progress-circle__spin {
width: 100%;
height: 100%;
animation: ui-progress-spin 1s linear infinite;
}
.ui-progress-circle__svg {
width: 100%;
height: 100%;
/* 12시 방향에서 시계 방향으로 채운다. */
transform: rotate(-90deg);
}
.ui-progress-circle__track {
fill: none;
stroke: var(--color-mist-violet);
stroke-width: 8;
}
.ui-progress-circle__bar {
fill: none;
stroke: var(--color-royal-amethyst);
stroke-width: 8;
stroke-linecap: round;
transition: stroke-dashoffset var(--transition-base);
}
@keyframes ui-progress-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.ui-progress-circle__percent {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
color: var(--color-text-body);
font-family: var(--font-body);
font-size: var(--text-body-sm);
font-weight: var(--font-weight-semibold);
}
.ui-progress-circle__label {
max-width: 22ch;
padding: var(--spacing-4) var(--spacing-8);
border-radius: var(--radius-inputs);
background: color-mix(in srgb, var(--color-surface-raised) 82%, transparent);
color: var(--color-text-secondary);
font-size: var(--text-caption);
text-align: center;
word-break: keep-all;
}
.ui-progress-circle__label:empty {
display: none;
}
/* 진행 막대(552-3) — 대시보드 `.b01-sys-gauge__bar` 꼴 · 굵기 = data-size */
.ui-progress {
display: flex;
align-items: center;
gap: var(--spacing-8);
min-width: 0;
}
.ui-progress__track {
display: flex;
flex: 1;
height: 8px;
border-radius: 4px;
background: var(--color-hover);
overflow: hidden;
}
.ui-progress[data-size="6"] .ui-progress__track {
height: 6px;
border-radius: 3px;
}
.ui-progress__fill {
display: block;
height: 100%;
background: var(--color-accent);
transition: width var(--transition-base);
}
.ui-progress__fill--soft {
background: var(--color-accent-soft);
}
.ui-progress__fill--warn,
.ui-progress.is-warn .ui-progress__fill {
background: var(--color-warning);
}
.ui-progress.is-bad .ui-progress__fill,
.ui-progress:is(.is-error, [data-state="error"]) .ui-progress__fill {
background: var(--color-danger-fill);
}
.ui-progress:is(.is-error, [data-state="error"]) .ui-progress__label {
color: var(--color-danger);
}
.ui-progress__label {
flex: none;
font-size: var(--text-caption);
color: var(--color-text-muted);
font-variant-numeric: tabular-nums;
}
.ui-progress__label:empty {
display: none;
}
/* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */
:is(
.ui-progress,
.ui-progress-circle,
.ui-progress-circle__percent,
.ui-progress__fill,
.ui-progress__track
)[hidden] {
display: none !important;
}