openvibers/openvibe.actor Commits

Theme-aware tints and status colours (#241)

OP OpenVibers committed 12 days ago · ead8cb273f · 4 files, +13 −13

Changes

ddiff --git a/public/css/agents.css b/public/css/agents.css
iindex 366b2e2..cea04a9 100644
---- a/public/css/agents.css
++++ b/public/css/agents.css
@@@ -7,7 +7,7 @@
.pa-card a { color: var(--text-primary, #e6edf7); text-decoration: none; font-size: 1.05rem; }
.pa-card a:hover { color: var(--accent-light, #60a5fa); text-decoration: underline; }
.pa-when { font-size: 13px; color: var(--text-secondary, #96a7c2); }
--.pa-empty { padding: 1.25rem; border: 1px dashed var(--border-color, rgba(255,255,255,.12)); border-radius: 12px; color: var(--text-secondary, #96a7c2); }
++.pa-empty { padding: 1.25rem; border: 1px dashed var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 12%, transparent)); border-radius: 12px; color: var(--text-secondary, #96a7c2); }
.pa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pa-panel { margin: 0 0 1rem; padding: 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--border-color, rgba(255,255,255,.12)); background: var(--bg-card, #131c2e); }
.pa-panel h2 { margin: 0 0 .6rem; font-size: 1.1rem; }
@@@ -22,9 +22,9 @@
.pa-check .pa-hint { flex-basis: 100%; }
.pa-hint { display: block; font-size: 13px; font-weight: 400; color: var(--text-secondary, #96a7c2); }
.pa-runs, .pa-notes { list-style: none; padding: 0; margin: 0 0 .75rem; }
--.pa-runs li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .45rem 0; border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08)); }
++.pa-runs li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .45rem 0; border-bottom: 1px solid var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.pa-run-gist { flex-basis: 100%; min-width: 0; overflow-wrap: anywhere; font-size: .88rem; color: var(--text-muted, #8b98ad); }
--.pa-notes li { padding: .7rem 0; border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08)); }
++.pa-notes li { padding: .7rem 0; border-bottom: 1px solid var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.pa-note-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pa-note-meta { margin: .15rem 0 0; font-size: 12px; color: var(--text-secondary, #96a7c2); }
.pa-notes details summary { margin-top: .3rem; font-size: 13px; color: var(--accent-light, #60a5fa); cursor: pointer; }
ddiff --git a/public/css/chat.css b/public/css/chat.css
iindex 3adc4ba..804f94b 100644
---- a/public/css/chat.css
++++ b/public/css/chat.css
@@@ -32,7 +32,7 @@ body:has(.page-app) > footer, body:has(.page-app) #ov-footer, body:has(.page-app
.cs-group { margin: 12px 8px 4px; font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted, #7386a3); }
.cs-list a { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; border-radius: 10px; color: var(--text-secondary, #b4c0d4); text-decoration: none; font-size: 14.5px; }
.cs-list a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
--.cs-list a:hover { background: var(--bg-hover, rgba(255, 255, 255, .05)); color: var(--text-primary, #e6edf7); }
++.cs-list a:hover { background: var(--bg-hover, color-mix(in srgb, var(--text-primary, #fff) 5%, transparent)); color: var(--text-primary, #e6edf7); }
.cs-list a[aria-current=page] { background: color-mix(in srgb, var(--accent, #f97316) 16%, transparent); color: var(--text-primary, #e6edf7); font-weight: 600; }
.cs-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #f97316); animation: ct-breathe 1.6s ease-in-out infinite; }
.cs-empty { margin: 14px 10px; font-size: 14px; color: var(--text-muted, #7386a3); }
@@@ -47,7 +47,7 @@ body:has(.page-app) > footer, body:has(.page-app) #ov-footer, body:has(.page-app
.ct-head.is-stuck { border-bottom-color: var(--line); }
.ct-title { flex: 1; min-width: 0; margin: 0; font-size: 16px; font-weight: 650; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-menu, .ct-new { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: none; color: var(--text-secondary, #b4c0d4); }
--.ct-menu:hover, .ct-new:hover { background: var(--bg-hover, rgba(255, 255, 255, .06)); color: var(--text-primary, #e6edf7); }
++.ct-menu:hover, .ct-new:hover { background: var(--bg-hover, color-mix(in srgb, var(--text-primary, #fff) 6%, transparent)); color: var(--text-primary, #e6edf7); }
.ct-menu svg, .ct-new svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 900px) { .ct-menu { display: none; } }
.ct-scroll { flex: 1; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
@@@ -126,7 +126,7 @@ body:has(.page-app) > footer, body:has(.page-app) #ov-footer, body:has(.page-app
.ct-checked svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ct-acts { display: inline-flex; gap: 2px; margin-left: auto; }
.ct-act { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 9px; border-radius: 9px; border: 0; background: none; color: var(--text-secondary, #96a7c2); font-size: 13px; text-decoration: none; }
--.ct-act:hover { background: var(--bg-hover, rgba(255, 255, 255, .06)); color: var(--text-primary, #e6edf7); }
++.ct-act:hover { background: var(--bg-hover, color-mix(in srgb, var(--text-primary, #fff) 6%, transparent)); color: var(--text-primary, #e6edf7); }
.ct-act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-act.is-done { color: var(--success-text, var(--success, #22c55e)); }
@@@ -233,7 +233,7 @@ html[data-ov-motion=reduced] .ct-answer.is-streaming .sw { opacity: 1 !important
.cc-files img { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; }
.cc-files span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-files button { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 0; background: none; color: var(--text-muted, #7386a3); font-size: 16px; line-height: 1; }
--.cc-files button:hover { background: var(--bg-hover, rgba(255, 255, 255, .08)); color: var(--text-primary, #e6edf7); }
++.cc-files button:hover { background: var(--bg-hover, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); color: var(--text-primary, #e6edf7); }
.ct-you { flex-direction: column; align-items: flex-end; gap: 6px; }
.ct-attached { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; max-width: min(85%, 620px); }
.ct-attached img { display: block; max-width: 220px; max-height: 180px; border-radius: 14px; border: 1px solid var(--line); }
@@@ -263,7 +263,7 @@ html[data-ov-motion=reduced] .ct-answer.is-streaming .sw { opacity: 1 !important
.ccm-item::before { content: ''; position: absolute; left: 11px; top: 12px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.ccm-item.is-on::before { border-color: var(--accent, #4f7cff); background: radial-gradient(circle, var(--accent, #4f7cff) 0 3px, transparent 3.5px); }
.ccm-item:hover, .ccm-item:focus-visible { background: color-mix(in srgb, var(--text-primary, #eef2f8) 6%, transparent); outline: none; }
--.ccm-own.is-ready .ccm-item small::after { content: ' · ready'; color: #22c55e; font-weight: 650; }
++.ccm-own.is-ready .ccm-item small::after { content: ' · ready'; color: var(--success-text, #22c55e); font-weight: 650; }
.ccm-setup { flex: none; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--accent, #4f7cff); text-decoration: none; border: 1px solid color-mix(in srgb, var(--accent, #4f7cff) 40%, transparent); }
.ccm-setup:hover { background: color-mix(in srgb, var(--accent, #4f7cff) 12%, transparent); }
.ccm-fine { margin: 8px 8px 4px; color: var(--text-muted, #7386a3); font-size: 12px; line-height: 1.45; }
ddiff --git a/public/css/console.css b/public/css/console.css
iindex 8efc428..26fd8d5 100644
---- a/public/css/console.css
++++ b/public/css/console.css
@@@ -27,14 +27,14 @@
.cn-more { margin: auto 0 0; padding-top: .35rem; font-size: 14px; }
.cn-tasks, .cn-list, .cn-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; }
--.cn-task { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pill text" ". meta"; column-gap: .6rem; align-items: baseline; padding: .5rem 0; border-top: 1px solid var(--border-color, rgba(255,255,255,.08)); }
++.cn-task { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pill text" ". meta"; column-gap: .6rem; align-items: baseline; padding: .5rem 0; border-top: 1px solid var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.cn-task:first-child { border-top: 0; }
.cn-task .pill { grid-area: pill; white-space: nowrap; }
.cn-task a { grid-area: text; color: var(--text-primary, #e6edf7); text-decoration: none; overflow-wrap: anywhere; }
.cn-task a:hover, .cn-task a:focus-visible { color: var(--accent-light, #60a5fa); text-decoration: underline; }
.cn-task .cn-meta { grid-area: meta; }
.cn-meta { color: var(--text-secondary, #96a7c2); font-size: 13px; }
--.cn-list li, .cn-links li { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; padding: .45rem 0; border-top: 1px solid var(--border-color, rgba(255,255,255,.08)); }
++.cn-list li, .cn-links li { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; padding: .45rem 0; border-top: 1px solid var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.cn-list li:first-child, .cn-links li:first-child { border-top: 0; }
/* A row with a status dot: the dot keeps its own column, so a long name wraps beside it, never under it. */
.cn-list li:has(> .cn-dot) { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: .55rem; row-gap: .15rem; align-items: center; }
@@@ -61,7 +61,7 @@
.cn-month .cn-bar small { display: block; height: 1.3em; line-height: 1.3em; }
/* The events feed: a coloured dot for how each ended, the text, then who, cost and when. */
.cn-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
--.cn-event { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: .6rem; row-gap: .1rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--border-color, rgba(255,255,255,.08)); }
++.cn-event { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: .6rem; row-gap: .1rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.cn-event:first-child { border-top: 0; }
.cn-event > a, .cn-event > .cn-meta { grid-column: 2; overflow-wrap: anywhere; }
.cn-event > a { color: var(--text-primary, #e6edf7); }
@@@ -76,7 +76,7 @@
.cn-grid { grid-template-columns: minmax(0, 1fr); }
.cn-wide { grid-column: auto; }
.cn-full .cn-links { grid-template-columns: minmax(0, 1fr); }
-- .cn-full .cn-links li { border-top: 1px solid var(--border-color, rgba(255,255,255,.08)); }
++ .cn-full .cn-links li { border-top: 1px solid var(--border-color, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.cn-full .cn-links li:first-child { border-top: 0; }
.cn-command-row { justify-content: space-between; }
.cn-command textarea { min-height: 5.4rem; }
ddiff --git a/public/css/task.css b/public/css/task.css
iindex 45e4da2..d664412 100644
---- a/public/css/task.css
++++ b/public/css/task.css
@@@ -251,7 +251,7 @@
.cmp-pick { display: flex; gap: 8px; overflow-x: auto; margin: .9rem -16px .2rem; padding: 2px 16px 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.cmp-pick::-webkit-scrollbar { display: none; }
.cmp-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
-- .cmp-pick label { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--border, rgba(255,255,255,.1)); color: var(--text-secondary, #a8b3c4); font-size: 13.5px; font-weight: 650; white-space: nowrap; cursor: pointer; }
++ .cmp-pick label { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--border, color-mix(in srgb, var(--text-primary, #fff) 10%, transparent)); color: var(--text-secondary, #a8b3c4); font-size: 13.5px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.cmp-pick input:checked + label { color: var(--text-primary, #e6edf7); border-color: var(--accent, #3b82f6); background: color-mix(in srgb, var(--accent, #3b82f6) 12%, transparent); }
.cmp-pick input:focus-visible + label { outline: 2px solid var(--accent, #3b82f6); outline-offset: 2px; }
.cmp-panel { display: none; }