125 lines
2.8 KiB
Plaintext
125 lines
2.8 KiB
Plaintext
/*
|
|
* UTKTreeListWindow.uss
|
|
*
|
|
* UTKTreeListWindow 컴포넌트의 스타일 정의입니다.
|
|
* 테마 지원: var(--color-*) 변수 사용
|
|
*/
|
|
|
|
UTKTreeListWindow {
|
|
flex-grow: 1;
|
|
height: 100%;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.tree-menu-container {
|
|
background-color: var(--color-bg-panel);
|
|
flex-grow: 1;
|
|
height: 100%;
|
|
align-self: flex-start;
|
|
padding: 5px;
|
|
padding-top: 10px;
|
|
padding-bottom: 25px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
width: 300px;
|
|
}
|
|
|
|
/* ============================================
|
|
헤더 (Header)
|
|
============================================ */
|
|
|
|
.tree-window-header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 5px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tree-window-title {
|
|
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 스타일 오버라이드
|
|
============================================ */
|
|
|
|
.tree-window-close-button {
|
|
width: 22px;
|
|
height: 22px;
|
|
min-width: 22px;
|
|
min-height: 22px;
|
|
border-width: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
align-self: center;
|
|
display: none; /* 기본 숨김, 필요시 flex로 변경 */
|
|
}
|
|
|
|
/* ============================================
|
|
검색 필드 (Search Field)
|
|
============================================ */
|
|
|
|
.search-field {
|
|
margin-bottom: 12px;
|
|
margin-top: 0;
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
height: 24px;
|
|
}
|
|
|
|
/* ============================================
|
|
Clear 버튼 (Clear Button) - UTKButton 스타일 오버라이드
|
|
============================================ */
|
|
|
|
.search-clear-button {
|
|
width: 16px;
|
|
height: 16px;
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
border-width: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
align-self: center;
|
|
position: absolute;
|
|
right: 4px;
|
|
}
|
|
|
|
/* ============================================
|
|
Visibility 토글 (Visibility Toggle)
|
|
============================================ */
|
|
|
|
.visibility-toggle {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border-width: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
margin-right: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
margin-left: 0;
|
|
flex-shrink: 0;
|
|
background-image: resource('UIToolkit/Images/icon_eye_22x16');
|
|
}
|
|
|
|
.visibility-on {
|
|
background-image: resource('UIToolkit/Images/icon_eye_22x16');
|
|
}
|
|
|
|
.visibility-off {
|
|
background-image: resource('UIToolkit/Images/icon_eye_close_22x16');
|
|
}
|