Net.Like.Xue.Tokyo/Assets/BITKit/Unity/UX/BITPlayer_Minimize.uxml

24 lines
2.8 KiB
Plaintext

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement name="minimize-container" style="background-color: rgb(31, 31, 31); -unity-background-scale-mode: scale-and-crop; margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; border-top-left-radius: 8px; border-bottom-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px;">
<ui:VisualElement style="background-color: rgb(255, 255, 255); padding-left: 16px; padding-right: 0; flex-direction: row; align-items: center; height: 48px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-left-color: rgba(0, 0, 0, 0); border-right-color: rgba(0, 0, 0, 0); border-top-color: rgba(0, 0, 0, 0); border-bottom-color: rgba(0, 0, 0, 0);">
<ui:Label text="videoName" display-tooltip-when-elided="true" name="videoName-label" style="color: rgb(48, 48, 48); font-size: 24px;" />
<ui:Button display-tooltip-when-elided="true" name="maximize-button" class="windowButton" style="margin-left: auto;">
<ui:VisualElement name="icon-image" />
</ui:Button>
<ui:Button display-tooltip-when-elided="true" name="close-button" class="windowButton alert">
<ui:VisualElement name="icon-image" style="background-image: url(&apos;project://database/Assets/BITKit/Art/Icons/Icon_symbols_close.png?fileID=2800000&amp;guid=aae5806b415655d41898c5712ec55d46&amp;type=3#Icon_symbols_close&apos;);" />
</ui:Button>
</ui:VisualElement>
<ui:VisualElement name="video" class="video" style="width: 1024px; height: 768px; flex-grow: 1; -unity-background-scale-mode: scale-to-fit;" />
<ui:VisualElement style="position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background-color: rgba(0, 0, 0, 0.78); flex-direction: row; align-items: center; justify-content: space-around;">
<ui:Button text="&#10;" display-tooltip-when-elided="true" name="play-button" class="playerButton" style="left: 0; top: 0; right: 0; bottom: 0;" />
<ui:Label text="16:59:01" display-tooltip-when-elided="true" name="currentTime-label" />
<ui:VisualElement style="flex-grow: 1;">
<ui:Slider high-value="1" name="player-slider" />
</ui:VisualElement>
<ui:Label text="16:57:57" display-tooltip-when-elided="true" name="totalTime-label" />
<ui:Button text="&#10;" display-tooltip-when-elided="true" name="maximize-button" class="playerButton" style="left: 0; top: 0; right: 0; bottom: 0; background-image: url(&apos;project://database/Assets/BITKit/Art/Icons/Icon_chrome-full-screen.png?fileID=2800000&amp;guid=14369dec7c1910746a4a0cfb41056f53&amp;type=3#Icon_chrome-full-screen&apos;);" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>