79 lines
1.9 KiB
Plaintext
79 lines
1.9 KiB
Plaintext
/*
|
|
* UTKPropertyWindowUss.uss
|
|
*
|
|
* UTKPropertyWindow 컴포넌트의 스타일 정의입니다.
|
|
* 테마 지원: var(--color-*) 변수 사용
|
|
*
|
|
* 다른 Window 컴포넌트(UTKTreeListWindow, UTKAccordionListWindow)와
|
|
* 동일한 스타일 가이드를 따릅니다.
|
|
*/
|
|
|
|
/* ============================================
|
|
윈도우 루트 (Window Root)
|
|
============================================ */
|
|
|
|
.utk-property-window {
|
|
background-color: var(--color-bg-panel);
|
|
flex-grow: 1;
|
|
height: 100%;
|
|
min-width: 390px;
|
|
width: 390px;
|
|
padding: 10px 20px 25px 20px;
|
|
}
|
|
|
|
/* ============================================
|
|
헤더 (Header)
|
|
============================================ */
|
|
|
|
.utk-property-window__header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* UTKLabel 타이틀 스타일 */
|
|
.utk-property-window__title {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.utk-property-window__title .utk-label__text {
|
|
color: var(--color-text-primary);
|
|
font-size: var(--font-size-label3);
|
|
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Medium');
|
|
-unity-font-style: normal;
|
|
margin: 0;
|
|
padding: 0;
|
|
-unity-text-align: middle-left;
|
|
}
|
|
|
|
/* ============================================
|
|
닫기 버튼 (Close Button) - UTKButton 스타일 오버라이드
|
|
============================================ */
|
|
|
|
.utk-property-window__close-btn {
|
|
width: 22px;
|
|
height: 22px;
|
|
min-width: 22px;
|
|
min-height: 22px;
|
|
border-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
align-self: center;
|
|
display: none; /* 기본 숨김, 필요시 flex로 변경 */
|
|
}
|
|
|
|
/* ============================================
|
|
콘텐츠 (Content)
|
|
============================================ */
|
|
|
|
.utk-property-window__content {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#unity-content-viewport {
|
|
padding-right: 4px; /* 스크롤바 여유 공간 */
|
|
}
|