generated from deco-sites/boilerplaten1v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.css
144 lines (111 loc) · 2.26 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
@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;
}
}
@layer utilities {
/** Remove scrollbar from overflow-auto */
.scrollbar-none {
scrollbar-width: none;
-ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
.scrollbar-list::-webkit-scrollbar {
width: 4px;
}
.scrollbar-list::-webkit-scrollbar-track {
background: #F1F1F3;
}
.scrollbar-list::-webkit-scrollbar-thumb {
background: #D7D7DA;
}
@keyframes slide-left-frame {
0% {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
@keyframes slide-right-frame {
0% {
transform: translateX(-100%)
}
to {
transform: translateX(0)
}
}
@keyframes slide-bottom-frame {
0% {
transform: translateY(100%)
}
to {
transform: translateY(0)
}
}
.animate-slide-left {
animation: slide-left-frame 0.4s ease normal;
}
.animate-slide-right {
animation: slide-right-frame 0.4s ease normal;
}
.animate-slide-bottom {
animation: slide-bottom-frame 0.4s ease normal;
}
}
.group:disabled .group-disabled\:animate-progress {
animation: progress-frame ease normal
}
@keyframes progress-frame {
0% {
--dot-progress: 0%
}
to {
--dot-progress: 100%
}
}
.readmore {
@apply flex flex-col-reverse;
}
.readmore-label {
@apply text-emphasis uppercase cursor-pointer;
}
.readmore-content {
@apply line-clamp-6;
}
.readmore-toggle {
@apply hidden;
}
.readmore-toggle:checked ~ .readmore-content {
@apply line-clamp-none;
}
.readmore-toggle:checked ~ .readmore-label {
visibility: hidden;
}
.readmore-toggle:checked ~ .readmore-label::before {
content: "- Ler menos";
visibility: visible;
}