UNPKG

@copilotkit/react-ui

Version:

<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>

89 lines (80 loc) 1.79 kB
.copilotKitWindow { position: fixed; inset: 0px; transform-origin: bottom; border-color: rgb(229 231 235); background-color: rgb(255 255 255); border-radius: 0.75rem; box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px; flex-direction: column; transition: opacity 100ms ease-out, transform 200ms ease-out; opacity: 0; transform: scale(0.95) translateY(20px); display: flex; pointer-events: none; padding-bottom: 15px; } .poweredByContainer { padding: 0; visibility: visible !important; display: flex !important; position: fixed !important; } .poweredBy { visibility: visible !important; display: block !important; position: static !important; text-align: center !important; font-size: 12px !important; padding: 3px 0 !important; color: rgb(214, 214, 214) !important; margin: 0 !important; } .dark, html.dark, body.dark, [data-theme="dark"], html[style*="color-scheme: dark"], body[style*="color-scheme: dark"] .poweredBy { color: rgb(69, 69, 69) !important; } .copilotKitSidebar .copilotKitWindow { border-radius: 0; opacity: 1; transform: translateX(100%); } .copilotKitWindow.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; } .copilotKitSidebar .copilotKitWindow.open { transform: translateX(0); } @media (min-width: 640px) { .copilotKitWindow { transform-origin: bottom right; bottom: 5rem; right: 1rem; top: auto; left: auto; border-width: 0px; margin-bottom: 1rem; width: 24rem; height: 600px; min-height: 200px; max-height: calc(100% - 6rem); } .copilotKitSidebar .copilotKitWindow { bottom: 0; right: 0; top: auto; left: auto; width: 28rem; min-height: 100%; margin-bottom: 0; max-height: none; } }