This commit is contained in:
CortexCore
2024-11-03 16:38:17 +08:00
parent 056e2cada5
commit 4ba741408d
4693 changed files with 2445 additions and 5443 deletions

View File

@@ -1,23 +1,12 @@
.Console {
.console {
background-color: rgb(113, 113, 113);
}
.Console-ScrollView {
.console-container {
background-color: rgb(87, 87, 87);
}
.Console-TextField {
margin-left: -2px;
margin-right: 0;
margin-top: 8px;
margin-bottom: 8px;
padding-left: 0;
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
}
.unity-text-field__input {
.console .unity-base-field__input {
background-color: rgb(87, 87, 87);
color: rgba(221, 221, 221, 0.94);
-unity-font-style: normal;
@@ -28,47 +17,49 @@
border-bottom-width: 0;
}
ListView {
background-color: rgb(87, 87, 87);
color: rgba(233, 233, 233, 0.63);
-unity-background-image-tint-color: rgba(233, 233, 233, 0.63);
}
.unity-base-dropdown__container-outer .unity-scroll-view {
background-color: rgb(120, 120, 120);
}
.unity-text-field__input:hover {
border-left-width: 0;
border-right-width: 0;
border-top-width: 0;
border-bottom-width: 0;
}
#commands-container Button {
.console Button {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
background-color: rgb(113, 113, 113);
color: rgb(255, 255, 255);
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
-unity-text-align: upper-left;
background-color: rgb(87, 87, 87);
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);
}
#commands-container Button:hover {
.console Button:hover {
color: rgb(32, 32, 32);
background-color: rgb(255, 255, 255);
background-color: rgb(113, 113, 113);
border-left-color: rgb(87, 87, 87);
border-right-color: rgb(87, 87, 87);
border-top-color: rgb(87, 87, 87);
border-bottom-color: rgb(87, 87, 87);
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
}
#commands-container Button.selected {
color: rgb(32, 32, 32);
background-color: rgb(255, 255, 255);
.console Button:active {
background-color: rgba(113, 113, 113, 0.58);
}
#TextField TextElement {
color: rgb(255, 255, 255);
.console Button:focus {
border-left-color: rgba(113, 113, 113, 0.58);
border-right-color: rgba(113, 113, 113, 0.58);
border-top-color: rgba(113, 113, 113, 0.58);
border-bottom-color: rgba(113, 113, 113, 0.58);
background-color: rgba(113, 113, 113, 0.58);
}
.unity-base-field__input .unity-text-element {
color: rgba(255, 255, 255, 0.78);
}

View File

@@ -13,13 +13,9 @@ MonoBehaviour:
m_Name: Common
m_EditorClassIdentifier:
themeUss: {fileID: -4733365628477956816, guid: ac803f0924e239645ac6b2fc9baebc65, type: 3}
m_DisableNoThemeWarning: 0
m_TargetTexture: {fileID: 0}
m_RenderMode: 0
m_WorldSpaceLayer: 0
m_ScaleMode: 2
m_ReferenceSpritePixelsPerUnit: 100
m_PixelsPerUnit: 100
m_Scale: 1
m_ReferenceDpi: 96
m_FallbackDpi: 96
@@ -28,11 +24,9 @@ MonoBehaviour:
m_Match: 0.421
m_SortingOrder: 0
m_TargetDisplay: 0
m_BindingLogLevel: 0
m_ClearDepthStencil: 1
m_ClearColor: 0
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
m_VertexBudget: 0
m_DynamicAtlasSettings:
m_MinAtlasSize: 8
m_MaxAtlasSize: 4096
@@ -41,6 +35,4 @@ MonoBehaviour:
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeWorldShader: {fileID: 9102, guid: 0000000000000000f000000000000000, type: 0}
m_ICUDataAsset: {fileID: 0}
forceGammaRendering: 0
textSettings: {fileID: 11400000, guid: ae6e49236707be64baaaa783d1a15d81, type: 2}

View File

@@ -226,28 +226,6 @@ Label.tl {
Button {
}
#unity-progress-bar {
max-width: none;
max-height: none;
min-width: auto;
min-height: auto;
}
#unity-progress-bar 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;
font-size: 8px;
}
#unity-progress-bar > VisualElement > VisualElement {
}
PopupTextElement.unity-text-element {
color: rgb(24, 24, 24);
}
@@ -307,7 +285,7 @@ Button.icon-remove {
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");
background-image: url("project://database/Assets/BITKit/Unity/Art/Editor_Icons/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;
@@ -332,7 +310,7 @@ Label {
}
TranslucentVisualElement {
-unity-background-image-tint-color: rgb(128, 128, 128);
-unity-background-image-tint-color: rgb(64, 64, 64);
}
.unity-scroller {
@@ -406,6 +384,16 @@ Foldout Toggle Label {
margin-left: 4px;
}
.container-my-4 > * {
margin-top: 4px;
margin-bottom: 4px;
}
.container-my-8 > * {
margin-top: 8px;
margin-bottom: 8px;
}
.container-ma-8 > * {
margin-top: 8px;
margin-right: 8px;
@@ -415,3 +403,45 @@ Foldout Toggle Label {
.wechat {
}
#unity-progress-bar .unity-progress-bar__background {
background-color: rgba(255, 255, 255, 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;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
min-width: auto;
min-height: auto;
}
#unity-progress-bar .unity-progress-bar__progress {
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
background-color: rgb(255, 255, 255);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
min-width: auto;
min-height: auto;
}
#unity-progress-bar.unity-progress-bar__container {
min-width: auto;
min-height: auto;
}
.bitkit-tool-tips.unity-label {
background-color: rgb(58, 58, 58);
color: rgb(255, 255, 255);
}

View File

@@ -8,8 +8,8 @@
<ui:Label text="This is long context&#10;this is next line" display-tooltip-when-elided="true" name="context-label" style="font-size: 20px;" />
</ui:ScrollView>
<ui:VisualElement style="flex-direction: row; justify-content: center;">
<ui:Button text="取消" display-tooltip-when-elided="true" name="sec-button" class="ma-8" style="width: 128px; max-width: 256px;" />
<ui:Button text="确认" display-tooltip-when-elided="true" name="main-button" class="ma-8" style="width: 128px; max-width: 256px;" />
<ui:Button text="取消" display-tooltip-when-elided="true" name="cancel-button" class="ma-8" style="width: 128px; max-width: 256px;" />
<ui:Button text="确认" display-tooltip-when-elided="true" name="confirm-button" class="ma-8" style="width: 128px; max-width: 256px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>