mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Replace unstyled meter with progress (#19968)
Replace the only `<meter>` element in use with a `<progress>` which is styled properly. Also slightly adjust colors on it for better contrast. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@ -211,19 +211,19 @@ details summary > * {
|
||||
}
|
||||
|
||||
progress {
|
||||
background: var(--color-secondary);
|
||||
background: var(--color-secondary-dark-1);
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
progress::-webkit-progress-bar {
|
||||
background: var(--color-secondary);
|
||||
background: var(--color-secondary-dark-1);
|
||||
}
|
||||
progress::-webkit-progress-value {
|
||||
background-color: var(--color-secondary-dark-3);
|
||||
background-color: var(--color-secondary-dark-4);
|
||||
}
|
||||
progress::-moz-progress-bar {
|
||||
background: var(--color-secondary-dark-3);
|
||||
background: var(--color-secondary-dark-4);
|
||||
}
|
||||
|
||||
* {
|
||||
|
@ -280,3 +280,8 @@ a.blob-excerpt:hover {
|
||||
.viewed-file-checked-form {
|
||||
background-color: var(--color-primary-light-4);
|
||||
}
|
||||
|
||||
#viewed-files-summary {
|
||||
width: 72px;
|
||||
height: 10px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user