1
This commit is contained in:
@@ -1,99 +0,0 @@
|
||||
.gamepopup {
|
||||
flex-grow: 1;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.gamepopup-bg {
|
||||
background-color: rgb(19, 190, 190);
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-left-width: 2px;
|
||||
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);
|
||||
padding-top: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.gamepopup-top {
|
||||
background-color: rgb(255, 255, 255);
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.gamepopup-title {
|
||||
-unity-text-align: middle-center;
|
||||
font-size: 32px;
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.gamepopup-container {
|
||||
}
|
||||
|
||||
.gamepopup-bottom {
|
||||
height: auto;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding-top: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.gamepopup-button {
|
||||
background-color: rgb(19, 190, 190);
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
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-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
height: 30px;
|
||||
width: 80px;
|
||||
color: rgb(255, 255, 255);
|
||||
font-size: 18px;
|
||||
transition-duration: 0.2s;
|
||||
}
|
||||
|
||||
.gamepopup-button:hover {
|
||||
scale: 1.1 1.1;
|
||||
}
|
||||
|
||||
.gamepopup-hide {
|
||||
opacity: 0;
|
||||
display: none;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<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">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/GamePopup.uss?fileID=7433441132597879392&guid=a05ba4ce7190c214a8a5812a5c58040b&type=3#GamePopup" />
|
||||
<ui:VisualElement name="GamePopup" picking-mode="Ignore" class="gamepopup">
|
||||
<ui:VisualElement name="Background" class="gamepopup-bg">
|
||||
<ui:VisualElement name="Top" class="gamepopup-top">
|
||||
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="gamepopup-title" />
|
||||
<ui:VisualElement name="Container" class="gamepopup-container" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Bottom" class="gamepopup-bottom">
|
||||
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="gamepopup-button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3fa07bbece82f4a4fbd93def67a53498
|
||||
guid: d909de94d183c3941995a31368040270
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
@@ -0,0 +1 @@
|
||||
VisualElement {}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a05ba4ce7190c214a8a5812a5c58040b
|
||||
guid: b1e4363420ab230499d487ec1ad2ad29
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
@@ -0,0 +1,13 @@
|
||||
<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:VisualElement style="flex-grow: 1; flex-direction: column-reverse; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; align-items: center; background-image: none; background-color: rgba(0, 0, 0, 0);">
|
||||
<ui:VisualElement name="Slider" class="slider-horizontal" style="flex-direction: column; width: 1000px; height: 60px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
|
||||
<ui:Label tabindex="-1" text="加载中。。。" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="slider-horizontal-title" style="height: 30px; -unity-text-align: middle-center;" />
|
||||
<ui:VisualElement name="Container" class="slider-horizontal-container" style="width: 100%; height: 30px; flex-grow: 0; flex-shrink: 1; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; background-color: rgb(255, 255, 255);">
|
||||
<ui:VisualElement name="Tracker" class="slider-horizontal-tracker" style="border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; 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); background-color: rgb(52, 152, 219);">
|
||||
<ui:VisualElement name="Dragger" class="slider-horizontal-dragger" style="display: none;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="position: absolute; left: 0; top: 0; right: 0; bottom: 0;" />
|
||||
</ui:UXML>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dee1b20bc314365459978397be7a5cfa
|
||||
guid: fb5d6f3bc717b0d4d9de29e39c671f95
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6b0fac07849d878469a618a9f46810a7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,79 @@
|
||||
.message-panel {
|
||||
flex-grow: 1;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
transition-duration: 0.2s;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.message-panel-bg {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
background-color: rgb(229, 229, 229);
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-left-width: 2px;
|
||||
border-left-color: rgb(0, 0, 0);
|
||||
border-right-color: rgb(0, 0, 0);
|
||||
border-top-color: rgb(0, 0, 0);
|
||||
border-bottom-color: rgb(0, 0, 0);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.message-panel-content {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 10px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-unity-text-align: middle-center;
|
||||
font-size: 24px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.message-panel-button {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-left-width: 2px;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-left-color: rgb(0, 0, 0);
|
||||
border-right-color: rgb(0, 0, 0);
|
||||
border-top-color: rgb(0, 0, 0);
|
||||
border-bottom-color: rgb(0, 0, 0);
|
||||
width: 80px;
|
||||
height: 35px;
|
||||
transition-duration: 0.2s;
|
||||
}
|
||||
|
||||
.message-panel-button:hover {
|
||||
scale: 1.1 1.1;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: da034b9f31c3a734d8e1b216d1204e37
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
<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">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/Message/Message.uss?fileID=7433441132597879392&guid=da034b9f31c3a734d8e1b216d1204e37&type=3#Message" />
|
||||
<ui:VisualElement name="Message1" picking-mode="Ignore" class="message-panel">
|
||||
<ui:VisualElement name="BG" class="message-panel-bg">
|
||||
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Content" class="message-panel-content" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23f846fe02415a24c9124807c12e3618
|
||||
guid: abba321009af7374fab0573063390012
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
@@ -0,0 +1,9 @@
|
||||
<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">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/Message/Message.uss?fileID=7433441132597879392&guid=da034b9f31c3a734d8e1b216d1204e37&type=3#Message" />
|
||||
<ui:VisualElement name="Message" picking-mode="Ignore" class="message-panel">
|
||||
<ui:VisualElement name="BG" class="message-panel-bg">
|
||||
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Content" class="message-panel-content" style="height: 70%;" />
|
||||
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="message-panel-button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97a24ba5ca1d7234e93ef1045aad2beb
|
||||
guid: 64c8f6a9923ad4342a545b1d220ac33e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
@@ -0,0 +1,12 @@
|
||||
<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">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/Message/Message.uss?fileID=7433441132597879392&guid=da034b9f31c3a734d8e1b216d1204e37&type=3#Message" />
|
||||
<ui:VisualElement name="Message" picking-mode="Ignore" class="message-panel">
|
||||
<ui:VisualElement name="BG" class="message-panel-bg">
|
||||
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Content" class="message-panel-content" style="height: 70%;" />
|
||||
<ui:VisualElement style="height: 30%; width: 100%; flex-direction: row; align-items: flex-start; justify-content: space-around;">
|
||||
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button1" class="message-panel-button" />
|
||||
<ui:Button text="取消" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button2" class="message-panel-button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d0d62b55e75a5814b88ba5b20ee9ce0e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -1,14 +0,0 @@
|
||||
<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">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/GamePopup.uss?fileID=7433441132597879392&guid=a05ba4ce7190c214a8a5812a5c58040b&type=3#GamePopup" />
|
||||
<ui:VisualElement name="GamePopup" picking-mode="Ignore" class="gamepopup gamepopup-hide" style="justify-content: flex-end; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px;">
|
||||
<ui:VisualElement name="Background" class="gamepopup-bg">
|
||||
<ui:VisualElement name="Top" class="gamepopup-top">
|
||||
<ui:Label tabindex="-1" text="LabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabel" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="gamepopup-title" style="min-width: 300px; max-width: 1000px; white-space: normal; -unity-text-align: middle-left; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; height: auto;" />
|
||||
<ui:VisualElement name="Container" class="gamepopup-container" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Bottom" class="gamepopup-bottom" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; flex-grow: 0; height: auto;">
|
||||
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="gamepopup-button" style="width: 100%; height: 100%; background-color: rgba(19, 190, 190, 0);" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<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">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/GamePopup.uss?fileID=7433441132597879392&guid=a05ba4ce7190c214a8a5812a5c58040b&type=3#GamePopup" />
|
||||
<ui:VisualElement name="GamePopup" picking-mode="Ignore" class="gamepopup gamepopup-hide">
|
||||
<ui:VisualElement name="Background" class="gamepopup-bg">
|
||||
<ui:VisualElement name="Top" class="gamepopup-top">
|
||||
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="gamepopup-title" style="min-width: 300px; min-height: 200px;" />
|
||||
<ui:VisualElement name="Container" class="gamepopup-container" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Bottom" class="gamepopup-bottom">
|
||||
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="gamepopup-button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
Reference in New Issue
Block a user