feat(tokens): 下载按钮尺寸提升为正式 token(--iwb-dl-size/radius/inset/gap),宿主与 gallery 共用
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 31s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 31s
This commit is contained in:
1 parent
559945281f
commit
f83ed2e08a
3 files changed
+13
-4
No files matched your search
@@ -2568,12 +2568,12 @@ body .iwb-history-embedded .iwb-history-item.iwb-history-selected:hover img {
|
||||
/* 结果图落地状态(2026-12-02):出图后先排队/下载,就绪再换本地 objectURL */
|
||||
.iwb-rimg { position: relative; }
|
||||
.iwb-rimg-pending .iwb-result-thumb { opacity: .55; filter: saturate(.8); }
|
||||
.iwb-rimg-flag { position: absolute; left: var(--iwb-space-4); top: var(--iwb-space-4); z-index: var(--iwb-z-anchor); padding: 0 var(--iwb-space-8); border-radius: var(--iwb-radius-full); font-size: var(--iwb-font-xs); line-height: 16px; color: var(--iwb-text); background: var(--iwb-panel); border: 1px solid var(--iwb-border2); opacity: .92; }
|
||||
.iwb-rimg-flag { position: absolute; left: var(--iwb-space-4); top: var(--iwb-space-4); padding: 0 var(--iwb-space-8); border-radius: var(--iwb-radius-full); font-size: var(--iwb-font-xs); line-height: 16px; color: var(--iwb-text); background: var(--iwb-panel); border: 1px solid var(--iwb-border2); opacity: .92; }
|
||||
.iwb-rimg-flag-err { color: var(--iwb-err); border-color: var(--iwb-err-bd); background: var(--iwb-err-bg); }
|
||||
|
||||
/* 输出节点体的落地角标(2026-12-02) */
|
||||
.iwb-out-cell { position: relative; }
|
||||
.iwb-out-cell-flag { position: absolute; left: var(--iwb-space-4); top: var(--iwb-space-4); z-index: var(--iwb-z-anchor); padding: 0 var(--iwb-space-8); border-radius: var(--iwb-radius-full); font-size: var(--iwb-font-xs); line-height: 16px; color: var(--iwb-text); background: var(--iwb-panel); border: 1px solid var(--iwb-border2); opacity: .92; }
|
||||
.iwb-out-cell-flag { position: absolute; left: var(--iwb-space-4); top: var(--iwb-space-4); padding: 0 var(--iwb-space-8); border-radius: var(--iwb-radius-full); font-size: var(--iwb-font-xs); line-height: 16px; color: var(--iwb-text); background: var(--iwb-panel); border: 1px solid var(--iwb-border2); opacity: .92; }
|
||||
.iwb-out-cell-flag-err { color: var(--iwb-err); border-color: var(--iwb-err-bd); background: var(--iwb-err-bg); }
|
||||
|
||||
/* 生成中:旧图压暗 + 「生成中」角标(不动 data,失败即恢复) */
|
||||
@@ -2581,9 +2581,9 @@ body .iwb-history-embedded .iwb-history-item.iwb-history-selected:hover img {
|
||||
.iwb-out-cell-flag-busy { color: var(--iwb-warn); border-color: var(--iwb-warn-bd); background: var(--iwb-warn-bg); }
|
||||
|
||||
/* 2026-12-02:下载浮层改右下角圆形图标(矮图不再被横条挡住中心) */
|
||||
.iwb-dl-corner { position: absolute; right: var(--iwb-space-8); bottom: var(--iwb-space-8); display: flex; gap: var(--iwb-space-4); z-index: var(--iwb-z-anchor); opacity: 0; transition: opacity .15s ease; }
|
||||
.iwb-dl-corner { position: absolute; right: var(--iwb-dl-inset); bottom: var(--iwb-dl-inset); display: flex; gap: var(--iwb-dl-gap); opacity: 0; transition: opacity .15s ease; }
|
||||
.iwb-rimg:hover .iwb-dl-corner, .iwb-rimg:focus-within .iwb-dl-corner, .iwb-out-cell:hover .iwb-dl-corner, .iwb-out-cell:focus-within .iwb-dl-corner { opacity: 1; }
|
||||
.iwb-dl-round { width: 28px; height: 28px; border-radius: var(--iwb-radius-full); border: 1px solid var(--iwb-border2); background: var(--iwb-panel); color: var(--iwb-text); display: grid; place-items: center; font-size: var(--iwb-font-xs); line-height: 1; cursor: pointer; box-shadow: var(--iwb-elevation-1); padding: 0; }
|
||||
.iwb-dl-round { width: var(--iwb-dl-size); height: var(--iwb-dl-size); border-radius: var(--iwb-dl-radius); border: 1px solid var(--iwb-border2); background: var(--iwb-panel); color: var(--iwb-text); display: grid; place-items: center; font-size: var(--iwb-font-xs); line-height: 1; cursor: pointer; padding: 0; }
|
||||
.iwb-dl-round:hover { background: var(--iwb-hover); }
|
||||
.iwb-dl-round-primary { color: var(--iwb-brand-text, var(--iwb-text)); border-color: var(--iwb-border2); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user