This commit is contained in:
2024-05-12 21:32:30 +02:00
parent af562b7b10
commit aa59eaa3fc
18 changed files with 428 additions and 78 deletions

View File

@@ -0,0 +1,40 @@
.diagram-container {
width: 100%; /* Utilise toute la largeur horizontale disponible */
margin-bottom: 20px;
}
.row-container {
display: flex;
align-items: flex-end; /* Alignement des <20>l<EFBFBD>ments <20> la base */
margin-bottom: 10px;
}
.row {
background-color: #007bff;
height: 20px;
position: relative;
border-radius: 5px;
transition: width 0.5s ease;
}
.value {
position: absolute;
bottom: 50%; /* Alignement par rapport <20> la base de l'<27>l<EFBFBD>ment parent */
right: 0;
transform: translate(50%, 50%); /* Ajustement de la position */
color: white;
font-size: 12px;
padding: 5px;
border-radius: 3px;
background-color: rgba(0, 0, 0, 0.8);
}
.label {
width: 55px;
text-align: center;
font-size: 14px;
color: #333;
position: relative; /* Permet l'alignement des labels <20> la base */
bottom: 0; /* Alignement <20> la base */
}

View File

@@ -0,0 +1,18 @@
.manContainer {
display: flex;
flex-direction: column;
height: 100%;
}
.topContainer {
display: flex;
flex-grow: 1;
}
.statsContainer, .listContainer {
flex-grow: 1;
}
.detailContainer {
height: 50%;
}

View File

@@ -0,0 +1,47 @@
.room-stats-container {
display: flex;
flex-direction: column;
margin: 20px;
}
.text-stats {
background-color: #f9f9f9;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.stats-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.stat {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
.stat p {
margin: 0;
font-weight: bold;
}
.stat ul {
list-style: none;
padding: 0;
margin: 5px 0;
}
.stat ul li {
margin: 5px 0;
}
.diagram {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}