Afficher la fatigue avec les compteurs

This commit is contained in:
2020-11-18 20:16:59 +01:00
parent da9fe2f1bb
commit 519f9e89b4
6 changed files with 94 additions and 32 deletions

View File

@ -871,3 +871,34 @@ background: rgba(0, 0, 0, 0.5);
position: relative;
bottom: 6px;
}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 360px;
text-align: center;
padding: 5px 0;
border-radius: 6px;
/* Position the tooltip text */
position: absolute;
z-index: 1;
left: -100%;
/* Fade in tooltip */
opacity: 0;
transition: opacity 0.3s;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}