aboutsummaryrefslogtreecommitdiffstats
path: root/tooling/tailwind/globals.css
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/tailwind/globals.css')
-rw-r--r--tooling/tailwind/globals.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/tooling/tailwind/globals.css b/tooling/tailwind/globals.css
index 1ba64bcf..45589abf 100644
--- a/tooling/tailwind/globals.css
+++ b/tooling/tailwind/globals.css
@@ -74,3 +74,29 @@
@apply bg-background text-foreground;
}
}
+
+@layer components {
+ /* Sleek scrollbar for sidebar only */
+ .sidebar-scrollbar::-webkit-scrollbar {
+ width: 6px;
+ }
+
+ .sidebar-scrollbar::-webkit-scrollbar-track {
+ background: transparent;
+ }
+
+ .sidebar-scrollbar::-webkit-scrollbar-thumb {
+ background: hsl(var(--muted-foreground) / 0.15);
+ border-radius: 3px;
+ }
+
+ .sidebar-scrollbar::-webkit-scrollbar-thumb:hover {
+ background: hsl(var(--muted-foreground) / 0.25);
+ }
+
+ /* Firefox scrollbar for sidebar */
+ .sidebar-scrollbar {
+ scrollbar-width: thin;
+ scrollbar-color: hsl(var(--muted-foreground) / 0.15) transparent;
+ }
+}