1
This commit is contained in:
38
Packages/Common~/UX/BITAlert.uss
Normal file
38
Packages/Common~/UX/BITAlert.uss
Normal file
@@ -0,0 +1,38 @@
|
||||
Label {
|
||||
-unity-font-definition: url('project://database/Assets/BITKits/Art/Fonts/NotoSansSC-Regular%20SDF.asset?fileID=11400000&guid=4897d78d91e2fa34bbc06b9e213ac6d4&type=2#NotoSansSC-Regular SDF');
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
}
|
||||
|
||||
Button {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
border-left-color: rgba(255, 255, 255, 0.5);
|
||||
border-right-color: rgba(255, 255, 255, 0.5);
|
||||
border-top-color: rgba(255, 255, 255, 0.5);
|
||||
border-bottom-color: rgba(255, 255, 255, 0.5);
|
||||
border-top-left-radius: 2px;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
max-width: 128px;
|
||||
-unity-font-definition: url('project://database/Assets/BITKits/Art/Fonts/NotoSansSC-Bold%20SDF.asset?fileID=11400000&guid=033cc1a4c6c35c6488ad74f4cee476ac&type=2#NotoSansSC-Bold SDF');
|
||||
}
|
||||
|
||||
Button:hover {
|
||||
color: rgba(0, 0, 0, 255);
|
||||
background-color: rgba(255, 255, 255, 0.78);
|
||||
transition-duration: 0.1s;
|
||||
}
|
||||
|
||||
Button:active {
|
||||
background-color: rgba(120, 120, 120, 255);
|
||||
color: rgba(0, 0, 0, 255);
|
||||
border-left-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-color: rgba(123, 123, 123, 255);
|
||||
border-right-color: rgba(123, 123, 123, 255);
|
||||
border-top-color: rgba(123, 123, 123, 255);
|
||||
border-bottom-color: rgba(123, 123, 123, 255);
|
||||
}
|
Reference in New Issue
Block a user