diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.meta b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.meta new file mode 100644 index 000000000..0edeb27e1 --- /dev/null +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ffd1c528be2acf84499c3c58c944fed6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uss b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uss new file mode 100644 index 000000000..5b2349b7f --- /dev/null +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uss @@ -0,0 +1,50 @@ +.l2-flex-button { + flex-grow: 0; + width: auto; + -unity-slice-left: 6; + -unity-slice-top: 6; + -unity-slice-right: 6; + -unity-slice-bottom: 6; + font-size: 12px; + -unity-font-definition: resource('Data/UI/Assets/Font/tahoma Light'); + letter-spacing: 2px; + padding-top: 0; + padding-right: 0; + padding-bottom: 0; + padding-left: 0; + overflow: visible; + background-color: transparent; + background-image: resource('Data/UI/Assets/Button/Button_DF_L2Unity'); + border-top-width: 0; + border-right-width: 0; + border-bottom-width: 0; + border-left-width: 0; + margin-left: 0; +} + +.l2-flex-button:active { + background-image: resource('Data/UI/Assets/Button/Button_DF_L2Unity_Down'); +} + +.l2-flex-button:active:hover { + background-image: resource('Data/UI/Assets/Button/Button_DF_L2Unity_Down'); +} + +.l2-flex-button:hover { + background-image: resource('Data/UI/Assets/Button/Button_DF_L2Unity_Over'); +} + +.l2-flex-button-label { + -unity-font: resource('Data/UI/Assets/Font/tahoma'); + -unity-font-definition: resource('Data/UI/Assets/Font/tahoma Light'); + color: rgba(255, 249, 227, 0.96); + -unity-text-align: middle-center; + margin-top: 0; + margin-right: 0; + margin-bottom: 0; + margin-left: 0; + padding-left: 10px; + padding-right: 10px; + padding-top: 8px; + padding-bottom: 8px; +} \ No newline at end of file diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uss.meta b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uss.meta new file mode 100644 index 000000000..e78b3184a --- /dev/null +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uss.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b1d2114f9ed155f45a3eb16e5ef02441 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} + disableValidation: 0 diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.uxml b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uxml similarity index 100% rename from l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.uxml rename to l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uxml diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.uxml.meta b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uxml.meta similarity index 100% rename from l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button.uxml.meta rename to l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uxml.meta diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input.meta b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input.meta new file mode 100644 index 000000000..fd607d5cd --- /dev/null +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9d1e92da3262baa4cb12c8be2ce2ab77 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uss b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uss new file mode 100644 index 000000000..825541836 --- /dev/null +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uss @@ -0,0 +1,36 @@ +.l2-input-field { + -unity-font: resource('Data/UI/Assets/Font/tahoma'); + background-color: rgba(0, 0, 0, 0); + font-size: 12px; + margin-left: 6px; + letter-spacing: 0; + padding-top: 0; + margin-bottom: 2px; + margin-top: 2px; + overflow: hidden; + margin: 0; + padding: 0; + flex-grow: 0; + border-width: 0; + -unity-text-align: middle-center; + height: 18px; + color: white; +} + +.l2-input-field > .unity-label { + min-width: 0px; + -unity-text-align: middle-right; +} + +.l2-input-field #unity-text-input { + background-color: rgba(0, 0, 0, 0); + background-image: resource('Data/UI/Assets/Login/CharacterPassword_DF_EditBox_Scaled'); + border-width: 0; + margin: 0; + padding-left: 2px; + padding-right: 2px; + -unity-slice-left: 10; + -unity-slice-top: 10; + -unity-slice-right: 10; + -unity-slice-bottom: 10; +} \ No newline at end of file diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uss.meta b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uss.meta new file mode 100644 index 000000000..b97ea977d --- /dev/null +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uss.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2fa480f78160edf4a8c4381744578912 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} + disableValidation: 0 diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input.uxml b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uxml similarity index 51% rename from l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input.uxml rename to l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uxml index 15d20116a..04ac8681a 100644 --- a/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input.uxml +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Input/L2Input.uxml @@ -1,6 +1,5 @@