Streamingle_URP/Assets/Scripts/Editor/StreamingleTools/StreamingleControllerSetupTool.uss
user 41270a34f5 Refactor: 전체 에디터 UXML 전환 + 대시보드/런타임 UI + 한글화 + NanumGothic 폰트
- 모든 컨트롤러 에디터를 IMGUI → UI Toolkit(UXML/USS)으로 전환
  (Camera, Item, Event, Avatar, System, StreamDeck, OptiTrack, Facial)
- StreamingleCommon.uss 공통 테마 + 개별 에디터 USS 스타일시트
- SystemController 서브매니저 분리 (OptiTrack, Facial, Recording, Screenshot 등)
- 런타임 컨트롤 패널 (ESC 토글, 좌측 오버레이, 150% 스케일)
- 웹 대시보드 서버 (StreamingleDashboardServer) + 리타게팅 통합
- 설정 도구(StreamingleControllerSetupTool) UXML 재작성 + 원클릭 설정
- SimplePoseTransfer UXML 에디터 추가
- 전체 UXML 한글화 + NanumGothic 폰트 적용
- Streamingle.Debug → Streamingle.Debugging 네임스페이스 변경 (Debug.Log 충돌 해결)
- 불필요 코드 제거 (rawkey.cs, RetargetingHTTPServer, OptitrackSkeletonAnimator 등)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 02:51:43 +09:00

250 lines
4.4 KiB
Plaintext

/* ======== Streamingle Controller Setup Tool ======== */
/* Root */
.root {
padding: 8px;
-unity-font: resource('Fonts/NanumGothic');
}
.root Label, .root Button, .root Toggle, .root TextField {
-unity-font: resource('Fonts/NanumGothic');
}
/* ---- Section ---- */
.section {
background-color: rgba(0, 0, 0, 0.12);
border-radius: 4px;
margin-bottom: 4px;
padding: 6px 8px;
border-width: 1px;
border-color: rgba(255, 255, 255, 0.06);
}
.section-title {
font-size: 11px;
-unity-font-style: bold;
-unity-font: resource('Fonts/NanumGothicBold');
color: #cbd5e1;
margin-bottom: 4px;
padding-bottom: 3px;
border-bottom-width: 1px;
border-bottom-color: rgba(255, 255, 255, 0.06);
}
/* ---- Status Row ---- */
.status-row {
flex-direction: row;
align-items: center;
padding: 2px 0;
height: 20px;
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 3px;
background-color: #334155;
margin-right: 6px;
flex-shrink: 0;
}
.status-dot--found {
background-color: #22c55e;
}
.status-dot--missing {
background-color: #64748b;
}
.status-name {
min-width: 130px;
color: #e2e8f0;
font-size: 11px;
}
.status-location {
flex-grow: 1;
color: #64748b;
font-size: 10px;
-unity-font-style: italic;
}
.status-select-btn {
background-color: rgba(99, 102, 241, 0.15);
color: #818cf8;
border-width: 0;
border-radius: 3px;
padding: 1px 6px;
font-size: 9px;
height: 16px;
}
.status-select-btn:hover {
background-color: rgba(99, 102, 241, 0.3);
}
/* ---- Controller Toggle Row ---- */
.controller-toggle-row {
flex-direction: row;
align-items: center;
padding: 1px 0;
height: 20px;
}
.controller-toggle-row Toggle {
flex-grow: 1;
font-size: 11px;
}
.controller-exists-badge {
background-color: rgba(34, 197, 94, 0.15);
color: #22c55e;
border-radius: 3px;
padding: 0px 5px;
font-size: 9px;
-unity-font-style: bold;
}
/* ---- Parent Settings ---- */
.parent-name-field {
margin-top: 2px;
font-size: 11px;
}
/* ---- Actions ---- */
.actions-section {
margin-top: 4px;
}
.actions-primary {
flex-direction: row;
margin-bottom: 4px;
}
.actions-primary > Button {
flex-grow: 1;
height: 26px;
border-radius: 4px;
border-width: 0;
-unity-font-style: bold;
-unity-font: resource('Fonts/NanumGothicBold');
font-size: 11px;
margin-right: 3px;
}
.actions-primary > Button:last-child {
margin-right: 0;
}
.btn-create {
background-color: #6366f1;
color: white;
}
.btn-create:hover {
background-color: #4f46e5;
}
.btn-create:disabled {
background-color: #334155;
color: #64748b;
}
.btn-connect {
background-color: #0ea5e9;
color: white;
}
.btn-connect:hover {
background-color: #0284c7;
}
.btn-connect:disabled {
background-color: #334155;
color: #64748b;
}
.actions-secondary {
flex-direction: row;
}
.actions-secondary > Button {
flex-grow: 1;
height: 22px;
border-radius: 3px;
border-width: 1px;
border-color: rgba(255, 255, 255, 0.08);
background-color: rgba(255, 255, 255, 0.04);
color: #94a3b8;
font-size: 10px;
margin-right: 3px;
}
.actions-secondary > Button:last-child {
margin-right: 0;
}
.actions-secondary > Button:hover {
background-color: rgba(255, 255, 255, 0.08);
color: #e2e8f0;
}
/* One-click setup */
.btn-one-click {
height: 28px;
border-radius: 4px;
border-width: 0;
background-color: #16a34a;
color: white;
-unity-font-style: bold;
-unity-font: resource('Fonts/NanumGothicBold');
font-size: 12px;
margin-bottom: 6px;
}
.btn-one-click:hover {
background-color: #15803d;
}
.btn-one-click:disabled {
background-color: #334155;
color: #64748b;
}
/* ---- Result Log ---- */
.result-log {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 3px;
padding: 4px 6px;
margin-top: 4px;
max-height: 80px;
}
.result-log Label {
font-size: 10px;
color: #94a3b8;
white-space: normal;
}
/* Summary line */
.summary-line {
flex-direction: row;
align-items: center;
padding: 2px 0;
}
.summary-count {
-unity-font-style: bold;
-unity-font: resource('Fonts/NanumGothicBold');
font-size: 14px;
color: #818cf8;
min-width: 24px;
-unity-text-align: middle-center;
}
.summary-label {
color: #94a3b8;
font-size: 10px;
margin-left: 4px;
}