Net.Like.Xue.Tokyo/Assets/Artists/UX/App/ui_app_chat.uxml

78 lines
9.4 KiB
Plaintext

<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="ui_app_chat_message-template" src="project://database/Assets/Artists/UX/App/ui_app_chat_message-template.uxml?fileID=9197481963319205126&amp;guid=999543a6ec7d7c74bade62f25934ecd0&amp;type=3#ui_app_chat_message-template" />
<ui:Template name="ui_app_chat-template" src="project://database/Assets/Artists/UX/App/ui_app_chat-template.uxml?fileID=9197481963319205126&amp;guid=1e39d2e283ffa0945a287ce3b7f8f78e&amp;type=3#ui_app_chat-template" />
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/BITKit/Unity/UX/MaterialDesign.uss?fileID=7433441132597879392&amp;guid=e4dec78bf3c31184ca4f258af4dd1f8e&amp;type=3#MaterialDesign" />
<Style src="project://database/Assets/Artists/UX/uss_pda.uss?fileID=7433441132597879392&amp;guid=d84886cbc940948469b91ac4df32cfae&amp;type=3#uss_pda" />
<Style src="project://database/Assets/Artists/UX/App/uss_app_chat.uss?fileID=7433441132597879392&amp;guid=414c2bc7df3bcf445b0d6aea1c1e5b34&amp;type=3#uss_app_chat" />
<ui:VisualElement class="status-bar" style="background-color: rgb(255, 255, 255);" />
<ui:VisualElement class="theme-light material" style="background-color: rgb(255, 255, 255); flex-direction: row; flex-grow: 1;">
<ui:VisualElement style="width: 100px; padding-top: 32px; padding-bottom: 32px; align-items: center;">
<ui:VisualElement>
<ui:VisualElement style="width: 64px; height: 64px; background-image: url(&quot;project://database/Assets/Artists/Arts/Icons/Logo.png?fileID=21300000&amp;guid=e7e72bdd81b3ee34c970a7b09afbf51f&amp;type=3#Logo&quot;); -unity-background-image-tint-color: rgb(88, 88, 88);" />
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; justify-content: center;">
<BITKit.UX.TabBar tabs="message,settings" class="variable-square" />
</ui:VisualElement>
<ui:VisualElement>
<ui:VisualElement style="width: 64px; height: 64px; background-image: url(&quot;project://database/Assets/Artists/Models/Humanoid/Icons/player_hitbox_slim%20Variant.png?fileID=21300000&amp;guid=b4c4dfad2f64ab44e96233d28d1a1e7f&amp;type=3#player_hitbox_slim Variant&quot;); border-top-left-radius: 171px; border-top-right-radius: 171px; border-bottom-right-radius: 171px; border-bottom-left-radius: 171px;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; border-left-color: rgba(0, 0, 0, 0.13); border-right-color: rgba(0, 0, 0, 0.13); border-top-color: rgba(0, 0, 0, 0.13); border-bottom-color: rgba(0, 0, 0, 0.13); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-left-radius: 32px; border-bottom-left-radius: 32px; flex-direction: row; padding-top: 16px; padding-right: 16px; padding-bottom: 16px; padding-left: 16px;">
<ui:VisualElement>
<ui:VisualElement style="border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.13); border-right-color: rgba(0, 0, 0, 0.13); border-top-color: rgba(0, 0, 0, 0.13); border-bottom-color: rgba(0, 0, 0, 0.13); flex-direction: row; padding-top: 16px; padding-right: 16px; padding-bottom: 16px; padding-left: 16px; justify-content: space-between; align-items: center; min-height: 100px;">
<ui:Label tabindex="-1" text="Chat" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" style="-unity-text-align: middle-left; -unity-font-style: bold;" />
<ui:VisualElement />
</ui:VisualElement>
<ui:ScrollView>
<ui:VisualElement name="chat_list-container" style="flex-grow: 1;">
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" class="selected" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" class="allow-badge" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
<ui:Instance template="ui_app_chat_message-template" name="ui_app_chat_message-template" />
</ui:VisualElement>
</ui:ScrollView>
</ui:VisualElement>
<ui:VisualElement name="chat-panel" style="background-color: rgb(236, 240, 244); border-top-left-radius: 14px; border-top-right-radius: 14px; border-bottom-right-radius: 14px; border-bottom-left-radius: 14px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 30%; flex-grow: 1; display: flex;">
<ui:VisualElement style="border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.13); border-right-color: rgba(0, 0, 0, 0.13); border-top-color: rgba(0, 0, 0, 0.13); border-bottom-color: rgba(0, 0, 0, 0.13); flex-direction: row; padding-top: 16px; padding-right: 16px; padding-bottom: 16px; padding-left: 16px; justify-content: space-between; align-items: center; min-height: 100px;">
<ui:Label tabindex="-1" text="Group Chat" parse-escape-sequences="true" display-tooltip-when-elided="true" name="chat_user-label" class="tl" style="-unity-text-align: middle-left; -unity-font-style: bold;" />
<ui:VisualElement>
<ui:Button text="message" parse-escape-sequences="true" display-tooltip-when-elided="true" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1;">
<ui:ScrollView name="chat-scroll" style="height: 100%;">
<ui:VisualElement name="chat-container" style="padding-top: 12px; padding-right: 12px; padding-bottom: 12px; padding-left: 12px;">
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" class="self" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" class="self" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
<ui:Instance template="ui_app_chat-template" name="ui_app_chat-template" />
</ui:VisualElement>
</ui:ScrollView>
</ui:VisualElement>
<ui:Label tabindex="-1" text="对方正在输入..." parse-escape-sequences="true" display-tooltip-when-elided="true" name="is_typing-label" style="margin-top: 8px; margin-right: 16px; margin-bottom: 8px; margin-left: 16px;" />
<ui:VisualElement style="background-color: rgb(255, 255, 255); margin-top: 12px; margin-right: 12px; margin-bottom: 12px; margin-left: 12px; padding-top: 4px; padding-right: 0; padding-bottom: 4px; padding-left: 0; border-top-left-radius: 12px; border-top-right-radius: 12px; border-bottom-right-radius: 12px; border-bottom-left-radius: 12px; flex-direction: row; min-height: 64px;">
<ui:TextField value="I have meesage for you too" name="message-field" class="variant-text" style="flex-grow: 1;" />
<ui:Button text="发送" parse-escape-sequences="true" display-tooltip-when-elided="true" name="send-button" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; width: 30%; display: none;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>