continue to work on UI
This commit is contained in:
+43
-21
@@ -1,36 +1,58 @@
|
||||
.container
|
||||
{
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height:50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.player-image{
|
||||
.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");
|
||||
height: 50px;
|
||||
max-width: 40px;
|
||||
background-image: url('"project://database/Assets/Characters/pics/Sophie.png?fileID=2800000&guid=4999eb6bfdcacae48a7ed2020bd489d0&type=3#Sophie"');
|
||||
}
|
||||
|
||||
.panel {
|
||||
display: flex;
|
||||
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;
|
||||
height: 25px;
|
||||
justify-content: left;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.progress-bar-container {
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
.top-elements-block {
|
||||
flex: 1
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: left;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.progress-bar-fill {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-color: #00FF00;
|
||||
border-radius: 10px 0 0 10px; /* Rounded corners on the left side */
|
||||
.stat-container {
|
||||
margin-left: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.progress-icon {
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
height: 20px;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.top-bar-label{
|
||||
color: rgb(255, 255, 255);
|
||||
align-self: center;
|
||||
-unity-text-align: middle-left;
|
||||
}
|
||||
|
||||
.justify-center{
|
||||
justify-content: center;
|
||||
align-self: center;
|
||||
}
|
||||
Reference in New Issue
Block a user