generated from deco-sites/storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.css
56 lines (47 loc) · 1.19 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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
/* Allow changing font family via CMS */
html {
font-family: var(--font-family);
}
mark {
@apply bg-accent text-accent-content;
}
/** 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;
}
/* Disable scroll once drawer/modal is openned */
body:has(.drawer-toggle:checked),
body:has(.modal-toggle:checked) {
overflow: hidden;
height: 100vh;
}
}
@layer components {
.features {
@apply flex items-center justify-center gap-6 flex-wrap;
@apply relative max-w-[1280px] mx-auto;
}
.feature-card {
@apply w-[380px] max-w-[380px] lg:h-[380px] bg-[#f4f4f4] rounded-3xl;
@apply border-l border-transparent duration-200 whitespace-pre-line
text-center;
@apply flex flex-col items-center justify-start gap-8 py-10 px-8 lg:px-12;
}
}
.group:disabled .group-disabled\:animate-progress {
animation: progress-frame ease normal;
}
@keyframes progress-frame {
0% {
--dot-progress: 0%;
}
to {
--dot-progress: 100%;
}
}