Uploader styling fixes

This commit is contained in:
2022-04-04 23:37:26 +02:00
parent b45e87d7d4
commit 7bfc9cb9f3
2 changed files with 3 additions and 3 deletions

View File

@@ -228,7 +228,7 @@ export const start = () => {
line-height: 1.2em;
display: inline-flex;
flex-direction: column;
transition: box-shadow 0.3s, opacity 2s;
transition: background 0.2s, opacity 2s;
white-space: normal;
text-overflow: ellipsis;
text-decoration: none;
@@ -242,7 +242,7 @@ export const start = () => {
overflow: hidden;
}
.upload_task:hover {
box-shadow: 0 0 2px 2px var(--highlight_color), inset 0 0 1px 1px var(--highlight_color);
background: var(--input_hover_background);
text-decoration: none;
}

View File

@@ -148,7 +148,7 @@ const stats_update = () => {
last_total_loaded = total_loaded
progress_bar_inner.style.width = (total_progress * 100) + "%"
document.title = (total_progress*100).toFixed(0)+"% ~ " +
document.title = (total_progress*100).toFixed(0) + "% ~ " +
formatDuration(remaining_time, 0) +
" ~ uploading to pixeldrain"
}