修改样例包

This commit is contained in:
MuHua-123
2025-03-14 11:50:18 +08:00
parent 17c4b7a054
commit e4d10c15c6
65 changed files with 25 additions and 24 deletions
@@ -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: fc0932c888e56eb429d27f412df5a822
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,49 @@
.scrollview {
}
.scrollview-viewport {
background-color: rgba(255, 255, 255, 0.6);
overflow: hidden;
margin-right: 30px;
margin-bottom: 30px;
flex-grow: 1;
}
.scrollview-container {
background-color: rgba(0, 0, 0, 0.2);
transition-duration: 0.1s;
flex-direction: column;
align-self: flex-start;
flex-shrink: 0;
}
.scrollview-horizontal-scroller {
height: 30px;
width: auto;
background-color: rgb(255, 255, 255);
position: absolute;
left: 0;
right: 30px;
bottom: 0;
}
.scrollview-horizontal-scroller-dragger {
width: 30px;
height: 100%;
background-color: rgb(255, 141, 141);
}
.scrollview-vertical-scroller {
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 30px;
background-color: rgb(255, 255, 255);
}
.scrollview-vertical-scroller-dragger {
background-color: rgb(255, 126, 126);
width: 100%;
height: 30px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d8db2d69206657346a4fe9aebc592327
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,23 @@
.scroller-horizontal {
width: 100%;
height: 30px;
background-color: rgb(255, 255, 255);
}
.scroller-horizontal-dragger {
background-color: rgb(255, 126, 126);
width: 30px;
height: 100%;
}
.scroller-vertical {
width: 30px;
height: 100%;
background-color: rgb(255, 255, 255);
}
.scroller-vertical-dragger {
background-color: rgb(255, 126, 126);
width: 100%;
height: 30px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fa60433f4fc03c34e8b51e6a8c9b32db
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+120
View File
@@ -0,0 +1,120 @@
.slider-horizontal {
height: 30px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}
.slider-horizontal-container {
height: 10px;
background-color: rgb(128, 128, 128);
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);
flex-direction: row;
}
.slider-horizontal-tracker {
background-color: rgb(255, 255, 255);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
width: 50%;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.slider-horizontal-dragger {
width: 16px;
height: 16px;
background-color: rgb(255, 255, 255);
flex-shrink: 0;
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);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
translate: 8px 0;
}
.slider-vertical {
height: auto;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
width: 30px;
flex-grow: 1;
flex-direction: row;
}
.slider-vertical-container {
height: auto;
background-color: rgb(128, 128, 128);
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);
flex-direction: column;
width: 10px;
}
.slider-vertical-tracker {
background-color: rgb(255, 255, 255);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
width: auto;
flex-direction: column;
align-items: center;
justify-content: flex-end;
height: 50%;
}
.slider-vertical-dragger {
width: 16px;
height: 16px;
background-color: rgb(255, 255, 255);
flex-shrink: 0;
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);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
translate: 0 8px;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ca2fb5adc90c9af4cb0426c459d7e9e5
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+95
View File
@@ -0,0 +1,95 @@
.window {
position: absolute;
top: auto;
left: auto;
width: 400px;
height: 300px;
background-color: rgba(0, 0, 0, 0);
border-radius: 10px;
padding: 20px;
display: flex;
flex-direction: column;
opacity: 1;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.window-top {
justify-content: space-between;
background-color: rgb(44, 62, 80);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
padding-left: 10px;
height: 50px;
flex-direction: row;
flex-shrink: 1;
flex-grow: 0;
align-items: center;
}
.window-title {
font-size: 24px;
color: rgb(236, 240, 241);
margin-bottom: 0;
margin-top: 0;
margin-right: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
-unity-text-align: middle-left;
}
.window-close-button {
background-color: rgb(231, 76, 60);
color: rgb(236, 240, 241);
border-radius: 5px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 10px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
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);
height: 30px;
}
.window-close-button:hover {
background-color: rgb(192, 57, 43);
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-left-color: rgb(0, 157, 255);
border-right-color: rgb(0, 157, 255);
border-top-color: rgb(0, 157, 255);
border-bottom-color: rgb(0, 157, 255);
}
.window-container {
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: rgb(242, 242, 242);
overflow: hidden;
}
.window-hidden {
display: none;
opacity: 0;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 71fd1505cc1aa1e4297e4f4534cc0124
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0