-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.css
52 lines (42 loc) · 925 Bytes
/
tailwind.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
/* Allow changing font family via CMS */
html {
font-family: var(--font-family);
}
/** Remove default styles from input[type=number] */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
appearance: textfield;
}
}
@layer components {
/** Prevent scroll when modal is open */
.no-scroll {
overflow: hidden;
height: 100vh;
}
[data-dot].current div .dot {
background-color: black;
}
[data-dot] div .dot {
background-color: #E4E4E7;
}
}
@layer utilities {
/** Remove scrollbar from overflow-auto */
.scrollbar-none {
scrollbar-width: none;
-ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
}