0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2025-02-26 08:45:24 -05:00

Fix: Theme milestone progress bar statuses not rendered correctly

Fixes Milestones progress bar statuses not rendered correctly after Gitea
1.23.x update. Adds explicit styling for progress bars, using theme colours.
Fixes #133
This commit is contained in:
Márton Lente 2025-02-17 15:10:17 +01:00
parent 74208b0f32
commit 36983de723

View file

@ -517,3 +517,21 @@ a.ui.primary.label:hover,
.CodeMirror.cm-s-default .cm-error, .CodeMirror.cm-s-paper .cm-error {
color: #dbdbeb;
}
/* Progress bar. */
progress {
appearance: none; /* Remove default styling */
background-color: var(--color-secondary); /* Fallback colour bg (unfilled portion) */
border: none; /* remove default border */
-moz-appearance: none;
-webkit-appearance: none;
}
progress::-webkit-progress-value {
background-color: var(--color-primary); /* Color of the filled portion */
}
progress::-moz-progress-bar {
background-color: var(--color-primary); /* Color of the filled portion */
}