Files
client/Editor/UI/Elements/NimbleCreditsBar.uxml
T
2026-07-31 19:29:07 +03:00

14 lines
2.2 KiB
Plaintext

<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
<ui:VisualElement style="flex-grow: 1; margin-left: 8px; margin-right: 8px;">
<ui:VisualElement name="CreditsBar" style="flex-grow: 0; height: 20px; color: rgb(30, 30, 30); background-color: rgb(30, 30, 30); margin-top: 4px; margin-bottom: 8px; margin-left: 0; margin-right: 0; flex-direction: row; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; overflow: hidden; 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); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; flex-shrink: 0;">
<ui:VisualElement name="MonthlyCredits" style="flex-grow: 0; background-color: rgb(34, 77, 118);" />
<ui:VisualElement name="RollOverMonthlyCredits" style="flex-grow: 0; background-color: rgb(62, 112, 159);" />
<ui:VisualElement name="ExtraCredits" style="flex-grow: 0; background-color: rgb(255, 113, 0);" />
<ui:VisualElement name="DailyCredits" style="flex-grow: 0; background-color: rgb(135, 135, 135);" />
</ui:VisualElement>
<ui:VisualElement name="InfoPopup" style="flex-grow: 1; position: absolute; bottom: auto; top: 30px; background-color: rgb(43, 43, 43); overflow: visible; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; border-left-color: rgb(87, 87, 87); border-right-color: rgb(87, 87, 87); border-top-color: rgb(87, 87, 87); border-bottom-color: rgb(87, 87, 87); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px;">
<ui:Label text="Monthly Credits: 30" name="InfoPopoupLabel" style="color: rgb(241, 241, 241);" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>