1
This commit is contained in:
@@ -526,3 +526,122 @@ TabContainer > * {
|
||||
opacity: 0;
|
||||
transition-duration: 0.1s;
|
||||
}
|
||||
|
||||
OnScreenButton {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-top-left-radius: 64px;
|
||||
border-top-right-radius: 64px;
|
||||
border-bottom-right-radius: 64px;
|
||||
border-bottom-left-radius: 64px;
|
||||
-unity-background-image-tint-color: rgb(255, 255, 255);
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-color: rgb(255, 255, 255);
|
||||
border-left-color: rgb(255, 255, 255);
|
||||
border-right-color: rgb(255, 255, 255);
|
||||
border-bottom-color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
OnScreenButton:hover {
|
||||
background-color: rgba(200, 200, 200, 0.5);
|
||||
-unity-background-image-tint-color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
OnScreenButton:active {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
-unity-background-image-tint-color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
OnScreenButton.selected {
|
||||
border-left-color: rgb(255, 0, 0);
|
||||
border-right-color: rgb(255, 0, 0);
|
||||
border-top-color: rgb(255, 0, 0);
|
||||
border-bottom-color: rgb(255, 0, 0);
|
||||
border-top-width: 4px;
|
||||
border-right-width: 4px;
|
||||
border-bottom-width: 4px;
|
||||
border-left-width: 4px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.gamepad-button {
|
||||
border-left-color: rgb(255, 255, 255);
|
||||
border-right-color: rgb(255, 255, 255);
|
||||
border-top-color: rgb(255, 255, 255);
|
||||
border-bottom-color: rgb(255, 255, 255);
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
margin-top: 4px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 4px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.gamepad-button:hover {
|
||||
border-left-color: rgb(255, 255, 255);
|
||||
border-right-color: rgb(255, 255, 255);
|
||||
border-top-color: rgb(255, 255, 255);
|
||||
border-bottom-color: rgb(255, 255, 255);
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
background-color: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.gamepad-button:active {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
-unity-background-image-tint-color: rgba(0, 0, 0, 0.5);
|
||||
border-left-color: rgba(0, 0, 0, 0.5);
|
||||
border-right-color: rgba(0, 0, 0, 0.5);
|
||||
border-top-color: rgba(0, 0, 0, 0.5);
|
||||
border-bottom-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.gamepad-button--nw {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_keyboard-arrow-up-left-rounded.png?fileID=21300000&guid=e2a7dc01d1a854b429e7698649c340bd&type=3#icon_keyboard-arrow-up-left-rounded");
|
||||
transform-origin: right bottom;
|
||||
scale: 0.8 0.8;
|
||||
}
|
||||
|
||||
.gamepad-button--n {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_keyboard-arrow-up-rounded.png?fileID=21300000&guid=f75638302ccf8ba41acbf96be794e86d&type=3#icon_keyboard-arrow-up-rounded");
|
||||
}
|
||||
|
||||
.gamepad-button--ne {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_keyboard-arrow-up-right-rounded.png?fileID=21300000&guid=08e2edf7cdff08240a792ce62c67014d&type=3#icon_keyboard-arrow-up-right-rounded");
|
||||
transform-origin: left bottom;
|
||||
scale: 0.8 0.8;
|
||||
}
|
||||
|
||||
.gamepad-button--w {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_chevron-left-rounded.png?fileID=21300000&guid=76da1f1cbb542714283e16db9aa8af7c&type=3#icon_chevron-left-rounded");
|
||||
}
|
||||
|
||||
.gamepad-button--c {
|
||||
}
|
||||
|
||||
.gamepad-button--e {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_chevron-right-rounded.png?fileID=21300000&guid=9e83d4b468bd75a47ab3d72155f367e5&type=3#icon_chevron-right-rounded");
|
||||
}
|
||||
|
||||
.gamepad-button--sw {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_keyboard-arrow-down-left-rounded.png?fileID=21300000&guid=93b327f2e8bb65f40a1b47d13ecfafcf&type=3#icon_keyboard-arrow-down-left-rounded");
|
||||
transform-origin: right top;
|
||||
scale: 0.8 0.8;
|
||||
}
|
||||
|
||||
.gamepad-button--s {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/icon_keyboard-arrow-down.png?fileID=21300000&guid=6f14c0574452bf543b5f2f2cd2a24104&type=3#icon_keyboard-arrow-down");
|
||||
}
|
||||
|
||||
.gamepad-button--se {
|
||||
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/Arrows/icon_keyboard-arrow-down-right-rounded.png?fileID=21300000&guid=6103653931b39ca41a64af379712495c&type=3#icon_keyboard-arrow-down-right-rounded");
|
||||
transform-origin: left top;
|
||||
scale: 0.8 0.8;
|
||||
}
|
||||
|
@@ -13,13 +13,9 @@ MonoBehaviour:
|
||||
m_Name: Common_Mobile
|
||||
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: 1
|
||||
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: 0}
|
||||
|
@@ -12,8 +12,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 19101, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: Common_PC_Overlay
|
||||
m_EditorClassIdentifier:
|
||||
themeUss: {fileID: -4733365628477956816, guid: ac803f0924e239645ac6b2fc9baebc65,
|
||||
type: 3}
|
||||
themeUss: {fileID: -4733365628477956816, guid: ac803f0924e239645ac6b2fc9baebc65, type: 3}
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_ScaleMode: 2
|
||||
m_ReferenceSpritePixelsPerUnit: 100
|
||||
|
Reference in New Issue
Block a user