This commit is contained in:
MuHua-123
2025-07-16 18:04:05 +08:00
parent 1255b68f7e
commit 4cfefc8103
72 changed files with 1472 additions and 592 deletions
@@ -0,0 +1,79 @@
.message-panel {
flex-grow: 1;
align-items: center;
justify-content: space-around;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
opacity: 1;
transition-duration: 0.2s;
background-color: rgba(0, 0, 0, 0.5);
}
.message-panel-bg {
width: 300px;
height: 200px;
background-color: rgb(229, 229, 229);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-left-color: rgb(0, 0, 0);
border-right-color: rgb(0, 0, 0);
border-top-color: rgb(0, 0, 0);
border-bottom-color: rgb(0, 0, 0);
align-items: center;
}
.message-panel-content {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
width: 100%;
height: 100%;
-unity-text-align: middle-center;
font-size: 24px;
white-space: normal;
}
.message-panel-button {
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: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-left-color: rgb(0, 0, 0);
border-right-color: rgb(0, 0, 0);
border-top-color: rgb(0, 0, 0);
border-bottom-color: rgb(0, 0, 0);
width: 80px;
height: 35px;
transition-duration: 0.2s;
}
.message-panel-button:hover {
scale: 1.1 1.1;
}