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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user