5d7c10aeab
- Updated runtime configuration to use __CS_AI_AGENT_WIDGET_CONFIG__ instead of __CS_AGENT_WIDGET_CONFIG__. - Changed message types in support host bridge from "cs-agent" to "cs-ai-agent". - Minified SDK script updated to reflect new AI agent naming conventions. - Adjusted scrollbar styles in main.scss to use .cs-ai-agent-scrollbar instead of .cs-agent-scrollbar.
45 lines
971 B
SCSS
45 lines
971 B
SCSS
// Native thin scrollbar aligned with the widget, used by chat message lists.
|
|
// Imported from app/layout.tsx with the rest of the global styles.
|
|
|
|
$thumb: #cbd5e1;
|
|
$thumb-hover: #94a3b8;
|
|
|
|
.cs-ai-agent-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: $thumb transparent;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
border: 2px solid transparent;
|
|
border-radius: 999px;
|
|
background: $thumb;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
background: $thumb-hover;
|
|
background-clip: padding-box;
|
|
}
|
|
}
|
|
|
|
.dark .cs-ai-agent-scrollbar {
|
|
scrollbar-color: hsl(var(--border)) transparent;
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background: hsl(var(--border));
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
background: hsl(var(--muted-foreground) / 0.45);
|
|
background-clip: padding-box;
|
|
}
|
|
}
|