109 lines
2.4 KiB
Plaintext
109 lines
2.4 KiB
Plaintext
/*
|
|
* UTKComponentListWindow.uss
|
|
*
|
|
* UTKComponentListWindow 및 UTKComponentTabListWindow 컴포넌트의 스타일 정의입니다.
|
|
* 테마 지원: var(--color-*) 변수 사용
|
|
*/
|
|
|
|
UTKComponentListWindow {
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
UTKComponentTabListWindow {
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 400px;
|
|
bottom: 0;
|
|
}
|
|
|
|
.container {
|
|
background-color: var(--color-bg-panel);
|
|
height: 100%;
|
|
align-self: flex-start;
|
|
padding: 5px;
|
|
padding-top: 10px;
|
|
padding-bottom: 25px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
width: 300px;
|
|
}
|
|
|
|
/* ============================================
|
|
헤더 (Header)
|
|
============================================ */
|
|
|
|
.component-window-header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 5px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.component-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 스타일 오버라이드
|
|
============================================ */
|
|
|
|
.component-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로 변경 */
|
|
}
|
|
|
|
/* ============================================
|
|
탭 버튼 (Tab Buttons)
|
|
============================================ */
|
|
|
|
.tab-button {
|
|
background-color: var(--color-base-03);
|
|
border-width: 0;
|
|
border-radius: 0px;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
margin-right: 1px;
|
|
margin-left: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--font-size-label3);
|
|
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Medium');
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tab-button:hover {
|
|
background-color: var(--color-base-05);
|
|
}
|
|
|
|
.tab-button-selected {
|
|
background-color: var(--color-base-07);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.tab-button-selected:hover {
|
|
background-color: var(--color-base-09);
|
|
}
|