UTKProperyWindow 개발 중

This commit is contained in:
logonkhi
2026-02-03 20:43:36 +09:00
parent 297ca29082
commit 8181eae4c6
74 changed files with 1268 additions and 385 deletions

View File

@@ -1 +0,0 @@
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"Split","MtRendering":false,"GraphicsJobs":false,"GpuSkinning":true,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"IL2CPP","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"StandaloneWindows64","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.2.12f1","Branch":"6000.2/staging","Changeset":"e89d5df0e333","Date":1762305399},"Dependencies":["com.cysharp.unitask@2.5.10","com.github-glitchenzo.nugetforunity@4.5.0","com.unity.2d.sprite@1.0.0","com.unity.ai.navigation@2.0.9","com.unity.cloud.gltfast@6.14.1","com.unity.ide.rider@3.0.38","com.unity.ide.visualstudio@2.0.25","com.unity.inputsystem@1.14.2","com.unity.multiplayer.center@1.0.0","com.unity.nuget.newtonsoft-json@3.2.1","com.unity.render-pipelines.core@17.2.0","com.unity.render-pipelines.universal@17.2.0","com.unity.test-framework@1.6.0","com.unity.timeline@1.8.9","com.unity.ugui@2.0.0","com.unity.visualscripting@1.9.8","com.unity.modules.accessibility@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.vr@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.unity.modules.subsystems@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.ext.nunit@2.0.5","com.unity.shadergraph@17.2.0","com.unity.render-pipelines.universal-config@17.0.3","com.unity.burst@1.8.25","com.unity.mathematics@1.3.2","com.unity.collections@2.6.2","com.unity.rendering.light-transport@1.0.1","com.unity.searcher@4.9.3","com.unity.nuget.mono-cecil@1.11.5","com.unity.test-framework.performance@3.2.0"],"Results":[]}

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: a8692d97c02ffec48bc8f9f568e868a5
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1 +0,0 @@
{"MeasurementCount":-1}

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: cba8cf29ff1a3af4c951dc8785008b52
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -52,6 +52,10 @@
margin-right: var(--space-s);
}
.utk-vector2-field #unity-y-input {
margin-right: 0;
}
/* Unity USS does not support :last-child pseudo-class */
/* .utk-vector2-field .unity-float-field:last-child {
margin-right: 0;

View File

@@ -52,6 +52,10 @@
margin-right: var(--space-s);
}
.utk-vector3-field #unity-z-input {
margin-right: 0;
}
/* Unity USS does not support :last-child pseudo-class */
/* .utk-vector3-field .unity-float-field:last-child {
margin-right: 0;

View File

@@ -44,6 +44,10 @@
margin-right: var(--space-xs);
}
.utk-vector4field #unity-w-input {
margin-right: 0;
}
/* Unity USS does not support :last-child pseudo-class */
/* .utk-vector4field .unity-float-field:last-child {
margin-right: 0;

View File

@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--color">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<VisualElement class="utk-property-item__value" style="flex-grow: 1;">
<VisualElement name="color-preview" class="utk-property-item__color-preview" />
<utk:UTKInputField name="hex-field" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<utk:UTKInputField name="hex-field" style="flex-grow: 1;" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="min-width: 24px; width: 24px;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--colorstate">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<VisualElement class="utk-property-item__value" style="flex-grow: 1;">
<utk:UTKLabel name="state-label" size="Body2" class="utk-property-item__state-label" />
<VisualElement name="color-preview" class="utk-property-item__color-preview" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--date">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKInputField name="date-field" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<VisualElement class="utk-property-item__value" style="flex-grow: 1;">
<utk:UTKInputField name="date-field" style="flex-grow: 1;" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,13 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--daterange">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKInputField name="start-field" />
<utk:UTKButton name="start-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<utk:UTKLabel text="~" size="Body2" class="utk-property-item__range-separator" />
<utk:UTKInputField name="end-field" />
<utk:UTKButton name="end-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<VisualElement name="VisualElement" class="utk-property-item__value" style="flex-direction: column; flex-grow: 1; align-items: stretch;">
<VisualElement style="flex-grow: 1; flex-direction: row;">
<utk:UTKInputField name="start-field" style="flex-grow: 1;" />
<utk:UTKButton name="start-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
<utk:UTKLabel text="~" size="Body2" text-alignment="Center" class="utk-property-item__range-separator" />
<VisualElement style="flex-grow: 1; flex-direction: row;">
<utk:UTKInputField name="end-field" style="flex-grow: 1;" />
<utk:UTKButton name="end-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--datetime">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKInputField name="datetime-field" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<VisualElement class="utk-property-item__value" style="flex-grow: 1;">
<utk:UTKInputField name="datetime-field" style="flex-grow: 1;" />
<utk:UTKButton name="picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,13 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--datetimerange">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKInputField name="start-field" />
<utk:UTKButton name="start-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<utk:UTKLabel text="~" size="Body2" class="utk-property-item__range-separator" />
<utk:UTKInputField name="end-field" />
<utk:UTKButton name="end-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" />
<VisualElement class="utk-property-item__value" style="flex-grow: 1; flex-direction: column; align-items: stretch;">
<VisualElement style="flex-grow: 1; flex-direction: row;">
<utk:UTKInputField name="start-field" style="flex-grow: 1;" />
<utk:UTKButton name="start-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
<utk:UTKLabel text="~" size="Body2" text-alignment="Center" class="utk-property-item__range-separator" style="-unity-text-align: middle-center;" />
<VisualElement style="flex-grow: 1; flex-direction: row;">
<utk:UTKInputField name="end-field" style="flex-grow: 1;" />
<utk:UTKButton name="end-picker-btn" text="..." variant="Secondary" class="utk-property-item__picker-btn" style="width: 24px; min-width: 24px;" />
</VisualElement>
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--dropdownlist">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKDropdown name="dropdown-field" />
<utk:UTKDropdown name="dropdown-field" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--enum">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKEnumDropDown name="enum-dropdown" />
<utk:UTKEnumDropDown name="enum-dropdown" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--float">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKFloatField name="value-field" />
<utk:UTKFloatField name="value-field" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--float utk-property-item--slider">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<VisualElement class="utk-property-item__value" style="flex-grow: 1;">
<utk:UTKSlider name="slider-field" class="utk-property-item__slider" />
<utk:UTKFloatField name="value-field" class="utk-property-item__number-field" />
</VisualElement>

View File

@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--floatrange">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKFloatField name="min-field" />
<VisualElement class="utk-property-item__value" style="flex-grow: 1; flex-direction: row;">
<utk:UTKFloatField name="min-field" style="flex-grow: 1;" />
<utk:UTKLabel text="~" size="Body2" class="utk-property-item__range-separator" />
<utk:UTKFloatField name="max-field" />
<utk:UTKFloatField name="max-field" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--int">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKIntegerField name="value-field" />
<utk:UTKIntegerField name="value-field" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--int utk-property-item--slider">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<VisualElement class="utk-property-item__value" style="flex-grow: 1;">
<utk:UTKSliderInt name="slider-field" class="utk-property-item__slider" />
<utk:UTKIntegerField name="value-field" class="utk-property-item__number-field" />
</VisualElement>

View File

@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--intrange">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKIntegerField name="min-field" />
<VisualElement class="utk-property-item__value" style="flex-grow: 1; flex-direction: row;">
<utk:UTKIntegerField name="min-field" style="flex-grow: 1;" />
<utk:UTKLabel text="~" size="Body2" class="utk-property-item__range-separator" />
<utk:UTKIntegerField name="max-field" />
<utk:UTKIntegerField name="max-field" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--string">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKInputField name="value-field" />
<utk:UTKInputField name="value-field" style="flex-grow: 1;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--vector2">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKVector2Field name="value-field" class="utk-property-item__vector2-field" />
<utk:UTKVector2Field name="value-field" class="utk-property-item__vector2-field" style="flex-grow: 1; margin-right: 0;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit">
<UXML xmlns="UnityEngine.UIElements" xmlns:utk="UVC.UIToolkit" editor-extension-mode="False">
<VisualElement name="item-root" class="utk-property-item utk-property-item--vector3">
<utk:UTKLabel name="name-label" class="utk-property-item__label" />
<VisualElement class="utk-property-item__value">
<utk:UTKVector3Field name="value-field" class="utk-property-item__vector3-field" />
<utk:UTKVector3Field name="value-field" class="utk-property-item__vector3-field" style="flex-grow: 1; margin-right: 0;" />
</VisualElement>
</VisualElement>
</UXML>

View File

@@ -11,7 +11,7 @@
.utk-property-list__search-container {
flex-direction: row;
padding: var(--space-m);
padding: var(--space-m) 0;
}
/* UTKInputField 검색 필드 스타일 */
@@ -56,7 +56,10 @@
flex-direction: row;
align-items: center;
min-height: 28px;
padding: 3px var(--space-m);
padding-top: 3px;
padding-bottom: 3px;
padding-left: var(--space-m);
padding-right: 0;
border-bottom-width: var(--border-width);
border-bottom-color: var(--color-border);
}
@@ -212,6 +215,7 @@
=================================== */
.utk-property-item__picker-btn {
width: 24px;
min-width: 24px;
height: 24px;
margin-left: var(--space-m);
background-color: var(--color-btn-normal);
@@ -229,11 +233,12 @@
Color Preview
=================================== */
.utk-property-item__color-preview {
width: 60px;
width: 22px;
height: 22px;
border-width: var(--border-width);
border-color: var(--color-border);
border-radius: var(--radius-s);
margin-right: var(--space-s);
}
/* ===================================

View File

@@ -3,7 +3,7 @@
<VisualElement name="window-root" class="utk-property-window">
<VisualElement name="header" class="utk-property-window__header">
<utk:UTKLabel name="title" class="utk-property-window__title" />
<utk:UTKButton name="close-btn" class="utk-property-window__close-btn" />
<utk:UTKButton name="close-btn" class="utk-property-window__close-btn" variant="Text" icon-only="true" />
</VisualElement>
<utk:UTKPropertyList name="content" class="utk-property-window__content" />
</VisualElement>

View File

@@ -1,29 +1,37 @@
/* UTKPropertyWindow.uss - 윈도우 스타일 (테마 시스템 적용) */
/*
* UTKPropertyWindowUss.uss
*
* UTKPropertyWindow 컴포넌트의 스타일 정의입니다.
* 테마 지원: var(--color-*) 변수 사용
*
* 다른 Window 컴포넌트(UTKTreeListWindow, UTKAccordionListWindow)와
* 동일한 스타일 가이드를 따릅니다.
*/
/* ============================================
윈도우 루트 (Window Root)
============================================ */
.utk-property-window {
position: absolute;
background-color: var(--color-bg-panel);
border-radius: 8px;
border-width: 1px;
border-color: var(--color-border);
min-width: 400px;
min-height: 200px;
/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */ /* Unity USS does not support box-shadow */
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;
height: 32px;
padding-left: 10px;
padding-right: 5px;
background-color: var(--color-bg-modal);
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom-width: 1px;
border-bottom-color: var(--color-border);
cursor: resource('UIToolkit/Images/cursor_point_white_32') 14 5;
margin-bottom: 10px;
height: 24px;
flex-shrink: 0;
}
/* UTKLabel 타이틀 스타일 */
@@ -33,42 +41,38 @@
.utk-property-window__title .utk-label__text {
color: var(--color-text-primary);
font-size: var(--font-size-body2);
-unity-font-style: bold;
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;
}
/* UTKButton 닫기 버튼 스타일 */
/* ============================================
닫기 버튼 (Close Button) - UTKButton 스타일 오버라이드
============================================ */
.utk-property-window__close-btn {
width: 24px;
height: 24px;
min-width: 24px;
width: 22px;
height: 22px;
min-width: 22px;
min-height: 22px;
border-width: 0;
padding: 0;
margin: 0;
border-radius: var(--radius-s);
align-self: center;
display: none; /* 기본 숨김, 필요시 flex로 변경 */
}
.utk-property-window__close-btn .utk-button__icon {
color: var(--color-text-secondary);
}
.utk-property-window__close-btn:hover {
background-color: var(--color-btn-hover);
}
.utk-property-window__close-btn:hover .utk-button__icon {
color: var(--color-text-primary);
}
.utk-property-window__close-btn:active {
background-color: rgba(255, 0, 0, 0.3);
}
/* ============================================
콘텐츠 (Content)
============================================ */
.utk-property-window__content {
flex-grow: 1;
}
/* PropertyList 내부 스타일 오버라이드 */
.utk-property-window .utk-property-list {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
#unity-content-viewport {
padding-right: 4px; /* 스크롤바 여유 공간 */
}

View File

@@ -24,6 +24,8 @@
- UTKComponents.uss에서 전역 스타일 정의됨
=================================== */
/* 여기서 변수 선언 하는 이유는 Dropdown의 팝업에 테마가 적용되지 않기에
별도로 지정하기 위함입니다. */
.unity-base-dropdown * {
--color-base-01: #FFFFFF;
--color-base-02: #F8F8F8;

View File

@@ -61,7 +61,7 @@
Component Sizes (size-*)
=================================== */
--size-btn-height: 24px;
--size-btn-min-width: 80px;
--size-btn-min-width: 64px;
--size-input-height: 24px;
--size-icon-btn: 20px;
--size-nav-btn: 24px;