This commit is contained in:
CortexCore
2024-03-19 20:16:48 +08:00
parent 0da2773ea6
commit c8f8c3c8df
112 changed files with 682250 additions and 8960 deletions

View File

@@ -55,8 +55,8 @@
}
.cosmetic-button #context-label {
background-color: rgba(255, 255, 255, 0.78);
color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.78);
color: rgb(247, 247, 247);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
@@ -76,6 +76,12 @@
border-bottom-color: rgb(255, 255, 255);
}
.--toggled > .cosmetic-button #icon-image {
width: 128px;
height: 128px;
-unity-background-image-tint-color: rgb(255, 255, 255);
}
.cosmetic-button:hover #icon-image {
-unity-background-image-tint-color: rgb(255, 255, 255);
}
@@ -88,3 +94,9 @@
margin-bottom: 0;
margin-left: 0;
}
.--toggled > .cosmetic-button #context-label {
background-color: rgb(247, 247, 247);
color: rgb(2, 2, 2);
-unity-font-style: normal;
}

View File

@@ -1,5 +1,5 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" class="cosmetic-button">
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="main-button" class="cosmetic-button">
<ui:VisualElement name="icon-image" picking-mode="Ignore" class="root" style="background-image: url(&quot;project://database/Assets/Artists/Arts/Icons/Items/ICON_AssaultPack.png?fileID=2800000&amp;guid=883773f9dceef8444b2b1cc41d4b8efc&amp;type=3#ICON_AssaultPack&quot;);" />
<ui:Label tabindex="-1" text="战术背包" parse-escape-sequences="true" display-tooltip-when-elided="true" name="context-label" style="position: absolute; bottom: 0; left: 0; right: 0;" />
</ui:Button>

View File

@@ -3,11 +3,14 @@
<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/Artists/UX/BITFALL_Common.uss?fileID=7433441132597879392&amp;guid=83d0155ee4806af4190317dc03b6ecc3&amp;type=3#BITFALL_Common" />
<ui:VisualElement name="inventory-window" style="justify-content: space-between; flex-grow: 1; flex-direction: row;">
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0.5); width: 625px;">
<ui:Label tabindex="-1" text="饰品列表" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" style="-unity-font-style: bold; margin-left: 4px;" />
<ui:ScrollView mode="Vertical" style="flex-direction: row; align-items: flex-start; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; flex-grow: 1;">
<ui:VisualElement style="width: 625px; background-color: rgb(42, 42, 42);">
<ui:VisualElement style="flex-direction: row; align-items: center; background-color: rgb(247, 247, 247); padding-right: 4px; padding-left: 24px;">
<ui:VisualElement style="width: 32px; height: 32px; background-image: url(&quot;project://database/Assets/Artists/Arts/Icons/TeamIcon.png?fileID=2800000&amp;guid=6f4111814850e3e4ea997cf9d51fd15a&amp;type=3#TeamIcon&quot;); -unity-background-image-tint-color: rgb(0, 0, 0);" />
<ui:Label tabindex="-1" text="饰品列表" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" style="-unity-font-style: bold; margin-left: 4px; color: rgb(0, 0, 0);" />
</ui:VisualElement>
<ui:ScrollView mode="Vertical" style="flex-direction: row; align-items: flex-start; flex-grow: 1; margin-top: 24px; margin-right: 24px; margin-bottom: 24px; margin-left: 24px; background-color: rgb(30, 30, 30);">
<ui:VisualElement name="cosmetics-container" style="flex-direction: row; flex-wrap: wrap; align-items: flex-start;">
<ui:Instance template="Cosmetic-Template" name="Cosmetic-Template" />
<ui:Instance template="Cosmetic-Template" name="Cosmetic-Template" class="--toggled" />
<ui:Instance template="Cosmetic-Template" name="Cosmetic-Template" />
<ui:Instance template="Cosmetic-Template" name="Cosmetic-Template" />
<ui:Instance template="Cosmetic-Template" name="Cosmetic-Template" />

View File

