Changes für Version v0.9.2 #38

Merged
Byroks merged 11 commits from develop into main 2026-10-28 21:00:26 +01:00
3 changed files with 35 additions and 14 deletions
Showing only changes of commit e8caa591c4 - Show all commits

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
"Fertigkeit": "Fertigkeit",
"Stufe": "Stufe",
"Schicksalsmünzen": "Schicksalsmünzen",
"Traglast": "Traglast",
"Grad": {
"grad": "Grad",
"frei": "frei",
+30 -14
View File
@@ -18,37 +18,53 @@
display: flex;
justify-content: center;
align-items: center;
z-index: 9999; /* Bleibt immer im Vordergrund */
z-index: 100;
}
.tooltip-wrapper {
position: relative;
width: 90%;
cursor: pointer;
}
/* Der graue Hintergrund des Balkens */
.progress-background {
width: 90%; /* Breite des Balkens auf dem Bildschirm */
max-width: 800px; /* Maximale Breite auf großen Bildschirmen */
width: 100%;
background-color: #e0e0e0;
overflow: hidden; /* Schneidet den inneren Balken sauber ab */
overflow: hidden;
transform: skewX(-30deg);
}
/* Der eigentliche, animierte Ladebalken */
.progress-bar {
height: 20px;
background-color: var(--M6-background-brown); /* Grün */
text-align: center;
line-height: 20px;
color: white;
font-size: 12px;
font-weight: bold;
background-color: #808080;
width: 100%;
color: var(--M6-background-brown);
}
progress::-moz-progress-bar {
background: var(--M6-background-brown);
}
progress::-webkit-progress-value {
background: var(--M6-background-brown);
}
progress {
color: var(--M6-background-brown);
.tooltiptext {
visibility: hidden;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
width: 130px;
bottom: 120%;
left: 50%;
margin-left: -65px;
z-index: 200;
}
.tooltip-wrapper:hover .tooltiptext {
visibility: visible;
}
}
}
+4
View File
@@ -226,6 +226,9 @@
</div>
</ul>
<div class="sticky-progress-container">
<div class="tooltip-wrapper">
<span class="tooltiptext">{{localize "Midgard6.Traglast"}}: {{gewicht.gewicht}} / {{gewicht.traglast}}</span>
<div class="progress-background">
<progress
class="progress-bar"
@@ -234,4 +237,5 @@
></progress>
</div>
</div>
</div>
</section>