#20 Traglast Farben anpassung & Tooltip

This commit was merged in pull request #33.
This commit is contained in:
Byroks committed 2026-10-28 11:22:11 +01:00
1 parent 3448ce5a4c
commit e8caa591c4
3 files changed
+35 -14

No files matched your search

+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;
}
}
}