canto/Assets/UI/Modal.uxml
2025-07-20 18:46:40 -04:00

11 lines
1.6 KiB
Text

<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="False">
<Style src="project://database/Assets/UI/global.uss?fileID=7433441132597879392&amp;guid=79b8bca9bb0db511c919138e0469c94a&amp;type=3#global" />
<ui:VisualElement name="container" style="background-color: rgba(26, 26, 26, 0.63); border-left-color: rgb(252, 252, 252); border-right-color: rgb(252, 252, 252); border-top-color: rgb(252, 252, 252); border-bottom-color: rgb(252, 252, 252); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; flex-shrink: 1; transition-property: opacity; transition-duration: 1s; transition-timing-function: ease-in-out; margin-right: auto; margin-bottom: auto; translate: -50% 0;">
<ui:VisualElement name="header" style="border-bottom-color: rgb(252, 252, 252); border-left-color: rgb(252, 252, 252); border-right-color: rgb(252, 252, 252); border-top-color: rgb(252, 252, 252); border-bottom-width: 1px; padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
<ui:Label text="Title" name="title" enabled="true" class="header" style="color: rgb(252, 252, 252);" />
</ui:VisualElement>
<ui:VisualElement name="body" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
<ui:Label text="Content" name="content" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>