iter(g112): 消息提示支持撤销类操作

This commit is contained in:
HIsheR
2026-10-26 14:05:38 +08:00
parent bf1bd2241b
commit 5372fdd1f3
8 changed files with 68 additions and 5 deletions
+22
View File
@@ -3804,3 +3804,25 @@ button.ua-step-dot:hover {
outline: 2px solid var(--ua-color-accent);
outline-offset: 1px;
}
/* —— toast 操作按钮(撤销类) —— */
.ua-toast.is-action {
pointer-events: auto;
}
.ua-toast-action {
padding: 0;
border: none;
background: none;
color: var(--ua-color-accent);
font-size: var(--ua-font-size-md);
font-weight: 500;
cursor: pointer;
transition: color 0.15s;
}
.ua-toast-action:hover {
text-decoration: underline;
}
.ua-toast-action:focus-visible {
outline: 2px solid var(--ua-color-accent);
outline-offset: 2px;
}