@@ -40,7 +40,7 @@
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
background-color: rgb(238, 238, 238);
background-color: rgba(238, 238, 238, 0.06);
border-left-width: 0;
border-right-width: 0;
border-top-width: 0;
@@ -61,7 +61,7 @@
}
.play-menu #title-context {
color: rgb(41, 41, 41);
color: rgb(255, 255, 255);
-unity-font-definition: initial;
-unity-font: url("project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Bold.ttc?fileID=12800000&guid=70e08abd745a9214299a520605342101&type=3#SourceHanMono-Bold");
font-size: 24px;

View File

@@ -3,8 +3,16 @@
<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/Artists/UX/MainMenu.uss?fileID=7433441132597879392&amp;guid=ec65c078bcc873f41b1fa56b66c41e71&amp;type=3#MainMenu" />
<Style src="project://database/Assets/Artists/UX/BITFALL_Common.uss?fileID=7433441132597879392&amp;guid=83d0155ee4806af4190317dc03b6ecc3&amp;type=3#BITFALL_Common" />
<ui:VisualElement name="blur-image" class="root" style="background-color: rgba(0, 0, 0, 0.5);" />
<ui:VisualElement name="navigation" class="tab" style="position: absolute; left: 0; top: 24px; right: 0; height: 64px; align-items: stretch; justify-content: center; flex-direction: row;">
<Style src="project://database/Assets/BITKit/Unity/UX/BITAlert.uss?fileID=7433441132597879392&amp;guid=8d0db0fee932f5342988f09217d6309a&amp;type=3#BITAlert" />
<ui:VisualElement name="blur-image" class="root" style="display: flex; background-image: url(&quot;project://database/Assets/BITKit/Unity/Art/Backgrounds/BG_Gradient_Half_BT_.png?fileID=2800000&amp;guid=d19ac049792985540825b54b0b002529&amp;type=3#BG_Gradient_Half_BT_&quot;); rotate: 180deg; -unity-background-image-tint-color: rgb(0, 0, 0); bottom: auto; -unity-background-scale-mode: stretch-to-fill; height: 109px;" />
<ui:VisualElement name="navigation" class="tab" style="position: absolute; left: 32px; top: 24px; right: 32px; height: 64px; align-items: stretch; justify-content: center; flex-direction: row; background-color: rgba(0, 0, 0, 0);">
<ui:VisualElement style="position: absolute; left: 0; top: 0; bottom: 0; flex-direction: row; align-items: center;">
<ui:VisualElement style="width: 64px; background-image: url(&quot;project://database/Assets/Artists/Arts/Icons/Icon_LoadScreen_Logo.png?fileID=2800000&amp;guid=58badcaf61275ed48bd62aeebe5ff89c&amp;type=3#Icon_LoadScreen_Logo&quot;); height: 64px;" />
<ui:VisualElement style="flex-grow: 1;">
<ui:Label tabindex="-1" text="点点陨落" parse-escape-sequences="true" display-tooltip-when-elided="true" style="-unity-font-style: bold; font-size: 16px; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-left: 0;" />
<ui:Label tabindex="-1" text="BITFALL" parse-escape-sequences="true" display-tooltip-when-elided="true" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; -unity-font-style: bold;" />
</ui:VisualElement>
</ui:VisualElement>
<BITKit.UX.TabBar tabs="进入战区,饰品库存,情报中心,设置" name="menu-tab" allowFocus="false" style="flex-direction: row;" />
<ui:VisualElement style="position: absolute; top: 0; right: 0; bottom: 0; flex-direction: row;">
<ui:Button text="退出" display-tooltip-when-elided="true" name="exit-button" class="navigation" />
@@ -14,17 +22,15 @@
<ui:Button text="返回" display-tooltip-when-elided="true" name="_return-button" class="navigation" style="display: none;" />
</ui:VisualElement>
</ui:VisualElement>
<BITKit.UX.TabContainer picking-mode="Ignore" CurrentTab="0" CustomTabPath="menu-tab" style="position: absolute; left: 64px; top: 128px; right: 64px; bottom: 64px;">
<BITKit.UX.TabContainer picking-mode="Ignore" CurrentTab="0" CustomTabPath="menu-tab" style="position: absolute; left: 32px; top: 128px; right: 32px; bottom: 64px;">
<ui:VisualElement name="play-window" style="flex-grow: 1;">
<ui:VisualElement name="menu-group" style="align-items: stretch; left: 0; bottom: 0; position: absolute;">
<ui:VisualElement name="menu-group" class="alert-container" style="align-items: stretch; left: 0; bottom: 0; position: absolute;">
<ui:Label tabindex="-1" text="自定义参数" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Button text="Mod菜单" parse-escape-sequences="true" display-tooltip-when-elided="true" name="mod-button" />
<ui:VisualElement name="inGame-container" style="flex-grow: 1;">
<ui:Label tabindex="-1" text="主机设置" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Toggle label="开放到局域网" name="lan-toggle" />
<ui:Button display-tooltip-when-elided="true" name="return-button" class="play-menu">
<ui:Label text="返回" display-tooltip-when-elided="true" name="title-context" picking-mode="Ignore" class="context" />
</ui:Button>
<ui:Button display-tooltip-when-elided="true" name="return-button" text="返回" class="play-menu" style="font-size: 24px; -unity-font-style: bold;" />
</ui:VisualElement>
<ui:VisualElement name="newHost-container" style="flex-grow: 1;">
<ui:Label tabindex="-1" text="搜索局域网" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
@@ -34,23 +40,24 @@
</ui:VisualElement>
<ui:Label tabindex="-1" text="新建主机" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:DropdownField label="选择地图" index="0" choices="DMZ,InitialScene,IceWorld" name="map-dropdown" />
<ui:Button display-tooltip-when-elided="true" name="play-button" class="play-menu">
<ui:Label text="开始" display-tooltip-when-elided="true" name="title-context" picking-mode="Ignore" class="context" />
</ui:Button>
<ui:Button display-tooltip-when-elided="true" name="play-button" text="开始" style="height: 100px; font-size: 24px; -unity-font-style: bold;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:Instance template="Inventory-Window" name="Inventory-Window" style="flex-grow: 1;" />
<ui:VisualElement name="information-window" />
<ui:VisualElement name="settings-window" style="flex-grow: 1;">
<ui:Label tabindex="-1" text="操作" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Slider picking-mode="Ignore" label="灵敏度" value="42" high-value="8" show-input-field="true" name="sensitivity-slider" />
<ui:Label tabindex="-1" text="画面" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Toggle label="全屏" name="fullscreen-toggle" />
<ui:DropdownField label="分辨率" index="-1" choices="640x480,1024x768" name="resolution-dropdown" />
<ui:Label tabindex="-1" text="操作" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Toggle label="按住奔跑" name="hold_to_run-toggle" />
<ui:Toggle label="开启遥测" name="telemetry-toggle" />
<ui:VisualElement name="settings-window" style="flex-grow: 1; background-color: rgb(64, 64, 64); padding-top: 8px; padding-right: 16px; padding-bottom: 16px; padding-left: 16px;">
<ui:Label tabindex="-1" text="在战斗前准备好你需要的一切" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tm" style="margin-top: 0; padding-top: 0;" />
<ui:VisualElement style="flex-grow: 1; background-color: rgb(32, 32, 32); padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
<ui:Label tabindex="-1" text="操作" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Slider picking-mode="Ignore" label="灵敏度" value="42" high-value="8" show-input-field="true" name="sensitivity-slider" />
<ui:Label tabindex="-1" text="画面" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Toggle label="全屏" name="fullscreen-toggle" />
<ui:DropdownField label="分辨率" index="-1" choices="640x480,1024x768" name="resolution-dropdown" />
<ui:Label tabindex="-1" text="操作" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:Toggle label="按住奔跑" name="hold_to_run-toggle" />
<ui:Toggle label="开启遥测" name="telemetry-toggle" />
</ui:VisualElement>
</ui:VisualElement>
</BITKit.UX.TabContainer>
</ui:UXML>