1
0
Fork 0
forked from forgejo/forgejo

Remove fomantic progress module (#19760)

Replace it with HTML `<progress>` element. The bar won't go green at
100% anymore but I think it's not something that fits stylistically anyways.
This commit is contained in:
silverwind 2022-05-20 05:04:45 +02:00 committed by GitHub
parent cc7236e852
commit ac8bee6aeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 37 additions and 2035 deletions

View file

@ -207,6 +207,22 @@ details summary > * {
display: inline;
}
progress {
background: var(--color-secondary);
border-radius: 6px;
border: none;
overflow: hidden;
}
progress::-webkit-progress-bar {
background: var(--color-secondary);
}
progress::-webkit-progress-value {
background-color: var(--color-secondary-dark-3);
}
progress::-moz-progress-bar {
background: var(--color-secondary-dark-3);
}
* {
scrollbar-color: var(--color-primary) transparent;
caret-color: var(--color-caret);
@ -620,10 +636,6 @@ a.ui.card:hover,
color: var(--color-primary);
}
.ui.progress[data-percent="0"] .bar .progress {
color: var(--color-text);
}
.ui.attached.table {
border-color: var(--color-secondary);
}