-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.css
205 lines (199 loc) · 3.2 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
a {
@apply cursor-pointer;
}
}
@layer components {
.assign-container {
@apply flex min-h-full
flex-row
px-5
py-3;
}
.moving-container {
@apply flex
gap-3
px-5
py-3;
}
.moving-container .moving-column {
@apply translate-x-0 transition-transform;
}
.panel-container {
@apply container mx-auto;
}
.panel {
@apply flex
min-w-single-column flex-col
overflow-hidden
rounded-md
bg-gray-100
shadow-sm;
}
.panel-header {
@apply flex flex-row
items-center
gap-1
rounded-t-md
bg-secondary-400
px-3
py-2
shadow-sm;
}
.panel-header > h2 {
@apply grow
truncate
text-left
text-sm
font-semibold
uppercase
tracking-wider
text-white;
}
.accordion {
@apply flex
flex-col;
}
.accordion-header {
@apply flex flex-row
items-center
gap-1
px-5
py-2;
}
.accordion-header > h2 {
@apply my-2
grow
text-left
text-lg
font-semibold
leading-7
tracking-wider
text-primary-700
sm:text-xl;
}
.accordion-content {
@apply flex flex-col
gap-3
overflow-hidden
px-4
transition-all;
}
.table-header-group .table-cell {
@apply truncate
font-semibold
uppercase
tracking-wider
text-white;
}
.table-cell {
@apply align-middle;
}
.form-label {
@apply block
text-sm
font-medium
text-gray-700;
}
.form-label.required {
@apply after:ml-0.5
after:text-danger-500
after:content-['*'];
}
.form-select {
@apply mt-1
block
w-full
rounded-md
border
border-gray-300
bg-white
py-2
px-3
shadow-sm
focus:border-secondary-500
focus:outline-none
focus:ring-secondary-500
sm:text-sm;
}
.form-text {
@apply mt-1
block
w-full
rounded-md
border-gray-300
shadow-sm
focus:border-secondary-500
focus:ring-secondary-500
sm:text-sm;
}
.form-checkbox {
@apply h-4 w-4
rounded
border-gray-300
text-secondary-600
focus:ring-secondary-500;
}
.button {
@apply inline-flex
w-full
max-w-md
items-center
justify-center
rounded-md
py-2
px-4
text-sm
font-medium
focus:outline-none
focus:ring-2
focus:ring-offset-2;
}
.button.button-primary {
@apply border border-transparent
bg-secondary-500
text-white
hover:bg-secondary-600
focus:ring-secondary-400
disabled:border-gray-200
disabled:bg-white
disabled:text-primary-400;
}
.button.button-secondary {
@apply border border-gray-200
bg-white
text-primary-700
hover:bg-gray-100
focus:ring-secondary-400;
}
.icon {
@apply min-h-5 min-w-5;
}
.icon-button {
@apply flex
items-center
py-2
px-3
text-sm;
}
.icon-button > .icon {
@apply mr-2;
}
.pill {
@apply rounded-full
px-2
py-0.5
text-xs
font-medium;
}
.badge {
@apply rounded-md
px-2
py-0.5
text-xs
font-medium;
}
}