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:
parent
cc7236e852
commit
ac8bee6aeb
11 changed files with 37 additions and 2035 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -1238,26 +1238,9 @@
|
|||
padding-bottom: 10px;
|
||||
border-bottom: 1px dashed var(--color-secondary);
|
||||
|
||||
> a {
|
||||
padding-top: 5px;
|
||||
padding-right: 10px;
|
||||
font-size: 1.5rem;
|
||||
color: var(--color-text);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.ui.progress {
|
||||
width: 40%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
|
||||
.bar {
|
||||
height: 20px;
|
||||
}
|
||||
progress {
|
||||
width: 200px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.meta {
|
||||
|
|
|
@ -83,21 +83,13 @@
|
|||
.checklist {
|
||||
padding-left: 5px;
|
||||
|
||||
.progress-bar {
|
||||
progress {
|
||||
margin-left: 2px;
|
||||
width: 80px;
|
||||
height: 6px;
|
||||
display: inline-block;
|
||||
background-color: var(--color-secondary);
|
||||
overflow: hidden;
|
||||
border-radius: 3px;
|
||||
vertical-align: 2px !important;
|
||||
|
||||
.progress {
|
||||
background-color: var(--color-secondary-dark-3);
|
||||
display: block;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -140,14 +140,6 @@
|
|||
background-color: #383c4a;
|
||||
}
|
||||
|
||||
.ui.green.progress .bar {
|
||||
background-color: #668844;
|
||||
}
|
||||
|
||||
.ui.progress.success .bar {
|
||||
background-color: #7b9e57 !important;
|
||||
}
|
||||
|
||||
.following.bar.light {
|
||||
background: #2e323e;
|
||||
border-color: var(--color-secondary-alpha-40);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue