合并代码

This commit is contained in:
MuHua-123
2024-11-15 18:28:21 +08:00
parent 497b43a446
commit 72d1f89b54
274 changed files with 4939 additions and 1968 deletions
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c38e84236dde7c64cbb63ced7e27b9ad
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,30 @@
@import url("unity-theme://default");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/Fonts.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/Dropdown.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/Foldout.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/InputField.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/PopupPrompt.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/PopupWindow.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/ScrollView/ScrollerHorizontal.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/ScrollView/ScrollerVertical.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/ScrollView/ScrollView.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/ScrollView/ScrollViewHorizontal.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/ScrollView/ScrollViewVertical.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/Slider.uss");
@import url("/Packages/com.muhua.uicontrol/Assets/USS/Toggle.uss");
VisualElement {}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4a132c40dbcde0e4b8ee5330aebc6c23
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fc4572784e24c9145b0ba1215575e82a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,52 @@
.dropdown {
flex-direction: row;
background-color: rgba(255, 255, 255, 0.5);
width: 100%;
height: 30px;
flex-grow: 0;
flex-shrink: 1;
}
.dropdown-label {
flex-grow: 0;
flex-basis: auto;
flex-shrink: 0;
min-width: 150px;
-unity-text-align: middle-left;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 5px;
width: auto;
background-color: rgba(0, 0, 0, 0);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
.dropdown-box {
background-color: rgb(255, 255, 255);
width: auto;
flex-grow: 1;
flex-shrink: 1;
flex-basis: 0;
flex-direction: row;
padding-top: 0;
padding-right: 7px;
padding-left: 7px;
}
.dropdown-text {
-unity-text-align: middle-left;
height: 100%;
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: visible;
}
.dropdown-arrow {
padding-right: 0;
translate: 0 0;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f963dadb562d5884ebe5565d9e95110c
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+43
View File
@@ -0,0 +1,43 @@
.foldout {
}
.foldout-title {
flex-direction: row;
align-items: center;
}
.foldout-title-image {
background-color: rgb(51, 51, 51);
width: 10px;
height: 10px;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-right-radius: 30px;
border-bottom-left-radius: 30px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 10px;
flex-grow: 0;
flex-shrink: 0;
}
.foldout-title-label {
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: 30px;
width: 100%;
flex-shrink: 1;
flex-grow: 1;
-unity-text-align: middle-left;
}
.foldout-container {
padding-left: 30px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: de4110da990ddc747843c5fb483c86e1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+2
View File
@@ -0,0 +1,2 @@
.unity-text-element {
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fc67c76a4f0792b4ba9b6c17ec7a3658
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,49 @@
.input-field {
flex-direction: row;
background-color: rgba(255, 255, 255, 0.5);
width: 100%;
height: 30px;
flex-grow: 0;
flex-shrink: 1;
}
.input-field-label {
flex-grow: 0;
flex-basis: auto;
flex-shrink: 0;
min-width: 150px;
-unity-text-align: middle-left;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 5px;
width: auto;
background-color: rgba(0, 0, 0, 0);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
.input-field-box {
background-color: rgb(255, 255, 255);
width: auto;
flex-grow: 1;
flex-shrink: 1;
flex-basis: 0;
}
.input-field-text {
-unity-text-align: middle-left;
height: 100%;
width: 100%;
padding-right: 0;
padding-left: 7px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: visible;
}
.input-field-text-d {
-unity-font-style: italic;
color: rgba(27, 27, 27, 0.6);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 03cd515915708e84f84ad5a8ac7f39fc
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,101 @@
.popup-prompt {
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
align-items: center;
justify-content: center;
}
.popup-prompt-background {
width: 300px;
height: 200px;
background-color: rgba(255, 255, 255, 0.5);
border-top-width: 10px;
border-right-width: 10px;
border-bottom-width: 10px;
border-left-width: 10px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
}
.popup-prompt-content {
width: 100%;
height: 70%;
}
.popup-prompt-bottom {
height: 30%;
align-items: center;
align-self: auto;
justify-content: center;
width: 100%;
}
.popup-prompt-label {
scale: 1 1;
-unity-text-align: middle-center;
flex-grow: 1;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
.popup-prompt-button {
width: 80px;
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: 30px;
background-color: rgb(0, 181, 255);
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
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);
-unity-text-align: middle-center;
}
.popup-prompt-button:hover {
scale: 1.1 1.1;
transition-duration: 0.2s;
background-color: rgb(0, 181, 255);
}
.popup-prompt-button:focus {
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: rgb(0, 181, 255);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7d555d2a2ed2d0042bf8a6aa00bdcfe0
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,95 @@
.popup-window {
background-color: rgba(0, 0, 0, 0.3);
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
}
.popup-window-background {
width: 300px;
height: 400px;
background-color: rgba(255, 255, 255, 0.5);
border-top-width: 10px;
border-right-width: 10px;
border-bottom-width: 10px;
border-left-width: 10px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
}
.popup-window-top {
height: 10%;
}
.popup-window-middle {
height: 80%;
}
.popup-window-bottom {
height: 10%;
align-items: center;
justify-content: center;
}
.popup-window-title {
width: 100%;
height: 100%;
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-text-align: middle-center;
font-size: 24px;
}
.popup-window-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: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
width: 80px;
height: 30px;
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);
background-color: rgb(0, 181, 255);
font-size: 24px;
}
.popup-window-button:hover {
scale: 1.05 1.05;
transition-duration: 0.2s;
background-color: rgb(0, 181, 255);
}
.popup-window-button:focus {
background-color: rgb(0, 181, 255);
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 614da9cbef6567f4dbe07797fb050475
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8a21016c3754b4c4f9f339247cc04870
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,24 @@
.scroll-view {
height: 100%;
width: 100%;
flex-direction: row;
}
.scroll-view-viewport {
width: 100%;
height: 100%;
}
.scroll-view-container {
}
.scroll-view-scroller {
height: 100%;
width: 30px;
background-color: rgb(255, 255, 255);
}
.scroll-view-dragger {
background-color: rgb(255, 134, 134);
height: 30px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 03dbe2cf697b06e4c89e88b4d46d76ea
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,30 @@
.horizontal-scroll-view {
width: 100%;
height: 100%;
}
.horizontal-scroll-view-viewport {
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.6);
overflow: hidden;
}
.horizontal-scroll-view-container {
width: 1000px;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
transition-duration: 0.1s;
}
.horizontal-scroll-view-scroller {
height: 30px;
width: 100%;
background-color: rgb(255, 255, 255);
}
.horizontal-scroll-view-dragger {
width: 30px;
height: 100%;
background-color: rgb(255, 141, 141);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0ad929d1cc924d94f8b6bdd74f5986b4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,32 @@
.vertical-scroll-view {
width: 100%;
height: 100%;
flex-direction: row;
}
.vertical-scroll-view-viewport {
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.6);
overflow: hidden;
}
.vertical-scroll-view-container {
width: 100%;
height: 1000px;
background-color: rgba(0, 0, 0, 0.2);
flex-shrink: 0;
transition-duration: 0.1s;
}
.vertical-scroll-view-scroller {
width: 30px;
height: 100%;
background-color: rgb(255, 255, 255);
}
.vertical-scroll-view-dragger {
height: 30px;
width: 100%;
background-color: rgb(255, 141, 141);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9fd4c2e9476885e4ea09eec173385ef3
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,11 @@
.horizontal-scroller {
width: 100%;
height: 30px;
background-color: rgb(255, 255, 255);
}
.horizontal-scroller-dragger {
background-color: rgb(255, 126, 126);
width: 30px;
height: 100%;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7feb150ff7e13c94482b3b5c3fc7e0e5
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,11 @@
.vertical-scroller {
width: 30px;
height: 100%;
background-color: rgb(255, 255, 255);
}
.vertical-scroller-dragger {
background-color: rgb(255, 126, 126);
width: 100%;
height: 30px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7602d968081373c40b29023dfa3593bb
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+129
View File
@@ -0,0 +1,129 @@
.horizontal-slider {
flex-direction: row;
width: auto;
height: 30px;
flex-grow: 0;
flex-shrink: 1;
align-items: center;
justify-content: space-between;
}
.horizontal-slider-label {
flex-grow: 0;
flex-basis: auto;
flex-shrink: 0;
min-width: 70px;
-unity-text-align: middle-left;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
width: auto;
background-color: rgba(0, 0, 0, 0);
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-left: 5px;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.horizontal-slider-background {
height: 10px;
width: 100%;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
padding-right: 0;
padding-left: 0;
background-color: rgb(128, 128, 128);
padding-top: 0;
padding-bottom: 0;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-color: rgb(51, 51, 51);
border-right-color: rgb(51, 51, 51);
border-top-color: rgb(51, 51, 51);
border-bottom-color: rgb(51, 51, 51);
}
.horizontal-slider-container {
height: 100%;
width: auto;
margin-right: 0;
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
}
.horizontal-slider-tracker {
height: 100%;
background-color: rgb(255, 255, 255);
width: 0;
flex-direction: row;
align-items: center;
justify-content: flex-end;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.horizontal-slider-dragger {
width: 16px;
height: 16px;
position: absolute;
background-color: rgb(255, 255, 255);
translate: 8px 0;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-left-color: rgb(51, 51, 51);
border-right-color: rgb(51, 51, 51);
border-top-color: rgb(51, 51, 51);
border-bottom-color: rgb(51, 51, 51);
}
.horizontal-slider-field {
background-color: rgb(255, 255, 255);
width: 40px;
height: 20px;
flex-grow: 0;
flex-shrink: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-left: 5px;
}
.horizontal-slider-field-box {
width: 100%;
height: 100%;
align-items: center;
justify-content: space-around;
}
.horizontal-slider-field-text {
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c161c16266dbad447b027442b9f3d1ae
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+34
View File
@@ -0,0 +1,34 @@
.toggle {
flex-direction: row;
overflow: hidden;
}
.toggle-checkmark {
width: 24px;
height: 24px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-color: rgb(100, 100, 100);
border-right-color: rgb(100, 100, 100);
border-top-color: rgb(100, 100, 100);
border-bottom-color: rgb(100, 100, 100);
background-color: rgb(255, 255, 255);
-unity-background-image-tint-color: rgb(65, 65, 65);
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
}
.toggle-checkmark:hover {
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);
}
.toggle-checkmark-a {
background-color: rgb(147, 147, 147);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8854406ee13fdba42832b51910d3b251
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0