aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2025-03-07 11:38:10 +0000
committerGitHub <noreply@github.com>2025-03-07 11:38:10 +0000
commit419204c291273e073cb4e1049655bea848dbc441 (patch)
tree341cb7ac4bd5915deb8fe58947b3cc352687556d /data
parentReformat style.scss (diff)
parentAdd asynchronous directory size counting (diff)
downloadminiserve-419204c291273e073cb4e1049655bea848dbc441.tar.gz
miniserve-419204c291273e073cb4e1049655bea848dbc441.zip
Merge pull request #1482 from svenstaro/add-asynchronous-directory-size-loading
Add asynchronous directory size counting
Diffstat (limited to '')
-rw-r--r--data/style.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/style.scss b/data/style.scss
index ea80754..44c3752 100644
--- a/data/style.scss
+++ b/data/style.scss
@@ -428,6 +428,25 @@ td.date-cell {
justify-content: space-between;
}
+.loading-indicator {
+ width: 65%;
+ height: 15px;
+ margin-left: 35%;
+ animation: shimmer 2s infinite;
+ background: linear-gradient(to right, #e6e6e655 5%, #77777755 25%, #e6e6e655 35%);
+ background-size: 500px 100%;
+}
+
+@keyframes shimmer {
+ from {
+ background-position: -500px 0;
+ }
+
+ to {
+ background-position: 500px 0;
+ }
+}
+
.history {
color: var(--date_text_color);
}