2026-06-19 13:25:20 +08:00
|
|
|
// Native scrollbar aligned with the Base UI ScrollArea used by lists.
|
2026-05-25 12:06:15 +08:00
|
|
|
// Imported from app/layout.tsx with the rest of the global styles.
|
2026-04-09 10:01:23 +08:00
|
|
|
|
2026-06-19 13:25:20 +08:00
|
|
|
$scrollbar-thumb: var(--border);
|
2026-04-09 10:01:23 +08:00
|
|
|
|
2026-05-31 18:46:05 +08:00
|
|
|
.agent-desk-scrollbar {
|
2026-04-09 10:01:23 +08:00
|
|
|
scrollbar-width: thin;
|
2026-06-19 13:25:20 +08:00
|
|
|
scrollbar-color: $scrollbar-thumb transparent;
|
2026-04-09 10:01:23 +08:00
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
2026-06-19 13:25:20 +08:00
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
2026-06-19 13:25:20 +08:00
|
|
|
border: 1px solid transparent;
|
2026-04-09 10:01:23 +08:00
|
|
|
border-radius: 999px;
|
2026-06-19 13:25:20 +08:00
|
|
|
background: $scrollbar-thumb;
|
2026-04-09 10:01:23 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb:hover {
|
2026-06-19 13:25:20 +08:00
|
|
|
background: $scrollbar-thumb;
|
2026-04-09 10:01:23 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
|
}
|
|
|
|
|
}
|