diff --git a/app/server/public/css/style.css b/app/server/public/css/style.css index a7af891..ebd4075 100644 --- a/app/server/public/css/style.css +++ b/app/server/public/css/style.css @@ -299,14 +299,23 @@ footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0 position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; width: 158px; max-width: 56vw; - background: var(--surface); border: 1px solid #e3e6ee; border-radius: 10px; + background: var(--surface); border: 1px solid #e3e6ee; border-radius: 16px; padding: 10px 11px; overflow: hidden; } .up-ico { color: var(--gray); display: flex; flex: none; } .up-ico .ic { width: 18px; height: 18px; } -.up-info { flex: 1; min-width: 0; } +.up-info { flex: 1; min-width: 0; padding-right: 14px; } /* 给右上 × 让位,避免压住文件名省略号 */ .up-name { font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .up-meta { font-size: 10.5px; color: var(--gray); margin-top: 3px; } +/* 卡片右上 ×:上传完成/失败后可见,点掉=发送时不再告知该文件(不删任务目录里的文件) */ +.up-x { + position: absolute; right: 5px; top: 5px; z-index: 2; + width: 16px; height: 16px; border-radius: 50%; border: none; cursor: pointer; padding: 0; + background: rgba(0, 0, 0, .06); color: var(--gray); + display: flex; align-items: center; justify-content: center; +} +.up-x:hover { background: rgba(0, 0, 0, .12); color: var(--ink); } +.up-x .ic { width: 10px; height: 10px; stroke-width: 2.4; } .up-mask { position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .78); diff --git a/app/server/public/index.html b/app/server/public/index.html index 1b1037b..f701e12 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -2477,14 +2477,22 @@ '