diff --git a/index.css b/index.css index 04c0cf8a..b44169c8 100644 --- a/index.css +++ b/index.css @@ -743,7 +743,7 @@ fieldset.web.code.git.status>div.output table.content { width:100%; } fieldset.web.wiki.word>div.output>fieldset.story:not(.full) { margin:var(--title-margin) 0; } fieldset.web.wiki.word>div.output fieldset.story:not(.float):not(.full)>form.option>div.icon.delete { display:none; } fieldset.web.chat.script>div.output>fieldset.story { margin-top:20px; } -/* fieldset.web.chat.script>div.output>table.content { position:sticky; top:2px; } */ +fieldset.web.chat.script>div.output>table.content tr.done { background-color:var(--notice-bg-color); color:var(--notice-fg-color); } fieldset.web.chat.location>div.output>div.layout>div.layout { position:relative; } fieldset.web.chat.location>div.output .amap-toolbar { z-index:unset; } fieldset.web.chat.location>div.output .amap-controls { z-index:unset; } diff --git a/lib/user.js b/lib/user.js index 1b81b3e1..61f7fdff 100644 --- a/lib/user.js +++ b/lib/user.js @@ -81,7 +81,7 @@ Volcanos("user", { can.page.style(can, carte._target, html.TOP, 200, html.BOTTOM, ""); return carte }, toastProcess: function(can, content, title, progress) { return can.user.toast(can, {content: "🕑 "+(content||ice.PROCESS), title: title, duration: -1, progress: progress}) }, - toastFailure: function(can, content, title) { return can.user.toast(can, {content: "❌ "+(content||ice.FAILURE), title: title, duration: 30000}) }, + toastFailure: function(can, content, title) { return can.user.toast(can, {content: "❌ "+(content||ice.FAILURE), title: title, duration: -1}) }, toastSuccess: function(can, content, title) { return can.user.toast(can, {content: "✅ "+(content||ice.SUCCESS), title: title, duration: 3000}) }, toast: function(can, content, title, duration, progress, hash) { can = can._fields? can.sup: can var meta = can.base.isObject(content)? content: {content: content, title: title, duration: duration, progress: progress, hash: hash}