1
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
.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;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a05ba4ce7190c214a8a5812a5c58040b
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,14 @@
|
||||
<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>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97a24ba5ca1d7234e93ef1045aad2beb
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3fa07bbece82f4a4fbd93def67a53498
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,14 @@
|
||||
<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>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23f846fe02415a24c9124807c12e3618
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,14 @@
|
||||
<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>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dee1b20bc314365459978397be7a5cfa
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user