1
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
Label {
|
||||
color: rgb(247, 247, 247);
|
||||
}
|
||||
|
||||
TabBar Button:disabled {
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -281,3 +277,40 @@ Foldout.--button #unity-content {
|
||||
TemplateContainer:disabled {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.unity-foldout__toggle > .unity-toggle__input:focus:enabled > .unity-label {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
TextField.error > #unity-text-input {
|
||||
background-color: rgba(255, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
Button.icon-remove {
|
||||
min-width: 28px;
|
||||
min-height: 28px;
|
||||
border-top-width: 0;
|
||||
border-right-width: 0;
|
||||
border-bottom-width: 0;
|
||||
border-left-width: 0;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/EditorIcons/d_winbtn_win_close@2x.png?fileID=2800000&guid=023d2ba213e1abb4dab3af11c79357c9&type=3#d_winbtn_win_close@2x");
|
||||
-unity-background-image-tint-color: rgb(255, 255, 255);
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
}
|
||||
|
||||
Label {
|
||||
color: rgb(247, 247, 247);
|
||||
}
|
||||
|
||||
.armorPlate-container:hover {
|
||||
background-color: rgba(255, 255, 255, 0.78);
|
||||
}
|
||||
|
5
Assets/BITKit/Unity/UX/UXWaiting_Handle_Template.uxml
Normal file
5
Assets/BITKit/Unity/UX/UXWaiting_Handle_Template.uxml
Normal file
@@ -0,0 +1,5 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:VisualElement style="flex-grow: 1;">
|
||||
<ui:Label tabindex="-1" text="等待加载中..." parse-escape-sequences="true" display-tooltip-when-elided="true" name="context-label" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
@@ -1,6 +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="True">
|
||||
<ui:VisualElement name="Background" picking-mode="Ignore" style="background-color: rgba(0, 0, 0, 0.03); position: absolute; left: 0; top: 0; bottom: 0; right: 0;" />
|
||||
<ui:VisualElement style="margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; -unity-font-definition: url('project://database/Assets/BITKit/Art/Fonts/NotoSansSC-Bold%20SDF.asset?fileID=11400000&guid=033cc1a4c6c35c6488ad74f4cee476ac&type=2#NotoSansSC-Bold SDF'); color: rgb(144, 144, 144);">
|
||||
<ui:Label text="等待中" display-tooltip-when-elided="true" style="font-size: 32px;" />
|
||||
<ui:Template name="UXWaiting_Handle_Template" src="project://database/Assets/BITKit/Unity/UX/UXWaiting_Handle_Template.uxml?fileID=9197481963319205126&guid=418bc306b2e063847b56f7b5f5a23f7d&type=3#UXWaiting_Handle_Template" />
|
||||
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&guid=a3a69d3518fd02b489e721f3c5b0b539&type=3#Common" />
|
||||
<ui:VisualElement name="waiting-root" style="flex-grow: 1;">
|
||||
<ui:VisualElement name="Background" picking-mode="Ignore" style="background-color: rgba(0, 0, 0, 0.92); position: absolute; left: 0; top: 0; bottom: 0; right: 0;" />
|
||||
<ui:VisualElement class="flex-center" style="min-width: 512px; min-height: 256px; background-color: rgb(113, 113, 113); border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; padding-top: 0; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
|
||||
<ui:Label text="等待中" display-tooltip-when-elided="true" class="tl" style="-unity-font-style: bold;" />
|
||||
<ui:VisualElement name="waiting-container" style="flex-grow: 1; background-color: rgb(87, 87, 87);">
|
||||
<ui:Instance template="UXWaiting_Handle_Template" name="UXWaiting_Handle_Template" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
|
Reference in New Issue
Block a user