clicked buttons style

main
Benjamin Kraft 1 year ago
parent c7a5a0d5b3
commit 2b5b22f87c
  1. 16
      Assets/UI Toolkit/styles.uss

@ -19,17 +19,21 @@ Button {
border-top-right-radius: 10px; border-top-right-radius: 10px;
border-bottom-right-radius: 10px; border-bottom-right-radius: 10px;
margin-left: 10px; margin-left: 10px;
background-color: rgba(53, 53, 53, 255); background-color: rgb(53, 53, 53);
border-left-color: rgba(0, 154, 11, 255); border-left-color: rgb(0, 154, 11);
border-right-color: rgba(0, 154, 11, 255); border-right-color: rgb(0, 154, 11);
border-top-color: rgba(0, 154, 11, 255); border-top-color: rgb(0, 154, 11);
border-bottom-color: rgba(0, 154, 11, 255); border-bottom-color: rgb(0, 154, 11);
border-left-width: 3px; border-left-width: 3px;
border-right-width: 3px; border-right-width: 3px;
border-top-width: 3px; border-top-width: 3px;
border-bottom-width: 3px; border-bottom-width: 3px;
} }
Button:active {
background-color: rgb(71, 71, 71);
}
.menu { .menu {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -56,6 +60,6 @@ Button {
padding-bottom: 10px; padding-bottom: 10px;
white-space: normal; white-space: normal;
-unity-text-outline-width: 1px; -unity-text-outline-width: 1px;
-unity-text-outline-color: rgba(0, 154, 30, 255); -unity-text-outline-color: rgb(0, 154, 30);
letter-spacing: 0; letter-spacing: 0;
} }

Loading…
Cancel
Save