From abc8c537b2bfcdb4180250e6b0729d2a99789b02 Mon Sep 17 00:00:00 2001 From: shnok Date: Mon, 2 Dec 2024 17:00:43 +0800 Subject: [PATCH] post uxml update UI tweaks/fixes --- .../frames_df_btn_close.png.meta | 2 +- .../Windows_DF_Large_Bg_Darker.png.meta | 2 +- .../UI/_Elements/Components/L2Bar/L2Bar.uss | 36 ++- .../UI/_Elements/Components/L2Bar/L2Bar.uxml | 5 +- .../_Elements/Components/L2Input/L2Input.uss | 5 +- .../_Elements/Components/L2Input/L2Input.uxml | 2 +- .../Components/L2ScrollView/L2Scrollview.uss | 4 + .../UI/_Elements/Components/L2Slot/L2Slot.uss | 2 +- .../Game/ActionWindow/ActionWindow.uss | 3 - .../Game/ActionWindow/ActionWindow.uxml | 8 +- .../CharacterInfoWindow.uxml | 2 +- .../_Elements/Game/ChatWindow/ChatWindow.uss | 2 + .../_Elements/Game/ExitWindow/ExitWindow.uss | 6 +- .../_Elements/Game/MenuWindow/MenuWindow.uss | 6 +- .../Game/StatusWindow/StatusWindow.uxml | 12 +- .../Game/TargetWindow/TargetWindow.uss | 5 +- .../Game/TargetWindow/TargetWindow.uxml | 2 +- .../Data/UI/_Elements/L2StyleSheet.uss | 22 +- .../CharSelectWindow/CharSelectWindow.uss | 4 +- .../Login/LicenseWindow/LicenseWindow.uss | 7 +- .../ServerListWindow/ServerListWindow.uss | 5 + l2-unity/Assets/Resources/Scenes/Menu.unity | 286 +++++++++--------- .../Assets/Resources/Scenes/l2_lobby.unity | 4 +- .../Scripts/UI/Game/Action/ActionWindow.cs | 21 +- .../Assets/Scripts/UI/Game/CharacterWindow.cs | 2 +- .../Assets/Scripts/UI/Game/StatusWindow.cs | 21 ++ .../UserSettings/Layouts/default-6000.dwlt | 199 +++++++----- 27 files changed, 400 insertions(+), 275 deletions(-) diff --git a/l2-unity/Assets/Resources/Data/UI/Assets/Frame/Frame_DF_Btn_Close/frames_df_btn_close.png.meta b/l2-unity/Assets/Resources/Data/UI/Assets/Frame/Frame_DF_Btn_Close/frames_df_btn_close.png.meta index cd923c9f9..664c78c2f 100644 --- a/l2-unity/Assets/Resources/Data/UI/Assets/Frame/Frame_DF_Btn_Close/frames_df_btn_close.png.meta +++ b/l2-unity/Assets/Resources/Data/UI/Assets/Frame/Frame_DF_Btn_Close/frames_df_btn_close.png.meta @@ -113,7 +113,7 @@ TextureImporter: customData: physicsShape: [] bones: [] - spriteID: + spriteID: 5e97eb03825dee720800000000000000 internalID: 0 vertices: [] indices: diff --git a/l2-unity/Assets/Resources/Data/UI/Assets/Windows/Windows_DF_Large_Bg_Darker.png.meta b/l2-unity/Assets/Resources/Data/UI/Assets/Windows/Windows_DF_Large_Bg_Darker.png.meta index 39faee14e..8431c654b 100644 --- a/l2-unity/Assets/Resources/Data/UI/Assets/Windows/Windows_DF_Large_Bg_Darker.png.meta +++ b/l2-unity/Assets/Resources/Data/UI/Assets/Windows/Windows_DF_Large_Bg_Darker.png.meta @@ -34,7 +34,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: 0 + filterMode: 2 aniso: 1 mipBias: 0 wrapU: 1 diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uss b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uss index a7842aff3..eed10079b 100644 --- a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uss +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uss @@ -1,6 +1,6 @@ .l2-bar { - height: 14px; - max-height: 14px; + height: 12px; + max-height: 12px; flex-direction: row; flex-grow: 1; } @@ -59,6 +59,12 @@ width: 100%; } +.l2-bar-container-wrap { + flex-grow: 1; + min-height: 12px; + max-height: 12px; +} + .l2-bar .l2-bar-bg .l2-bar-left { background-image: resource('Data/UI/Assets/Status/Gauge/Gauge_DF_Large_HP/Gauge_DF_Large_HP_bg_Left'); } @@ -314,8 +320,26 @@ -unity-text-outline-color: rgba(0, 0, 0, 0.6); } -.l2-bar-container { - flex-grow: 1; - height: 14px; - max-height: 14px; +.l2-bar.status .l2-bar-status-label { + display: flex; } + +.l2-bar-status-label { + position: absolute; + display: none; + margin-top: 0; + margin-right: 0; + margin-bottom: 0; + margin-left: 8px; + padding-top: 0; + padding-right: 0; + padding-bottom: 0; + padding-left: 0; + -unity-font-definition: resource('Data/UI/Assets/Font/asiahm-medium'); + text-shadow: 0.9px 0.9px 3px rgb(0, 0, 0); + -unity-text-outline-width: 0.7px; + -unity-text-outline-color: rgb(0, 0, 0); + -unity-font-style: bold; + letter-spacing: -18px; + font-size: 12px; +} \ No newline at end of file diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uxml b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uxml index ca20b7904..39d93a61a 100644 --- a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uxml +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uxml @@ -2,8 +2,8 @@