iter(g112): 消息提示支持撤销类操作
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user