File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 8
8
}
9
9
}
10
10
11
+ /* Scrollbar width */
12
+ ::-webkit-scrollbar {
13
+ height : 8px ;
14
+ width : 8px ;
15
+ }
16
+
17
+ /* Scrollbar track */
18
+ ::-webkit-scrollbar-track {
19
+ background : transparent;
20
+ border-radius : 4px ;
21
+ }
22
+
23
+ ::-webkit-scrollbar-thumb {
24
+ background : transparent;
25
+ }
26
+
27
+ /* Scrollbar thumb (the draggable part) */
28
+ ::-webkit-scrollbar-thumb {
29
+ border-radius : 999px ;
30
+ }
31
+
32
+ /* Light Theme */
33
+ ::-webkit-scrollbar-thumb {
34
+ @apply bg-gray-300/80;
35
+ }
36
+
37
+ /* Scrollbar thumb on hover */
38
+ ::-webkit-scrollbar-thumb : hover {
39
+ @apply bg-gray-300;
40
+ }
41
+
42
+ /* Dark Theme */
43
+ .dark ::-webkit-scrollbar-thumb {
44
+ @apply bg-cloud/60;
45
+ }
46
+
47
+ /* Scrollbar thumb on hover */
48
+ .dark ::-webkit-scrollbar-thumb : hover {
49
+ @apply bg-cloud;
50
+ }
51
+
11
52
/* Whole menu */
12
53
nav ul {
13
54
@apply list-none text-sm;
You can’t perform that action at this time.
0 commit comments