openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
2 lines (1 loc) • 9.19 kB
CSS
.chat-activity-pills{--activity-surface:var(--composer-attached-surface,var(--chat-composer-surface,var(--card)));--activity-fade-left:0px;--activity-fade-right:0px;overscroll-behavior-x:contain;scrollbar-width:none;min-width:0;max-width:100%;mask-image:linear-gradient(to right, transparent, black var(--activity-fade-left), black calc(100% - var(--activity-fade-right)), transparent);overflow-x:auto;container-type:inline-size}.chat-activity-pills[hidden]{display:none}.chat-activity-pills[data-fade-left]{--activity-fade-left:20px}.chat-activity-pills[data-fade-right]{--activity-fade-right:20px}.chat-activity-pills__row{box-sizing:border-box;align-items:center;gap:8px;width:max-content;min-width:100%;padding:4px 2px;display:flex}.chat-activity-pills .activity-pill{isolation:isolate;box-sizing:border-box;border:1px solid var(--chat-composer-hairline,var(--border));background:var(--activity-surface);height:36px;color:var(--text);font:500 13px/18px var(--font-body);font-variant-numeric:tabular-nums;white-space:nowrap;cursor:var(--cursor-action);border-radius:999px;flex:none;align-items:center;gap:8px;padding:0 11px;scroll-margin-inline:22px;display:inline-flex;position:relative}.chat-activity-pills .activity-pill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-activity-pills .activity-pill svg{flex:none;width:16px;height:16px;display:block}.chat-activity-pills .activity-pill__composite>svg:not(.icon--filled),.chat-activity-pills .activity-pill__avatar>svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round}.chat-activity-pills .activity-pill__label{min-width:0;font:inherit;color:inherit;text-align:left;position:relative;overflow:hidden}.chat-activity-pills .activity-pill__count{color:var(--muted);flex:none;padding-left:2px;font-size:12px}.chat-activity-pills .activity-pill__leading{width:18px;height:22px;color:var(--muted);flex:none;place-items:center;display:grid}.chat-activity-pills .activity-pill__composite{justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex;position:relative}.chat-activity-pills [data-tone=ok]>.activity-pill__leading,.chat-activity-pills [data-family=goal][data-tone=ok]>.activity-pill__label{color:var(--ok)}.chat-activity-pills [data-tone=warn]>.activity-pill__leading{color:var(--warn)}.chat-activity-pills [data-tone=danger]>.activity-pill__leading{color:var(--danger)}.chat-activity-pills [data-tone=purple]>.activity-pill__leading{color:var(--pr-merged)}.chat-activity-pills [data-tone=muted]>.activity-pill__label,.chat-activity-pills [data-family=publication]>.activity-pill__leading{color:var(--muted)}.chat-activity-pills [data-family=publication][data-tone=danger]>.activity-pill__label{color:var(--danger)}.chat-activity-pills .activity-pill__badge{background:var(--activity-surface);width:10px;height:10px;box-shadow:0 0 0 1px var(--activity-surface);color:var(--accent);pointer-events:none;border-radius:2px;place-items:center;display:grid;position:absolute;bottom:-2px;right:-3px}.chat-activity-pills .activity-pill__badge>svg{stroke-width:3px;width:10px;height:10px}.chat-activity-pills .activity-pill__badge[data-tone=ok]{color:var(--ok)}.chat-activity-pills .activity-pill__badge[data-tone=warn]{color:var(--warn)}.chat-activity-pills .activity-pill__badge[data-tone=danger]{color:var(--danger)}.chat-activity-pills .activity-pill__spinner{box-sizing:border-box;width:14px;height:14px;color:var(--accent);border:1.5px solid color-mix(in srgb, currentColor 28%, transparent);border-top-color:currentColor;border-radius:999px;flex:none;animation:1.6s linear infinite btn-spinner-spin;display:inline-block}.chat-activity-pills .activity-pill__badge .activity-pill__spinner{border-color:color-mix(in srgb, currentColor 45%, transparent);border-top-color:currentColor;width:9px;height:9px;animation-duration:1.5s}.chat-activity-pills [data-family=progress]{gap:7px}.chat-activity-pills [data-family=progress][data-counted=true]{width:min(224px,100cqw - 4px)}.chat-activity-pills [data-family=progress] .activity-pill__label{flex:1}.chat-activity-pills .activity-pill__label[data-overflow]{mask-image:linear-gradient(90deg,#000 calc(100% - 20px),#0000)}.chat-activity-pills [data-family=pull-request]{gap:6px}.chat-activity-pills .activity-pill__problem{color:var(--warn);flex:none;margin-left:6px;display:inline-flex}.chat-activity-pills .activity-pill__problem svg{width:12px;height:12px}.chat-activity-pills .activity-pill__diff{flex:none;gap:6px;margin-left:2px;font-size:12px;display:flex}.chat-activity-pills .activity-pill__diff:empty{display:none}.chat-activity-pills .activity-pill__additions{color:var(--ok)}.chat-activity-pills .activity-pill__deletions{color:var(--danger)}.chat-activity-pills .activity-pill__avatars{isolation:isolate;flex:none;align-items:center;display:flex}.chat-activity-pills .activity-pill__avatar{box-sizing:border-box;border:2px solid var(--activity-surface);background:var(--avatar-bg);width:23px;height:23px;color:var(--avatar-ink);animation:10.6s cubic-bezier(.77,0,.175,1) infinite activity-pill-wave;animation-delay:var(--wave-delay);border-radius:7px;place-items:center;display:grid;position:relative}.chat-activity-pills .activity-pill__avatar+.activity-pill__avatar{margin-left:-7px}.chat-activity-pills .activity-pill__avatar:first-child{z-index:3}.chat-activity-pills .activity-pill__avatar:nth-child(2){z-index:2}.chat-activity-pills .activity-pill__avatar:nth-child(3){z-index:1}.chat-activity-pills .activity-pill__avatar>svg{stroke-width:1.55px}.chat-activity-pills .activity-pill__label--shine{-webkit-text-fill-color:color-mix(in srgb, currentColor 65%, transparent)}.chat-activity-pills .activity-pill__shimmer{pointer-events:none;-webkit-text-fill-color:transparent;background-image:linear-gradient(90deg,#0000 0%,currentColor 50%,#0000 100%);background-position:200%;background-repeat:no-repeat;background-size:200% 100%;background-clip:text;animation:2s linear infinite activity-pill-shimmer;position:absolute;inset:0}.chat-activity-pills .activity-pill--flow .activity-pill__label--shine{-webkit-text-fill-color:color-mix(in srgb, currentColor 80%, transparent)}.chat-activity-pills .activity-pill--flow .activity-pill__avatar{border-color:var(--avatar-bg)}.chat-activity-pills .activity-pill__flow{border-radius:inherit;pointer-events:none;z-index:-1;contain:layout paint;position:absolute;inset:0;overflow:hidden;mask-image:linear-gradient(90deg,#0000 20%,#000 43% 100%)}.chat-activity-pills .activity-pill__atlas{background:var(--accent);will-change:transform;width:100%;height:6100%;animation:1.8s steps(60,end) infinite activity-pill-frames;position:absolute;top:0;left:0;mask:url(./chat-activity-pills-atlas-Dzg1HrUi.png) 0 0/100% 100% no-repeat}.chat-activity-pills .activity-pill--attention:before{content:"";background:radial-gradient(ellipse at 50% 100%, var(--warn), transparent 72%);opacity:.2;z-index:-1;pointer-events:none;height:8px;position:absolute;bottom:0;left:5%;right:5%}.chat-activity-pills .activity-pill--attention:after{content:"";border-radius:inherit;background:radial-gradient(ellipse 45% 8px at 50% 100%, var(--warn), color-mix(in srgb, var(--warn) 60%, transparent) 45%, transparent 100%);opacity:.6;pointer-events:none;padding:1px;position:absolute;inset:-1px;mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-position:0 0,0 0;mask-size:auto,auto;mask-repeat:repeat,repeat;mask-clip:content-box,border-box;mask-origin:content-box,border-box;mask-composite:exclude;mask-mode:match-source,match-source}.chat-activity-pills:is([data-document-hidden],[data-presented=false]) :is(.activity-pill__shimmer,.activity-pill__avatar,.activity-pill__spinner,.activity-pill__atlas),.chat-activity-pills [data-out-of-view] :is(.activity-pill__shimmer,.activity-pill__avatar,.activity-pill__spinner,.activity-pill__atlas){will-change:auto;animation-play-state:paused}@keyframes activity-pill-shimmer{0%{background-position:200%}to{background-position:-200%}}@keyframes activity-pill-wave{0%{transform:translateY(0)}1.69811%{transform:translateY(-3px)}3.39623%,to{transform:translateY(0)}}@keyframes activity-pill-frames{to{transform:translateY(-98.3607%)}}@media (prefers-reduced-motion:reduce){.chat-activity-pills .activity-pill__avatar{animation:none;transform:none}.chat-activity-pills .activity-pill__label--shine,.chat-activity-pills .activity-pill--flow .activity-pill__label--shine{-webkit-text-fill-color:currentColor}.chat-activity-pills .activity-pill__shimmer,.chat-activity-pills .activity-pill__flow{animation:none;display:none}.chat-activity-pills .activity-pill__spinner{border-color:currentColor;animation:none}}:root[data-theme-mode=light] .chat-activity-pills .activity-pill{border-color:var(--chat-composer-light-outline,var(--border))}:root[data-theme-mode=light] .chat-activity-pills .activity-pill__avatar{background:hsl(var(--subagent-avatar-hue) var(--subagent-avatar-tint));color:hsl(var(--subagent-avatar-hue) var(--subagent-avatar-ink))}:root[data-theme-mode=light] .chat-activity-pills .activity-pill--flow .activity-pill__avatar{border-color:hsl(var(--subagent-avatar-hue) var(--subagent-avatar-tint))}