-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (66 loc) · 1.45 KB
/
style.css
File metadata and controls
73 lines (66 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@import 'tw-animate-css';
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
button:not(:disabled),
[role='button']:not(:disabled) {
cursor: pointer;
}
/* Custom scrollbar styling. Thanks @pranathiperii. */
::-webkit-scrollbar-button {
@apply hidden h-0 w-0;
}
::-webkit-scrollbar {
@apply h-3 w-3 bg-transparent;
}
::-webkit-scrollbar-track {
@apply bg-transparent;
}
::-webkit-scrollbar-thumb {
@apply bg-border rounded-full border-3 border-transparent bg-clip-content;
}
::-webkit-scrollbar-corner {
@apply bg-transparent;
}
/* ::-webkit-scrollbar-thumb:hover {
@apply bg-border/50;
} */
/* * {
scrollbar-width: thin;
scrollbar-color: var(--border) transparent;
} */
}
@layer utilities {
.animate-collapsible-down {
animation: collapsible-down 0.2s ease-out;
}
.animate-collapsible-up {
animation: collapsible-up 0.2s ease-out;
}
@keyframes collapsible-down {
0% {
height: 0;
}
to {
height: var(--reka-collapsible-content-height);
}
}
@keyframes collapsible-up {
0% {
height: var(--reka-collapsible-content-height);
}
to {
height: 0;
}
}
}
@utility ring-focus {
@apply border-ring ring-ring/50 ring-[3px];
}
@utility ring-invalid {
@apply aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive;
}