-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exitwindow, nameplate, restart loc, menu, target, status uxml/css cle…
…anup
- Loading branch information
Showing
37 changed files
with
1,216 additions
and
940 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
l2-unity/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xmlns="UnityEngine.UIElements" editor-extension-mode="False"> | ||
<Style src="project://database/Assets/Resources/Data/UI/_Elements/L2StyleSheet.uss?fileID=7433441132597879392&guid=72e99cc94b130bf4ba100dceaa830b13&type=3#L2StyleSheet" /> | ||
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="L2Button" tabindex="-1" focusable="false" class="l2-flex-button"> | ||
<ui:VisualElement name="Icon" class="l2-flex-button-icon" style="flex-grow: 1;" /> | ||
<ui:Label tabindex="-1" text="Agree dasdsa" parse-escape-sequences="true" display-tooltip-when-elided="true" name="ButtonLabel" class="l2-flex-button-label" style="letter-spacing: 0;" /> | ||
</ui:Button> | ||
</ui:UXML> |
8 changes: 8 additions & 0 deletions
8
l2-unity/Assets/Resources/Data/UI/_Elements/Game/ExitWindow.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
l2-unity/Assets/Resources/Data/UI/_Elements/Game/ExitWindow.uxml
This file was deleted.
Oops, something went wrong.
206 changes: 206 additions & 0 deletions
206
l2-unity/Assets/Resources/Data/UI/_Elements/Game/ExitWindow/ExitWindow.uss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
.exit-window { | ||
width: 240px; | ||
height: 336px; | ||
position: absolute; | ||
} | ||
|
||
.exit-window-content { | ||
flex-grow: 1; | ||
position: absolute; | ||
left: 15px; | ||
top: 48px; | ||
} | ||
|
||
.exit-window-info-container { | ||
margin-top: 0; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
position: relative; | ||
left: 0; | ||
top: 0; | ||
width: 210px; | ||
height: 215px; | ||
background-color: rgba(0, 0, 0, 0.34); | ||
} | ||
|
||
.exit-window-container-wrapper { | ||
flex-grow: 1; | ||
margin-top: 4px; | ||
margin-right: 6px; | ||
margin-bottom: 4px; | ||
margin-left: 6px; | ||
position: relative; | ||
} | ||
|
||
.exit-window-info-bg { | ||
margin-top: 0; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
background-image: resource('Data/UI/Assets/Windows/refinewnd_back_Pattern_clear_resized'); | ||
align-self: flex-start; | ||
-unity-slice-left: 41; | ||
-unity-slice-top: 41; | ||
-unity-slice-right: 41; | ||
-unity-slice-bottom: 41; | ||
-unity-slice-scale: 1px; | ||
display: flex; | ||
visibility: visible; | ||
overflow: visible; | ||
position: absolute; | ||
height: 100%; | ||
flex-grow: 0; | ||
width: 100%; | ||
-unity-background-scale-mode: stretch-to-fill; | ||
opacity: 0.6; | ||
} | ||
|
||
.exit-window-info-inner { | ||
margin-top: 0; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
display: flex; | ||
flex-grow: 1; | ||
} | ||
|
||
.exit-window-label { | ||
-unity-background-image-tint-color: rgb(56, 56, 56); | ||
color: rgb(223, 222, 222); | ||
font-size: 11px; | ||
-unity-text-outline-width: 0.1px; | ||
margin-top: 16px; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-right: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
-unity-font-style: normal; | ||
align-self: flex-start; | ||
justify-content: center; | ||
-unity-font: initial; | ||
flex-grow: 0; | ||
width: 100%; | ||
-unity-text-align: upper-center; | ||
} | ||
|
||
.exit-window-info-text-container { | ||
width: 174px; | ||
height: 124px; | ||
background-image: none; | ||
-unity-slice-left: 9; | ||
-unity-slice-top: 9; | ||
-unity-slice-right: 9; | ||
-unity-slice-bottom: 9; | ||
-unity-slice-scale: 1px; | ||
opacity: 0.95; | ||
margin-top: 12px; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-right: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
align-self: center; | ||
background-color: rgba(0, 0, 0, 0.16); | ||
border-top-width: 1px; | ||
border-right-width: 1px; | ||
border-bottom-width: 1px; | ||
border-left-width: 1px; | ||
border-left-color: rgba(89, 89, 89, 0.18); | ||
border-right-color: rgba(89, 89, 89, 0.18); | ||
border-top-color: rgba(89, 89, 89, 0.18); | ||
border-bottom-color: rgba(89, 89, 89, 0.18); | ||
} | ||
|
||
.exit-window-info-row { | ||
margin-top: 10px; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
} | ||
|
||
.exit-window-info-row-title { | ||
margin-top: 0; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-right: 0; | ||
padding-left: 0; | ||
padding-bottom: 0; | ||
align-self: center; | ||
font-size: 11px; | ||
-unity-text-outline-width: 0.1px; | ||
-unity-font: resource('Data/UI/Assets/Font/tahoma'); | ||
letter-spacing: 4px; | ||
} | ||
|
||
.exit-window-info-row-value { | ||
margin-top: 0; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-right: 0; | ||
padding-bottom: 0; | ||
align-self: center; | ||
font-size: 11px; | ||
-unity-text-outline-width: 0.1px; | ||
text-shadow: 0.5px 0.5px 3px rgb(0, 0, 0); | ||
} | ||
|
||
.exit-window .initialize-button { | ||
width: 64px; | ||
margin-top: 6px; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
align-self: center; | ||
} | ||
|
||
.exit-window .initialize-button .l2-flex-button-label { | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
} | ||
|
||
.exit-window-buttons { | ||
margin-top: 6px; | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
margin-left: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
padding-left: 0; | ||
padding-right: 0; | ||
display: flex; | ||
position: relative; | ||
} | ||
|
||
.exit-window #CancelButton { | ||
margin-top: 6px; | ||
} | ||
|
||
.exit-window #RestartButton #Icon { | ||
background-image: resource('Data/UI/Assets/Menu/Icon_df_SystemMenuWnd_ReStart_clear'); | ||
} | ||
|
||
.exit-window #ExitButton #Icon { | ||
background-image: resource('Data/UI/Assets/Menu/icon_power_menu'); | ||
} |
11 changes: 11 additions & 0 deletions
11
l2-unity/Assets/Resources/Data/UI/_Elements/Game/ExitWindow/ExitWindow.uss.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
l2-unity/Assets/Resources/Data/UI/_Elements/Game/ExitWindow/ExitWindow.uxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False"> | ||
<ui:Template name="WindowTemplate" src="project://database/Assets/Resources/Data/UI/_Elements/Components/WindowTemplate.uxml?fileID=9197481963319205126&guid=5ca840f56ef6f1044b4dc077c7d3e6e6&type=3#WindowTemplate" /> | ||
<ui:Template name="L2Button" src="project://database/Assets/Resources/Data/UI/_Elements/Components/L2Button/L2Button.uxml?fileID=9197481963319205126&guid=47796068f89476143b10b5d383be52fc&type=3#L2Button" /> | ||
<Style src="project://database/Assets/Resources/Data/UI/_Elements/L2StyleSheet.uss?fileID=7433441132597879392&guid=72e99cc94b130bf4ba100dceaa830b13&type=3#L2StyleSheet" /> | ||
<Style src="project://database/Assets/Resources/Data/UI/_Elements/Game/ExitWindow/ExitWindow.uss?fileID=7433441132597879392&guid=41fc118377fcae544b8bce5a99b79d7f&type=3#ExitWindow" /> | ||
<ui:Instance template="WindowTemplate" name="WindowTemplate" class="exit-window"> | ||
<ui:VisualElement name="ContentContainer" class="exit-window-content"> | ||
<ui:GroupBox name="InfoContainer" class="exit-window-info-container"> | ||
<ui:VisualElement name="Wrapper" class="exit-window-container-wrapper"> | ||
<ui:GroupBox name="Bg" class="exit-window-info-bg" /> | ||
<ui:GroupBox name="ContentInside" class="exit-window-info-inner"> | ||
<ui:Label tabindex="-1" text="Play Report" parse-escape-sequences="true" display-tooltip-when-elided="true" class="exit-window-label l2-color-4" /> | ||
<ui:GroupBox name="BoxMenu" class="exit-window-info-text-container"> | ||
<ui:GroupBox name="FirstRow" class="exit-window-info-row"> | ||
<ui:Label tabindex="-1" text="EXP Acquired" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Acquired" class="exit-window-info-row-title l2-color-3" /> | ||
<ui:Label tabindex="-1" text="0 Exp" parse-escape-sequences="true" display-tooltip-when-elided="true" name="CountExp" class="exit-window-info-row-value l2-color-1" /> | ||
</ui:GroupBox> | ||
<ui:GroupBox name="TwoRow" class="exit-window-info-row"> | ||
<ui:Label tabindex="-1" text="Adena Acquired" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Adena" class="exit-window-info-row-title l2-color-3" /> | ||
<ui:Label tabindex="-1" text="0 Adena" parse-escape-sequences="true" display-tooltip-when-elided="true" name="CountAdena" class="exit-window-info-row-value l2-color-1" /> | ||
</ui:GroupBox> | ||
<ui:GroupBox name="TreRow" class="exit-window-info-row"> | ||
<ui:Label tabindex="-1" text="Item Acquired" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Adena" class="exit-window-info-row-title l2-color-3" /> | ||
<ui:Label tabindex="-1" text="0" parse-escape-sequences="true" display-tooltip-when-elided="true" name="CountItem" class="exit-window-info-row-value l2-color-1" /> | ||
</ui:GroupBox> | ||
</ui:GroupBox> | ||
<ui:Instance template="L2Button" name="InitializeButton" class="initialize-button" style="display: flex;"> | ||
<AttributeOverrides element-name="ButtonLabel" text="Initialize" /> | ||
</ui:Instance> | ||
</ui:GroupBox> | ||
</ui:VisualElement> | ||
</ui:GroupBox> | ||
<ui:GroupBox name="Buttons" class="exit-window-buttons"> | ||
<ui:Instance template="L2Button" name="ExitButton" class="l2-flex-button icon"> | ||
<AttributeOverrides element-name="ButtonLabel" text="Exit Game" /> | ||
</ui:Instance> | ||
<ui:Instance template="L2Button" name="RestartButton" class="l2-flex-button icon"> | ||
<AttributeOverrides element-name="ButtonLabel" text="Restart Game" /> | ||
</ui:Instance> | ||
<ui:Instance template="L2Button" name="CancelButton" class="l2-flex-button"> | ||
<AttributeOverrides element-name="ButtonLabel" text="Cancel" /> | ||
</ui:Instance> | ||
</ui:GroupBox> | ||
</ui:VisualElement> | ||
</ui:Instance> | ||
</ui:UXML> |
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
l2-unity/Assets/Resources/Data/UI/_Elements/Game/MenuWindow.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.