diff --git a/llm_team_ui.py b/llm_team_ui.py index ff3c880..769df65 100644 --- a/llm_team_ui.py +++ b/llm_team_ui.py @@ -149,6 +149,9 @@ body.theme-light .output-card, body.theme-reddit .output-card { box-shadow: 0 1p body.theme-light .output-card .card-body, body.theme-reddit .output-card .card-body { background: var(--surface); } body.theme-light textarea, body.theme-reddit textarea { background: var(--surface) !important; color: var(--text) !important; } body.theme-light input, body.theme-light select, body.theme-reddit input, body.theme-reddit select { background: var(--surface) !important; color: var(--text) !important; border-color: var(--border) !important; } +body.theme-light select option, body.theme-reddit select option { background: var(--surface); color: var(--text); } +body.theme-light .config-row select, body.theme-reddit .config-row select { background: #fff !important; color: #1a1d23 !important; } +body.theme-light .config-row select option, body.theme-reddit .config-row select option { background: #fff; color: #1a1d23; } body.theme-light .threat-card, body.theme-reddit .threat-card { background: var(--surface); } body.theme-light .threat-card.critical, body.theme-reddit .threat-card.critical { background: rgba(220,38,38,0.03); } body.theme-light .threat-card.high, body.theme-reddit .threat-card.high { background: rgba(217,119,6,0.03); } @@ -261,6 +264,12 @@ body.theme-reddit .prov-badge.ollama { background: rgba(70,209,96,0.08); color: body.theme-reddit header { border-bottom-width: 1px; } body.theme-reddit ::-webkit-scrollbar-thumb { background: rgba(255,69,0,0.15); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; } body.theme-reddit ::-webkit-scrollbar-thumb:hover { background: rgba(255,69,0,0.3); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; } +body.theme-light .new-prompt-btn, body.theme-reddit .new-prompt-btn { color: #fff; } +body.theme-light .composer-close, body.theme-reddit .composer-close { background: var(--surface); } +body.theme-reddit .new-prompt-btn { border-radius: 20px; } +body.theme-reddit .composer-close { border-radius: 20px; } +body.theme-modern .new-prompt-btn { border-radius: 8px; color: #fff; } +body.theme-modern .composer-close { border-radius: 8px; border-width: 1px; backdrop-filter: blur(12px); background: var(--surface); } body.theme-light .repipe-overlay, body.theme-reddit .repipe-overlay { background: rgba(0,0,0,0.3); } body.theme-light .repipe-modal, body.theme-reddit .repipe-modal { background: var(--surface); border-color: var(--border); } body.theme-light .repipe-text, body.theme-reddit .repipe-text { background: var(--bg); border-color: var(--border); color: var(--text); } @@ -337,6 +346,9 @@ body.theme-modern .tag-ok { background: rgba(34,197,94,0.08); color: var(--green body.theme-modern .tag-time { background: rgba(59,130,246,0.08); color: var(--accent2); border-color: rgba(59,130,246,0.15); } body.theme-modern .tag-mode { background: rgba(139,92,246,0.08); color: #a78bfa; border-color: rgba(139,92,246,0.15); } body.theme-modern input, body.theme-modern select, body.theme-modern textarea { border-radius: 8px; border-width: 1px; background: rgba(255,255,255,0.04) !important; transition: border-color 0.2s, box-shadow 0.2s; } +body.theme-modern select option { background: #18181b; color: #fafafa; } +body.theme-modern .config-row select { background: #18181b !important; color: #fafafa !important; } +body.theme-modern .config-row select option { background: #18181b; color: #fafafa; } body.theme-modern input:focus, body.theme-modern textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important; } body.theme-modern header { border-bottom: 1px solid var(--border); } body.theme-modern .login-box { border-radius: 16px; backdrop-filter: blur(24px); box-shadow: 0 4px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04) inset; } @@ -1832,6 +1844,7 @@ HTML = r""" .config-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 12px; } .config-row label { width: 90px; color: var(--text2); flex-shrink: 0; font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; } .config-row select, .config-row input { flex: 1; background: rgba(0,0,0,0.4); border: 2px solid var(--border); color: var(--text); border-radius: 2px; padding: 6px 8px; font-size: 12px; } + .config-row select option, select option { background: #1a1d23; color: #e8e6e3; } .config-row select:focus, .config-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } .pipeline-step { display: flex; align-items: center; gap: 8px; padding: 7px; margin-bottom: 4px; background: rgba(0,0,0,0.25); border: 1px solid var(--border); border-radius: 2px; font-size: 12px; } .pipeline-step .step-num { width: 22px; height: 22px; background: var(--accent); color: #08090c; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; flex-shrink: 0; font-family: 'JetBrains Mono', monospace; } @@ -1915,8 +1928,26 @@ HTML = r""" .output-card .card-body::-webkit-scrollbar { width: 4px; } .m-toggle { display: none; } .m-collapse { display: block !important; } - @media (max-width: 900px) { .grid { grid-template-columns: 1fr; } } - @media (max-width: 768px) { .m-toggle { display: flex; } .m-collapse { display: none !important; } .m-collapse.open { display: block !important; } } + /* Composer overlay mode */ + .composer-active .grid { display: block; } + .composer-active .left-scroll { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 60px 20px 40px; overflow-y: auto; max-height: 100vh; } + .composer-active .left-scroll > .panel, + .composer-active .left-scroll > .m-collapse { width: 100%; max-width: 640px; } + .composer-active .left-scroll > .m-toggle { width: 100%; max-width: 640px; } + .composer-active .grid > .panel:last-child { display: none; } + .composer-close { display: none; position: fixed; top: 16px; right: 20px; z-index: 110; background: none; border: 2px solid var(--border); border-radius: 2px; color: var(--text2); font-size: 18px; width: 32px; height: 32px; cursor: pointer; font-family: 'JetBrains Mono', monospace; transition: all 0.15s; line-height: 1; } + .composer-close:hover { border-color: var(--accent); color: var(--accent); } + .composer-active .composer-close { display: block; } + /* Output-focused mode (after run) */ + .output-focused .grid { grid-template-columns: 1fr; } + .output-focused .left-scroll { display: none; } + .output-focused .grid > .panel:last-child { width: 100%; } + .new-prompt-btn { display: none; z-index: 90; background: var(--accent); color: #08090c; border: none; border-radius: 2px; padding: 5px 14px; font-size: 10px; font-weight: 700; cursor: pointer; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s; } + .new-prompt-btn:hover { opacity: 0.85; } + .output-focused .new-prompt-btn { display: inline-block; } + /* Theme adjustments for composer */ + @media (max-width: 900px) { .grid { grid-template-columns: 1fr; } .composer-active .left-scroll { padding: 40px 12px 30px; } } + @media (max-width: 768px) { .m-toggle { display: flex; } .m-collapse { display: none !important; } .m-collapse.open { display: block !important; } .composer-active .left-scroll { padding: 30px 10px 20px; } } .card-actions { display: flex; gap: 4px; padding: 6px 14px 10px; } .card-act { background: none; border: 2px solid var(--border); border-radius: 2px; color: var(--text2); font-size: 9px; padding: 3px 10px; cursor: pointer; transition: all 0.15s; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.5px; } .card-act:hover { border-color: var(--accent); color: var(--accent); } @@ -2014,6 +2045,7 @@ HTML = r"""

LLM Team

0 models
+
Mode: Brainstorm
@@ -2051,6 +2084,7 @@ HTML = r"""
ResearchAuto brief
Model EvalBenchmark
+
Auto-RefineAI pipeline
KnowledgeExtract facts
All models answer in parallel, then one synthesizes the best parts into a final answer.
@@ -2204,6 +2238,14 @@ HTML = r"""
+ +
@@ -2222,12 +2264,30 @@ HTML = r"""