-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.css
73 lines (58 loc) · 1.72 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@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;
}
.collapse > input[name="duvidas"]:checked ~ label > svg {
transform: rotate(180deg);
}
.collapse > input[name="MultiSection"]:checked ~ label > div > svg {
transform: rotate(180deg);
}
.collapse > input[name="benefits"]:checked ~ label > svg {
transform: rotate(270deg);
}
}
@layer components {
/** Prevent scroll when modal is open */
.no-scroll {
overflow: hidden;
height: 100vh;
}
.no-padding-collapse {
@apply p-0 pe-0 min-h-0;
}
}
@layer utilities {
/** Remove scrollbar from overflow-auto */
.scrollbar-none {
scrollbar-width: none;
-ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
/** Hide scrollbar but allow scrolling */
.scrollbar-hide {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar {
display: none; /* Chrome, Safari, and Opera */
}
}