134 lines
3.2 KiB
Plaintext
134 lines
3.2 KiB
Plaintext
/*
|
|
* UTKComponentList.uss
|
|
*
|
|
* UTKComponentList 컴포넌트의 스타일 정의입니다.
|
|
* 테마 지원: var(--color-*) 변수 사용
|
|
*/
|
|
|
|
.tree-menu-container {
|
|
background-color: var(--color-bg-panel);
|
|
align-self: stretch;
|
|
padding: 5px;
|
|
padding-top: 0;
|
|
padding-right: 0;
|
|
padding-bottom: 0;
|
|
padding-left: 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.search-container {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.search-field {
|
|
flex-grow: 1;
|
|
margin: 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;
|
|
}
|
|
|
|
/* 카테고리 확장/축소 토글 화살표 스타일 */
|
|
.unity-tree-view__item-toggle #unity-checkmark {
|
|
background-image: resource('UIToolkit/Images/icon_down_22');
|
|
}
|
|
|
|
/* 카테고리 항목: hover 시 배경 색상 변경 없음 */
|
|
.category-item:hover {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
/* 카테고리 항목: 선택 스타일도 비활성화 */
|
|
.category-item:checked {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.category-item:hover:checked {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
/* ============================================
|
|
TreeView 아이템 컨테이너 (TreeView Item Container)
|
|
============================================ */
|
|
|
|
.unity-tree-view__item-content TemplateContainer {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* ============================================
|
|
그룹 아이템 (Group Item) - UTKComponentListGroupItem
|
|
============================================ */
|
|
|
|
.tree-item-container {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 22px;
|
|
padding: 0 8px 0 0;
|
|
}
|
|
|
|
.tree-item-container .item-label-style {
|
|
flex-grow: 1;
|
|
margin: 0;
|
|
padding: 0 4px;
|
|
height: 22px;
|
|
color: var(--color-text-primary);
|
|
font-size: var(--font-size-body2);
|
|
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Bold');
|
|
-unity-text-align: middle-left;
|
|
}
|
|
|
|
.tree-item-container .badge-label {
|
|
flex-grow: 0;
|
|
margin: 0;
|
|
padding: 0 4px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
color: var(--color-text-on-primary);
|
|
font-size: var(--font-size-label4);
|
|
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Medium');
|
|
-unity-text-align: middle-center;
|
|
align-items: center;
|
|
border-radius: 9px;
|
|
background-color: var(--color-bg-tertiary);
|
|
}
|
|
|
|
/* ============================================
|
|
리프 아이템 (Leaf Item) - UTKComponentListItem
|
|
============================================ */
|
|
|
|
.tree-leaf-item-container {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 22px;
|
|
padding: 0 8px 0 0;
|
|
}
|
|
|
|
.tree-leaf-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-Medium');
|
|
-unity-text-align: middle-left;
|
|
}
|