Files
agent_platform_oci/apps/agent_frontend_a2a/styles.css
2026-10-21 08:23:55 -03:00

2 lines
8.3 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24342d;background:#f8faf7;font-synthesis:none;--green:#285b44;--line:#e0e7df;--muted:#6c7c70}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a4c4af;outline-offset:3px}button{border:0}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:100vh}.sidebar{padding:30px 24px 18px;background:#f0f4ed;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:17px}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:inherit;font-size:17px;font-weight:650;margin:1px 0 26px}.brand-mark{width:37px;height:39px;border:1px solid #365c45;border-radius:12px 12px 12px 3px;display:grid;place-items:center;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:31px}.brand small{display:block;font-size:9px;letter-spacing:1.6px;margin-top:5px;color:var(--muted)}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.5px;font-weight:650;color:#6e7c6d}.badge{border:1px solid #ccd9ca;padding:3px 6px;border-radius:4px;font-size:9px;letter-spacing:.3px}label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550;line-height:1.4}.connection-form{display:grid;gap:15px}input,select{width:100%;min-width:0;border:1px solid #d5dfd1;background:#fffefb;border-radius:7px;padding:10px;color:#34473c;font-size:12px}input:disabled,select:disabled{opacity:.55}.two-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:10px}.primary{display:flex;justify-content:space-between;align-items:center;background:var(--green);color:#fff;border-radius:7px;padding:12px 13px;font-size:12px}.primary:hover{background:#1e4935}.service-card{border:1px solid #dce5d7;border-radius:7px;padding:12px;display:flex;align-items:flex-start;gap:9px;background:#f8faf5}.service-card strong{font-size:11px;font-weight:600}.service-card p{font-size:10px;color:var(--muted);line-height:1.65;margin:5px 0 0}.dot{height:7px;width:7px;flex-shrink:0;display:inline-block;background:#548366;border-radius:100%;margin-top:5px}.dot.muted{background:#b2bfb0}.dot.busy{background:#c19540;box-shadow:0 0 0 3px #c1954015}.dot.error{background:#be6553}.advanced{border-top:1px solid var(--line);padding-top:15px}.advanced summary{font-size:11px;cursor:pointer;margin-bottom:13px}.advanced label{margin-bottom:12px}.hint{font-size:10px;color:var(--muted);line-height:1.7}.sidebar-footer{margin-top:auto;padding-top:26px;font-size:9px;color:#80907d;display:flex;align-items:center;gap:7px}.sidebar-footer .dot{height:5px;width:5px;margin:0}.main{min-width:0;display:flex;flex-direction:column;padding:36px clamp(25px,5vw,85px) 20px;height:100vh;overflow:auto}.topbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.9px;color:#81917e;font-weight:600}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:27px;letter-spacing:-.5px;margin:8px 0 0}.secondary{border:1px solid var(--line);border-radius:6px;background:transparent;padding:10px 12px;font-size:11px;white-space:nowrap;color:#4f6355}.secondary:hover{background:#edf2e9}.task-strip{min-height:49px;display:flex;align-items:center;gap:12px;border-block:1px solid var(--line);padding:7px 0}.status-pill{display:flex;align-items:center;gap:8px;font-size:11px}.status-pill .dot{margin:0}.task-id{font-family:ui-monospace,monospace;font-size:10px;color:#99a593}.task-actions{margin-left:auto;display:flex;gap:14px}.text-button{background:none;color:var(--green);padding:6px 0;font-size:10px}.danger{color:#9b5c4c}.notice{font-size:12px;background:#fff5e9;color:#7e5635;border:1px solid #ead7bb;border-radius:7px;padding:12px 15px;margin-top:14px;line-height:1.6}.chat{flex:1;min-height:280px;overflow-y:auto;padding:30px 0 20px;scroll-behavior:smooth}.welcome{max-width:480px;margin:clamp(15px,6vh,65px) auto 40px;display:flex;flex-direction:column;align-items:center;text-align:center}.welcome-icon{display:grid;place-items:center;color:#557953;background:#edf3e7;border:1px solid #dce8d5;border-radius:16px;width:54px;height:54px;font-size:35px;margin-bottom:26px}.welcome h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3.2vw,42px);font-weight:400;line-height:1.14;letter-spacing:-1.1px;margin:17px 0}.welcome p{color:#7b897b;font-size:12px;line-height:1.9;margin:1px 0 28px}.suggestions{display:flex;gap:10px}.suggestions button{border:1px solid var(--line);padding:11px 13px;font-size:10px;background:#fffefb;border-radius:7px;color:#5c705e}.suggestions button span{margin-left:17px;color:#94a38e}.composer-area{padding-top:10px}.composer{display:flex;align-items:flex-end;gap:15px;background:#fffefb;border:1px solid #d7e0d1;box-shadow:0 3px 18px #34502305;border-radius:12px;padding:12px 13px 12px 17px}.composer textarea{width:100%;resize:none;background:none;border:0;outline:none;font-size:12px;line-height:1.7;min-height:32px;max-height:150px;padding:5px 0;color:#304a37}.composer textarea::placeholder{color:#a0ac9c}.send-button{border-radius:8px;background:var(--green);color:white;min-width:34px;height:34px;font-size:21px}.composer-footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#99a493;padding:11px 2px 15px}.activity-panel{border-top:1px solid var(--line);padding-top:13px;font-size:10px;color:var(--muted)}.activity-panel summary{cursor:pointer;display:flex;justify-content:space-between;gap:20px}.activity-panel summary::before{content:'↳';margin-right:5px}.activity-panel summary span{margin-left:auto;color:#97a38e}.activity-panel ol{padding:5px 0 0 20px;max-height:140px;overflow:auto}.activity-panel li{padding:5px 0}.activity-panel time{color:#9aa492;margin-right:10px;font-variant-numeric:tabular-nums}.activity-panel dl{font-family:ui-monospace,monospace;font-size:9px;display:grid;grid-template-columns:65px minmax(0,1fr);gap:5px}.activity-panel dd{margin:0;overflow-wrap:anywhere}.message{margin:0 0 25px;max-width:86%;font-size:13px;line-height:1.85}.message.user{margin-left:auto;background:#e8efe3;border:1px solid #dce6d5;padding:12px 17px;border-radius:12px 12px 3px 12px;max-width:75%;white-space:pre-wrap;overflow-wrap:anywhere}.agent-header{display:flex;align-items:center;gap:9px;margin-bottom:10px;font-size:11px;font-weight:650;color:#526c52}.agent-avatar{display:grid;place-items:center;border:1px solid #d3dfce;background:#eff4e9;border-radius:7px;width:26px;height:26px;font-size:15px}.agent-body{white-space:pre-wrap;overflow-wrap:anywhere;color:#354c3c;padding-left:35px}.agent-section+.agent-section{margin-top:18px}.agent-body pre{white-space:pre-wrap}body[aria-busy="true"] .task-strip .dot.busy{animation:pulse 1.5s infinite}@keyframes pulse{50%{opacity:.45}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(min-width:1500px){.main{padding-inline:max(65px,calc((100vw - 1200px)/2))}}@media(max-width:900px){.workspace{grid-template-columns:255px minmax(0,1fr)}.sidebar{padding:24px 18px}.main{padding:27px 25px 18px}.topbar{align-items:flex-start}.topbar h1{font-size:25px}.task-id{display:none}.suggestions{flex-direction:column}.message{max-width:100%}}@media(max-width:650px){.workspace{display:block}.sidebar{padding:18px 20px;gap:13px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 8px}.connection-form{grid-template-columns:1fr 1fr;align-items:end}.connection-form>label{grid-column:1/-1}.connection-form .two-columns{grid-template-columns:1fr 1fr}.sidebar>label{display:flex}.advanced{margin-top:0}.sidebar-footer{display:none}.main{height:auto;min-height:75vh;padding:24px 20px}.chat{max-height:65vh;min-height:310px}.topbar{padding-bottom:20px}.topbar h1{font-size:24px}.topbar .secondary{font-size:0}.topbar .secondary::after{content:'+ Nova';font-size:11px}.welcome{margin-top:25px}.welcome h2{font-size:32px}.suggestions{flex-direction:row}.suggestions button{font-size:9px;padding:10px}.task-actions{gap:9px}.status-pill{font-size:10px}.composer-footer{font-size:8px}.message.user{max-width:90%}}