fix ui layout add progressBar
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
.container
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height:50px;
|
||||
}
|
||||
|
||||
.player-image{
|
||||
flex-grow: 1;
|
||||
height:50px;
|
||||
max-width:40px;
|
||||
background-image: url("project://database/Assets/Characters/pics/Sophie.png?fileID=2800000&guid=4999eb6bfdcacae48a7ed2020bd489d0&type=3#Sophie");
|
||||
}
|
||||
|
||||
.panel {
|
||||
flex-grow: 2;
|
||||
-unity-background-image-tint-color: rgba(2, 2, 2, 0.64);
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
align-items: auto;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.progress-bar-container {
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-bar-fill {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-color: #00FF00;
|
||||
border-radius: 10px 0 0 10px; /* Rounded corners on the left side */
|
||||
}
|
||||
Reference in New Issue
Block a user