Files
MuHua-Core/Packages/UIControl/Assets/USS/PopupPrompt.uss
T
2024-11-15 18:28:21 +08:00

102 lines
2.4 KiB
Plaintext

.popup-prompt {
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
align-items: center;
justify-content: center;
}
.popup-prompt-background {
width: 300px;
height: 200px;
background-color: rgba(255, 255, 255, 0.5);
border-top-width: 10px;
border-right-width: 10px;
border-bottom-width: 10px;
border-left-width: 10px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
}
.popup-prompt-content {
width: 100%;
height: 70%;
}
.popup-prompt-bottom {
height: 30%;
align-items: center;
align-self: auto;
justify-content: center;
width: 100%;
}
.popup-prompt-label {
scale: 1 1;
-unity-text-align: middle-center;
flex-grow: 1;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
.popup-prompt-button {
width: 80px;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
height: 30px;
background-color: rgb(0, 181, 255);
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-left-color: rgba(0, 0, 0, 0);
border-right-color: rgba(0, 0, 0, 0);
border-top-color: rgba(0, 0, 0, 0);
border-bottom-color: rgba(0, 0, 0, 0);
-unity-text-align: middle-center;
}
.popup-prompt-button:hover {
scale: 1.1 1.1;
transition-duration: 0.2s;
background-color: rgb(0, 181, 255);
}
.popup-prompt-button:focus {
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: rgb(0, 181, 255);
}