diff --git a/app/assets/css/main.css b/app/assets/css/main.css index c62d863..2360345 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -365,6 +365,9 @@ h3 { font-family: var(--display); font-size: 15px; margin: 0; font-weight: 600; .spin { display: inline-block; width: 11px; height: 11px; border: 1.5px solid var(--line-2); border-top-color: var(--acc); border-radius: 50%; animation: spin 0.7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } +.bar { width: min(360px, 80%); height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; } +.bar > i { display: block; height: 100%; background: var(--acc); transition: width 0.25s ease; } + .footer { border-top: 1px solid var(--line); padding: 16px 0 26px; color: var(--fg-mute); font-family: var(--mono); font-size: 11px; } /* 图片预览弹层 */ diff --git a/app/components/ImagePreview.vue b/app/components/ImagePreview.vue index b54bacd..3a5af8c 100644 --- a/app/components/ImagePreview.vue +++ b/app/components/ImagePreview.vue @@ -1,6 +1,7 @@