142 lines
3.4 KiB
Plaintext
142 lines
3.4 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: 10px;
|
|
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-container {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
margin: 0 0 var(--space-m) 0;
|
|
}
|
|
|
|
.search-field {
|
|
flex-grow: 1;
|
|
height: 24px;
|
|
margin: 0;
|
|
}
|
|
|
|
.search-field .unity-text-field__input {
|
|
background-color: var(--color-bg-input);
|
|
border-width: var(--border-width);
|
|
border-color: var(--color-border);
|
|
border-radius: var(--radius-s);
|
|
padding: var(--space-s) var(--space-m);
|
|
min-height: 24px;
|
|
font-size: var(--font-size-body2);
|
|
}
|
|
|
|
.search-field:focus .unity-text-field__input {
|
|
border-color: var(--color-border-focus);
|
|
}
|
|
|
|
/* ============================================
|
|
Clear 버튼 (Clear Button) - UTKButton 스타일 오버라이드
|
|
============================================ */
|
|
|
|
.search-clear-button {
|
|
width: 16px;
|
|
height: 16px;
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
border-width: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: absolute;
|
|
right: var(--space-s);
|
|
align-self: center;
|
|
}
|
|
|
|
/* ============================================
|
|
TreeView 아이템 컨테이너 (TreeView Item Container)
|
|
============================================ */
|
|
|
|
.unity-tree-view__item-content TemplateContainer {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* ============================================
|
|
트리 리스트 아이템 (Tree List Item) - UTKTreeListItem
|
|
============================================ */
|
|
|
|
.tree-list-item-container {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 18px;
|
|
padding: 0 8px 0 0;
|
|
}
|
|
|
|
.tree-list-item-container .item-label-style {
|
|
flex-grow: 1;
|
|
margin: 0;
|
|
padding: 0 4px;
|
|
color: var(--color-text-primary);
|
|
font-size: var(--font-size-label3);
|
|
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Bold');
|
|
-unity-text-align: middle-left;
|
|
}
|