|
1 | 1 | <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="True">
|
2 | 2 | <Style src="project://database/Assets/LootLockerSDK/Editor/NewUI/LootLockerAdminExtension.uss?fileID=7433441132597879392&guid=f1130e18dfb99e04cbd54f3fac00ff15&type=3#LootLockerAdminExtension" />
|
3 | 3 | <ui:VisualElement style="align-self: stretch; justify-content: center; align-items: stretch; height: 100%;">
|
4 |
| - <ui:VisualElement name="Topbar" style="flex-grow: 1; visibility: visible; display: flex; border-bottom-width: 2px; border-bottom-color: rgb(46, 46, 46); flex-direction: row; justify-content: flex-start; align-self: auto; align-items: stretch;"> |
| 4 | + <ui:VisualElement name="Topbar" style="flex-grow: 1; visibility: visible; display: flex; border-bottom-width: 2px; border-bottom-color: rgb(46, 46, 46); flex-direction: row; justify-content: flex-start; align-self: auto; align-items: stretch; flex-wrap: wrap;"> |
5 | 5 | <ui:Label tabindex="-1" text="LootLocker" display-tooltip-when-elided="true" name="GameName" style="align-items: flex-start; align-self: center; font-size: 28px; -unity-text-align: middle-left; text-overflow: clip; width: auto; white-space: nowrap; max-width: 750px; margin-left: 24px; justify-content: flex-start;" />
|
6 | 6 | <ui:VisualElement name="Environment" style="flex-grow: 1; flex-direction: row; flex-shrink: 1; align-self: stretch; justify-content: flex-end; margin-right: 24px;">
|
7 | 7 | <ui:Label tabindex="-1" text="Environment: Stage" display-tooltip-when-elided="true" name="EnvironmentTitle" style="align-items: flex-start; align-self: center; font-size: 14px; -unity-text-align: middle-left; text-overflow: clip; white-space: nowrap; margin-right: 8px;" />
|
8 |
| - <ui:VisualElement name="SwitchBackground" class="environmentToStageBackground" style="flex-grow: 1; background-color: rgb(28, 232, 109); min-width: 0; min-height: 25px; border-top-left-radius: 15px; border-top-right-radius: 15px; border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; align-items: auto; align-self: center; max-width: 45px; justify-content: center; flex-shrink: 0;"> |
9 |
| - <ui:VisualElement name="Handle" style="flex-grow: 1; background-color: rgb(255, 255, 255); align-self: flex-start; align-items: flex-end; justify-content: flex-start; border-top-left-radius: 90px; border-top-right-radius: 90px; border-bottom-right-radius: 90px; border-bottom-left-radius: 90px; margin-right: 4px; margin-left: 4px; flex-shrink: 0; width: 20px; height: 20px; min-width: 20px; min-height: 20px; max-height: 20px; max-width: 20px; margin-top: 1px;" /> |
| 8 | + <ui:VisualElement name="SwitchBackground" class="environmentToStageBackground" style="flex-grow: 1; background-color: rgb(28, 232, 109); min-width: 0; min-height: 26px; border-top-left-radius: 12px; border-top-right-radius: 12px; border-bottom-right-radius: 12px; border-bottom-left-radius: 12px; align-items: auto; align-self: center; max-width: 45px; justify-content: center; flex-shrink: 0;"> |
| 9 | + <ui:VisualElement name="Handle" style="flex-grow: 1; background-color: rgb(255, 255, 255); align-self: flex-start; align-items: flex-end; justify-content: flex-start; border-top-left-radius: 90px; border-top-right-radius: 90px; border-bottom-right-radius: 90px; border-bottom-left-radius: 90px; margin-right: 4px; margin-left: 4px; flex-shrink: 0; width: 20px; height: 20px; min-width: 20px; min-height: 20px; max-height: 20px; max-width: 20px; margin-top: 0;" /> |
10 | 10 | </ui:VisualElement>
|
11 | 11 | </ui:VisualElement>
|
12 | 12 | </ui:VisualElement>
|
13 | 13 | <ui:VisualElement name="ContentView" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); margin-top: 0; opacity: 1; bottom: 0; top: 0; height: 100%;">
|
14 |
| - <ui:VisualElement name="MenuBar" style="flex-grow: 1; visibility: visible; display: flex; border-bottom-width: 2px; border-bottom-color: rgb(46, 46, 46); flex-direction: row; justify-content: flex-start; align-self: auto; align-items: stretch;"> |
| 14 | + <ui:VisualElement name="MenuBar" style="flex-grow: 1; visibility: visible; display: flex; border-bottom-width: 2px; border-bottom-color: rgb(46, 46, 46); flex-direction: row; justify-content: flex-start; align-self: auto; align-items: stretch; margin-left: 0; margin-bottom: 12px; flex-wrap: wrap;"> |
15 | 15 | <ui:VisualElement name="DynamicMenu" style="flex-grow: 1; flex-direction: row;">
|
16 | 16 | <ui:Button text="API Keys" display-tooltip-when-elided="true" name="APIKeyBtn" class="menuBtn" style="-unity-font-style: bold; background-color: rgba(188, 188, 188, 0); border-left-color: rgba(149, 149, 149, 0); border-right-color: rgba(149, 149, 149, 0); border-top-color: rgba(149, 149, 149, 0); border-bottom-color: rgba(149, 149, 149, 0); margin-left: 20px;" />
|
17 | 17 | </ui:VisualElement>
|
|
40 | 40 | <ui:Label tabindex="-1" text="Getting started guide" display-tooltip-when-elided="true" name="gettingStartedLink" class="clickable" style="font-size: 16px; align-items: auto; justify-content: space-evenly; align-self: center; color: rgb(81, 171, 255);" />
|
41 | 41 | </ui:VisualElement>
|
42 | 42 | </ui:VisualElement>
|
43 |
| - <ui:VisualElement name="MFAFlow" style="flex-grow: 1; flex-direction: row; display: none; height: 100%;"> |
| 43 | + <ui:VisualElement name="MFAFlow" style="flex-grow: 1; flex-direction: row; display: flex; height: 100%;"> |
44 | 44 | <ui:VisualElement name="Verify" style="flex-grow: 1; align-self: stretch; align-items: center; justify-content: flex-start; -unity-text-align: middle-center; flex-direction: column;">
|
45 | 45 | <ui:Label tabindex="-1" text="MFA Code" display-tooltip-when-elided="true" name="Title" style="font-size: 24px; align-items: auto; justify-content: space-evenly; align-self: center;" />
|
46 | 46 | <ui:VisualElement name="Form" style="flex-direction: column; flex-wrap: nowrap; flex-grow: 1; align-self: center; align-items: flex-start;">
|
|
56 | 56 | <ui:ScrollView name="GamesList" style="min-width: 300px; overflow: visible;" />
|
57 | 57 | </ui:VisualElement>
|
58 | 58 | </ui:VisualElement>
|
59 |
| - <ui:VisualElement name="APIKeyFlow" style="flex-grow: 1; flex-direction: column; display: flex; justify-content: flex-end; height: 100%;"> |
| 59 | + <ui:VisualElement name="APIKeyFlow" style="flex-grow: 1; flex-direction: column; display: none; justify-content: flex-end; height: 100%;"> |
60 | 60 | <ui:VisualElement name="Keys" style="flex-grow: 1; align-self: stretch; align-items: center; justify-content: flex-start; -unity-text-align: middle-center; flex-direction: column; min-width: 300px;">
|
61 | 61 | <ui:Label tabindex="-1" text="API Keys" display-tooltip-when-elided="true" name="Title" style="font-size: 24px; align-items: auto; justify-content: space-evenly; align-self: center; margin-bottom: 0; padding-bottom: 0;" />
|
62 | 62 | <ui:Label tabindex="-1" text="Select a key to use" display-tooltip-when-elided="true" name="Title" style="font-size: 14px; align-items: auto; justify-content: space-evenly; align-self: center; margin-bottom: 10px; padding-top: 0; margin-top: 0;" />
|
63 |
| - <ui:ScrollView name="APIKeyList" style="background-color: rgb(53, 53, 53);" /> |
| 63 | + <ui:ScrollView name="APIKeyList" style="background-color: rgb(53, 53, 53); flex-direction: column-reverse;" /> |
64 | 64 | </ui:VisualElement>
|
65 | 65 | </ui:VisualElement>
|
66 | 66 | <ui:VisualElement name="Footer" style="transform-origin: center; align-self: center; position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; flex-grow: 1; flex-shrink: 0; min-height: auto;">
|
67 |
| - <ui:Label tabindex="-1" text="Learn more about <color=#51ABFF> API Keys" display-tooltip-when-elided="true" name="LearnMore" class="clickable" style="-unity-text-align: upper-center; display: flex; position: relative; flex-direction: column-reverse; align-self: center; align-items: center; justify-content: flex-end;" /> |
| 67 | + <ui:Label tabindex="-1" text="Learn more about <color=#51ABFF> API Keys" display-tooltip-when-elided="true" name="LearnMore" class="clickable" style="-unity-text-align: upper-center; display: flex; position: relative; flex-direction: column-reverse; align-self: center; align-items: center; justify-content: flex-end; margin-bottom: 12px; margin-top: 12px;" /> |
68 | 68 | </ui:VisualElement>
|
69 | 69 | </ui:VisualElement>
|
70 | 70 | </ui:VisualElement>
|
71 |
| - <ui:VisualElement name="InfoandCreate" style="flex-grow: 1; align-self: center; align-items: auto; justify-content: flex-start; -unity-text-align: middle-center; flex-direction: column; margin-right: 0; margin-left: 0; padding-left: 0; min-width: 81px; max-width: 167px; position: absolute; right: 0; top: 109px; bottom: 0;"> |
| 71 | + <ui:VisualElement name="InfoandCreate" style="flex-grow: 1; align-self: center; align-items: auto; justify-content: flex-start; -unity-text-align: middle-center; flex-direction: column; margin-right: 15px; margin-left: 0; padding-left: 0; min-width: 81px; max-width: 167px; position: absolute; right: 0; top: 109px; bottom: 0;"> |
72 | 72 | <ui:Label tabindex="-1" text="Active Key: Not selected" display-tooltip-when-elided="true" name="ActiveKey" style="font-size: 10px; align-items: flex-end; justify-content: space-evenly; align-self: flex-end; margin-bottom: 8px; padding-bottom: 0; margin-right: 10px; text-overflow: ellipsis; max-width: 250px;" />
|
73 | 73 | <ui:Button text="Create new API Key" display-tooltip-when-elided="true" name="CreateKeyBtn" style="margin-right: 10px; min-height: 30px;" />
|
74 | 74 | </ui:VisualElement>
|
|
88 | 88 | <ui:Button text="Logout" display-tooltip-when-elided="true" name="LogoutBtn" class="menuButton" style="align-self: stretch;" />
|
89 | 89 | </ui:VisualElement>
|
90 | 90 | </ui:VisualElement>
|
91 |
| - <ui:VisualElement name="CreateAPIKeyWindow" class="clickable" style="flex-grow: 1; position: absolute; right: 0; left: 0; bottom: 0; top: 0; color: rgb(27, 27, 27); align-self: center; align-items: center; justify-content: space-around; display: none; background-color: rgba(0, 0, 0, 0.75);"> |
| 91 | + <ui:VisualElement name="CreateAPIKeyWindow" style="flex-grow: 1; position: absolute; right: 0; left: 0; bottom: 0; top: 0; color: rgb(27, 27, 27); align-self: center; align-items: center; justify-content: space-around; display: none; background-color: rgba(0, 0, 0, 0.75);"> |
92 | 92 | <ui:VisualElement name="Background" style="flex-grow: 1; background-color: rgb(56, 56, 56); max-width: 511px; min-width: 281px; max-height: 256px; min-height: 167px; align-self: center; align-items: flex-end; justify-content: flex-start; width: auto; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-left-color: rgb(46, 46, 46); border-right-color: rgb(46, 46, 46); border-top-color: rgb(46, 46, 46); border-bottom-color: rgb(46, 46, 46);">
|
93 | 93 | <ui:Label tabindex="-1" text="Create key" display-tooltip-when-elided="true" name="popupTitle" style="align-items: flex-start; align-self: center; justify-content: flex-start; font-size: 24px; margin-bottom: 0; padding-bottom: 0; margin-top: 15px; color: rgb(210, 210, 210);" />
|
94 | 94 | <ui:VisualElement name="VisualElement" style="flex-grow: 0; align-self: center; justify-content: flex-end; align-items: auto; flex-wrap: nowrap; white-space: normal; flex-direction: column; margin-bottom: 30px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; margin-top: 25px;">
|
|
99 | 99 | <ui:Label tabindex="-1" text="Cancel" display-tooltip-when-elided="true" name="APINewKeyCancel" class="clickable" style="align-items: flex-start; align-self: center; justify-content: flex-start; font-size: 13px; margin-bottom: 0; padding-bottom: 0; color: rgb(135, 135, 135); margin-top: 8px; padding-top: 0; -unity-font-style: bold-and-italic;" />
|
100 | 100 | </ui:VisualElement>
|
101 | 101 | </ui:VisualElement>
|
| 102 | + <ui:VisualElement name="LoadingBackground" style="flex-grow: 1; position: absolute; right: 0; left: 0; bottom: 0; top: 0; color: rgb(27, 27, 27); align-self: center; align-items: center; justify-content: center; display: flex; background-color: rgba(0, 0, 0, 0.75); rotate: 0;"> |
| 103 | + <ui:VisualElement name="LoadingIcon" style="flex-grow: 0; background-color: rgba(255, 255, 255, 0); align-self: center; align-items: center; justify-content: flex-end; width: 50px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; border-top-width: 10px; border-right-width: 10px; border-bottom-width: 10px; border-left-width: 10px; border-left-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); min-width: 50px; min-height: 50px; max-height: 50px; display: flex; position: relative; max-width: 50px; flex-shrink: 0; height: 50px; bottom: 0; right: 0; top: 0; left: 0; rotate: 0; translate: 0 0; transform-origin: center;" /> |
| 104 | + </ui:VisualElement> |
102 | 105 | </ui:UXML>
|
0 commit comments