@wippy-fe/theme 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/THEMING.md +316 -0
- package/package.json +35 -0
- package/primevue/accordion.css +58 -0
- package/primevue/autocomplete.css +144 -0
- package/primevue/avatar.css +50 -0
- package/primevue/badge.css +53 -0
- package/primevue/blockui.css +15 -0
- package/primevue/breadcrumb.css +41 -0
- package/primevue/button.css +341 -0
- package/primevue/buttongroup.css +19 -0
- package/primevue/card.css +22 -0
- package/primevue/carousel.css +64 -0
- package/primevue/cascadeselect.css +169 -0
- package/primevue/checkbox.css +84 -0
- package/primevue/chip.css +27 -0
- package/primevue/colorpicker.css +47 -0
- package/primevue/common.css +81 -0
- package/primevue/confirmdialog.css +10 -0
- package/primevue/confirmpopup.css +66 -0
- package/primevue/contextmenu.css +101 -0
- package/primevue/datatable.css +408 -0
- package/primevue/dataview.css +29 -0
- package/primevue/datepicker.css +211 -0
- package/primevue/dialog.css +125 -0
- package/primevue/divider.css +52 -0
- package/primevue/dock.css +84 -0
- package/primevue/drawer.css +94 -0
- package/primevue/fieldset.css +45 -0
- package/primevue/fileupload.css +57 -0
- package/primevue/floatlabel.css +73 -0
- package/primevue/galleria.css +244 -0
- package/primevue/iconfield.css +23 -0
- package/primevue/iftalabel.css +32 -0
- package/primevue/image.css +56 -0
- package/primevue/imagecompare.css +38 -0
- package/primevue/inplace.css +13 -0
- package/primevue/inputgroup.css +67 -0
- package/primevue/inputnumber.css +84 -0
- package/primevue/inputotp.css +9 -0
- package/primevue/inputtext.css +38 -0
- package/primevue/knob.css +37 -0
- package/primevue/listbox.css +79 -0
- package/primevue/megamenu.css +207 -0
- package/primevue/menu.css +51 -0
- package/primevue/menubar.css +169 -0
- package/primevue/message.css +228 -0
- package/primevue/metergroup.css +67 -0
- package/primevue/multiselect.css +143 -0
- package/primevue/orderlist.css +10 -0
- package/primevue/organizationchart.css +71 -0
- package/primevue/overlaybadge.css +13 -0
- package/primevue/paginator.css +58 -0
- package/primevue/panel.css +27 -0
- package/primevue/panelmenu.css +94 -0
- package/primevue/password.css +61 -0
- package/primevue/picklist.css +18 -0
- package/primevue/popover.css +46 -0
- package/primevue/progressbar.css +67 -0
- package/primevue/progressspinner.css +58 -0
- package/primevue/radiobutton.css +93 -0
- package/primevue/rating.css +23 -0
- package/primevue/ripple.css +7 -0
- package/primevue/scrollpanel.css +41 -0
- package/primevue/scrolltop.css +25 -0
- package/primevue/select.css +144 -0
- package/primevue/selectbutton.css +25 -0
- package/primevue/skeleton.css +11 -0
- package/primevue/slider.css +42 -0
- package/primevue/speeddial.css +48 -0
- package/primevue/splitbutton.css +34 -0
- package/primevue/splitter.css +56 -0
- package/primevue/stepper.css +102 -0
- package/primevue/tabs.css +84 -0
- package/primevue/tag.css +38 -0
- package/primevue/tailwind.css +104 -0
- package/primevue/terminal.css +22 -0
- package/primevue/textarea.css +42 -0
- package/primevue/tieredmenu.css +105 -0
- package/primevue/timeline.css +113 -0
- package/primevue/toast.css +172 -0
- package/primevue/togglebutton.css +63 -0
- package/primevue/toggleswitch.css +66 -0
- package/primevue/toolbar.css +12 -0
- package/primevue/tooltip.css +38 -0
- package/primevue/tree.css +103 -0
- package/primevue/treeselect.css +116 -0
- package/primevue/treetable.css +300 -0
- package/primevue-plugin.ts +8 -0
- package/tailwind.config.ts +28 -0
- package/theme-config.css +124 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
@import './paginator';
|
|
2
|
+
|
|
3
|
+
.p-datatable {
|
|
4
|
+
@apply relative
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-datatable-table {
|
|
8
|
+
@apply border-spacing-0 w-full
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-datatable-scrollable > .p-datatable-table-container {
|
|
12
|
+
@apply relative
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-datatable-scrollable-table > .p-datatable-thead {
|
|
16
|
+
@apply top-0 z-10
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-datatable-scrollable-table > .p-datatable-frozen-tbody {
|
|
20
|
+
@apply sticky z-10
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-datatable-scrollable-table > .p-datatable-tfoot {
|
|
24
|
+
@apply bottom-0 z-10
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-datatable-scrollable .p-datatable-frozen-column {
|
|
28
|
+
@apply sticky bg-surface-0 dark:bg-surface-900
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-datatable-scrollable th.p-datatable-frozen-column {
|
|
32
|
+
@apply z-10
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead,
|
|
36
|
+
.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead {
|
|
37
|
+
@apply bg-surface-0 dark:bg-surface-900
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot,
|
|
41
|
+
.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot {
|
|
42
|
+
@apply bg-surface-0 dark:bg-surface-900
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-datatable-flex-scrollable {
|
|
46
|
+
@apply flex flex-col h-full
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-datatable-flex-scrollable > .p-datatable-table-container {
|
|
50
|
+
@apply flex flex-col flex-1 h-full
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header {
|
|
54
|
+
@apply sticky z-10
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-datatable-resizable-table > .p-datatable-thead > tr > th,
|
|
58
|
+
.p-datatable-resizable-table > .p-datatable-tfoot > tr > td,
|
|
59
|
+
.p-datatable-resizable-table > .p-datatable-tbody > tr > td {
|
|
60
|
+
@apply overflow-hidden whitespace-nowrap
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) {
|
|
64
|
+
@apply bg-clip-padding relative
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer {
|
|
68
|
+
@apply hidden
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-datatable-column-resizer {
|
|
72
|
+
@apply block absolute top-0 end-0 m-0 w-2 h-full p-0 cursor-col-resize border border-transparent
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.p-datatable-column-header-content {
|
|
76
|
+
@apply flex items-center gap-2
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.p-datatable-column-resize-indicator {
|
|
80
|
+
@apply w-px absolute z-10 hidden bg-primary
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.p-datatable-row-reorder-indicator-up,
|
|
84
|
+
.p-datatable-row-reorder-indicator-down {
|
|
85
|
+
@apply absolute hidden
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-datatable-reorderable-column,
|
|
89
|
+
.p-datatable-reorderable-row-handle {
|
|
90
|
+
@apply cursor-move
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.p-datatable-mask {
|
|
94
|
+
@apply absolute flex items-center justify-center z-20
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.p-datatable-inline-filter {
|
|
98
|
+
@apply flex items-center w-full gap-2
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.p-datatable-inline-filter .p-datatable-filter-element-container {
|
|
102
|
+
@apply flex-auto w-[1%]
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.p-datatable-filter-overlay {
|
|
106
|
+
@apply bg-surface-0 dark:bg-surface-900 rounded-md min-w-52
|
|
107
|
+
border border-surface-200 dark:border-surface-700
|
|
108
|
+
text-surface-700 dark:text-surface-0
|
|
109
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.p-datatable-filter-constraint-list {
|
|
113
|
+
@apply m-0 list-none flex flex-col p-1 gap-[2px]
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.p-datatable-filter-constraint {
|
|
117
|
+
@apply px-3 py-2 rounded-sm cursor-pointer transition-colors duration-200 text-surface-700 dark:text-surface-0
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.p-datatable-filter-constraint-selected {
|
|
121
|
+
@apply bg-highlight
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover
|
|
125
|
+
{
|
|
126
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.p-datatable-filter-constraint:focus-visible {
|
|
130
|
+
@apply outline-none bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.p-datatable-filter-constraint-selected:focus-visible {
|
|
134
|
+
@apply bg-highlight-emphasis
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.p-datatable-filter-constraint-separator {
|
|
138
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.p-datatable-popover-filter {
|
|
142
|
+
@apply inline-flex ms-auto
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.p-datatable-filter-overlay-popover {
|
|
146
|
+
@apply flex flex-col gap-2
|
|
147
|
+
bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0
|
|
148
|
+
border border-surface-200 dark:border-surface-700 rounded-md p-3 min-w-52
|
|
149
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-datatable-filter-operator-dropdown {
|
|
153
|
+
@apply w-full
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.p-datatable-filter-rule-list,
|
|
157
|
+
.p-datatable-filter-rule {
|
|
158
|
+
@apply flex flex-col gap-2
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.p-datatable-filter-rule {
|
|
162
|
+
@apply border-b border-surface-200 dark:border-surface-700 last:border-b-0 pb-2 last:pb-0
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.p-datatable-filter-add-rule-button {
|
|
166
|
+
@apply w-full
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.p-datatable-filter-remove-rule-button {
|
|
170
|
+
@apply w-full
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.p-datatable-filter-buttonbar {
|
|
174
|
+
@apply p-0 flex items-center justify-between
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.p-datatable-virtualscroller-spacer {
|
|
178
|
+
@apply flex
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.p-datatable .p-virtualscroller .p-virtualscroller-loading {
|
|
182
|
+
@apply !transform-none min-h-0 sticky top-0 start-0
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.p-datatable-paginator-top {
|
|
186
|
+
@apply border-b border-surface-200 dark:border-surface-700
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.p-datatable-paginator-bottom {
|
|
190
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.p-datatable-header {
|
|
194
|
+
@apply py-3 px-4 border-b border-surface-200 dark:border-surface-700
|
|
195
|
+
bg-surface-0 dark:bg-surface-900
|
|
196
|
+
text-surface-700 dark:text-surface-0
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.p-datatable-footer {
|
|
200
|
+
@apply py-3 px-4 border-b border-surface-200 dark:border-surface-700
|
|
201
|
+
bg-surface-0 dark:bg-surface-900
|
|
202
|
+
text-surface-700 dark:text-surface-0
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.p-datatable-header-cell {
|
|
206
|
+
@apply py-3 px-4 font-normal text-start transition-colors duration-200
|
|
207
|
+
border-b border-surface-200 dark:border-surface-700
|
|
208
|
+
bg-surface-0 dark:bg-surface-900
|
|
209
|
+
text-surface-700 dark:text-surface-0
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.p-datatable-column-title {
|
|
213
|
+
@apply font-semibold
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.p-datatable-tbody > tr {
|
|
217
|
+
@apply bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0 transition-colors duration-200
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.p-datatable-tbody > tr > td {
|
|
221
|
+
@apply text-start py-3 px-4 border-b border-surface-200 dark:border-surface-800
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover {
|
|
225
|
+
@apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.p-datatable-tbody > tr.p-datatable-row-selected {
|
|
229
|
+
@apply bg-highlight
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td {
|
|
233
|
+
@apply border-b-primary-100 dark:border-b-primary-900
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.p-datatable-tbody > tr.p-datatable-row-selected > td {
|
|
237
|
+
@apply border-b-primary-100 dark:border-b-primary-900
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.p-datatable-tbody > tr:focus-visible,
|
|
241
|
+
.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected {
|
|
242
|
+
@apply outline outline-1 -outline-offset-1 outline-primary
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.p-datatable-tfoot > tr > td {
|
|
246
|
+
@apply text-start py-3 px-4 border-b border-surface-200 dark:border-surface-800
|
|
247
|
+
bg-surface-0 dark:bg-surface-900
|
|
248
|
+
text-surface-700 dark:text-surface-0
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.p-datatable-column-footer {
|
|
252
|
+
@apply font-semibold
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.p-datatable-sortable-column {
|
|
256
|
+
@apply cursor-pointer select-none focus-visible:outline focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-primary
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.p-datatable-column-title,
|
|
260
|
+
.p-datatable-sort-icon,
|
|
261
|
+
.p-datatable-sort-badge {
|
|
262
|
+
@apply align-middle
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.p-datatable-sort-icon {
|
|
266
|
+
@apply text-surface-500 dark:text-surface-400 transition-colors duration-200
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover {
|
|
270
|
+
@apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon {
|
|
274
|
+
@apply text-surface-600 dark:text-surface-300
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.p-datatable-column-sorted {
|
|
278
|
+
@apply bg-highlight
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.p-datatable-column-sorted .p-datatable-sort-icon {
|
|
282
|
+
@apply bg-highlight
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.p-datatable-hoverable .p-datatable-selectable-row {
|
|
286
|
+
@apply cursor-pointer
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.p-datatable-tbody > tr.p-datatable-dragpoint-top > td {
|
|
290
|
+
@apply shadow-[inset_0_2px_0_0_theme(colors.primary)]
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {
|
|
294
|
+
@apply shadow-[inset_0_-2px_0_0_theme(colors.primary)]
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.p-datatable-loading-icon {
|
|
298
|
+
@apply text-[2rem] w-8 h-8
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.p-datatable-gridlines .p-datatable-header {
|
|
302
|
+
@apply border-t border-x
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.p-datatable-gridlines .p-datatable-footer {
|
|
306
|
+
@apply border-b border-x
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.p-datatable-gridlines .p-datatable-paginator-top {
|
|
310
|
+
@apply border-t border-x
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.p-datatable-gridlines .p-datatable-paginator-bottom {
|
|
314
|
+
@apply border-b border-x
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.p-datatable-gridlines .p-datatable-thead > tr > th {
|
|
318
|
+
@apply border-t border-x last:border
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.p-datatable-gridlines .p-datatable-tbody > tr > td {
|
|
322
|
+
@apply border-t border-s last:border-r
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td {
|
|
326
|
+
@apply border-y border-s last:border
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.p-datatable-gridlines .p-datatable-tfoot > tr > td {
|
|
330
|
+
@apply border-y border-s last:border
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td {
|
|
334
|
+
@apply border-b border-s last:border-r
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td {
|
|
338
|
+
@apply border-b border-s last:border-r
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td {
|
|
342
|
+
@apply border-s last:border-r
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd {
|
|
346
|
+
@apply bg-surface-50 dark:bg-surface-950
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected {
|
|
350
|
+
@apply bg-highlight
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.p-datatable.p-datatable-sm .p-datatable-header {
|
|
354
|
+
@apply py-1 px-2
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.p-datatable.p-datatable-sm .p-datatable-thead > tr > th {
|
|
358
|
+
@apply py-1 px-2
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td {
|
|
362
|
+
@apply py-1 px-2
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td {
|
|
366
|
+
@apply py-1 px-2
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.p-datatable.p-datatable-sm .p-datatable-footer {
|
|
370
|
+
@apply py-1 px-2
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.p-datatable.p-datatable-lg .p-datatable-header {
|
|
374
|
+
@apply py-4 px-5
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.p-datatable.p-datatable-lg .p-datatable-thead > tr > th {
|
|
378
|
+
@apply py-4 px-5
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.p-datatable.p-datatable-lg .p-datatable-tbody>tr>td {
|
|
382
|
+
@apply py-4 px-5
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.p-datatable.p-datatable-lg .p-datatable-tfoot>tr>td {
|
|
386
|
+
@apply py-4 px-5
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.p-datatable.p-datatable-lg .p-datatable-footer {
|
|
390
|
+
@apply py-4 px-5
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.p-datatable-row-toggle-button {
|
|
394
|
+
@apply inline-flex items-center justify-center overflow-hidden relative w-7 h-7 cursor-pointer select-none
|
|
395
|
+
transition-colors duration-200 rounded-full border-none bg-transparent
|
|
396
|
+
text-surface-500 enabled:hover:bg-surface-100 enabled:hover:text-surface-700
|
|
397
|
+
dark:text-surface-400 dark:enabled:hover:bg-surface-800 dark:enabled:hover:text-surface-0
|
|
398
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
399
|
+
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover {
|
|
403
|
+
@apply bg-surface-0 dark:bg-surface-900 text-primary
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.p-datatable-row-toggle-icon:dir(rtl) {
|
|
407
|
+
@apply rotate-180
|
|
408
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import './paginator';
|
|
2
|
+
|
|
3
|
+
.p-dataview {
|
|
4
|
+
@apply border-none
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-dataview-header {
|
|
8
|
+
@apply py-3 px-4 border-b border-surface-200 dark:border-surface-700
|
|
9
|
+
bg-surface-0 dark:bg-surface-900
|
|
10
|
+
text-surface-700 dark:text-surface-0
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-dataview-content {
|
|
14
|
+
@apply bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-dataview-footer {
|
|
18
|
+
@apply py-3 px-4 border-t border-surface-200 dark:border-surface-700
|
|
19
|
+
bg-surface-0 dark:bg-surface-900
|
|
20
|
+
text-surface-700 dark:text-surface-0
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-dataview-paginator-top {
|
|
24
|
+
@apply border-b border-surface-200 dark:border-surface-700
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-dataview-paginator-bottom {
|
|
28
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
29
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
@import './button';
|
|
2
|
+
@import './inputtext';
|
|
3
|
+
|
|
4
|
+
.p-datepicker {
|
|
5
|
+
@apply inline-flex max-w-full
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-datepicker-input {
|
|
9
|
+
@apply flex-auto w-[1%]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-input {
|
|
13
|
+
@apply rounded-e-none
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-datepicker-dropdown {
|
|
17
|
+
@apply inline-flex items-center justify-center overflow-hidden relative cursor-pointer select-none
|
|
18
|
+
w-10 rounded-e-md border border-s-0 border-surface-300 dark:border-surface-700
|
|
19
|
+
bg-surface-100 enabled:hover:bg-surface-200 enabled:active:bg-surface-300
|
|
20
|
+
text-surface-600 enabled:hover:text-surface-700 enabled:active:text-surface-800
|
|
21
|
+
dark:bg-surface-800 dark:enabled:hover:bg-surface-700 dark:enabled:active:bg-surface-600
|
|
22
|
+
dark:text-surface-300 dark:enabled:hover:text-surface-200 dark:enabled:active:text-surface-100
|
|
23
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
24
|
+
transition-colors duration-200
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) {
|
|
28
|
+
@apply relative
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input {
|
|
32
|
+
@apply pe-10
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-datepicker-input-icon-container {
|
|
36
|
+
@apply cursor-pointer absolute top-1/2 end-3 -mt-2 text-surface-400
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-datepicker-fluid {
|
|
40
|
+
@apply flex
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-datepicker-fluid .p-datepicker-input {
|
|
44
|
+
@apply w-[1%]
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-datepicker .p-datepicker-panel {
|
|
48
|
+
@apply min-w-full
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.p-datepicker-panel {
|
|
52
|
+
@apply w-auto p-3 rounded-md
|
|
53
|
+
border border-surface-200 dark:border-surface-700
|
|
54
|
+
bg-surface-0 dark:bg-surface-900
|
|
55
|
+
text-surface-700 dark:text-surface-0
|
|
56
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-datepicker-panel-inline {
|
|
60
|
+
@apply inline-block overflow-x-auto shadow-none
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-datepicker-header {
|
|
64
|
+
@apply flex items-center justify-between pt-0 px-0 pb-2 font-medium gap-2
|
|
65
|
+
bg-surface-0 dark:bg-surface-900
|
|
66
|
+
text-surface-700 dark:text-surface-0
|
|
67
|
+
border-b border-surface-200 dark:border-surface-700
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-datepicker-next-button:dir(rtl) {
|
|
71
|
+
@apply order-[-1]
|
|
72
|
+
}
|
|
73
|
+
.p-datepicker-prev-button:dir(rtl) {
|
|
74
|
+
@apply order-1
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-datepicker-title {
|
|
78
|
+
@apply flex items-center justify-between gap-2 font-medium
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.p-datepicker-select-year,
|
|
82
|
+
.p-datepicker-select-month {
|
|
83
|
+
@apply border-none bg-transparent m-0 cursor-pointer font-medium transition-colors duration-200
|
|
84
|
+
py-1 px-2 rounded-md text-surface-700 dark:text-surface-0
|
|
85
|
+
enabled:hover:bg-surface-100 enabled:hover:text-surface-800
|
|
86
|
+
dark:enabled:hover:bg-surface-800 dark:enabled:hover:text-surface-0
|
|
87
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.p-datepicker-calendar-container {
|
|
91
|
+
@apply flex
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.p-datepicker-calendar-container .p-datepicker-calendar {
|
|
95
|
+
@apply flex-auto border-s border-surface-200 dark:border-surface-700 gap-3
|
|
96
|
+
first:ps-0 first:border-s-0 last:pe-0
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.p-datepicker-day-view {
|
|
100
|
+
@apply w-full border-collapse text-base mt-2 mx-0 mb-0
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.p-datepicker-weekday-cell {
|
|
104
|
+
@apply p-1
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.p-datepicker-weekday {
|
|
108
|
+
@apply font-medium text-surface-700 dark:text-surface-0
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.p-datepicker-day-cell {
|
|
112
|
+
@apply p-1
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.p-datepicker-day {
|
|
116
|
+
@apply flex items-center justify-center cursor-pointer my-0 mx-auto overflow-hidden relative w-8 h-8
|
|
117
|
+
rounded-full p-1 transition-colors duration-200 border border-transparent text-surface-700 dark:text-surface-0
|
|
118
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.p-datepicker-day:not(.p-datepicker-day-selected):not(.p-disabled):hover {
|
|
122
|
+
@apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.p-datepicker-day-selected {
|
|
126
|
+
@apply bg-primary text-primary-contrast
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.p-datepicker-day-selected-range {
|
|
130
|
+
@apply bg-highlight
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.p-datepicker-today > .p-datepicker-day {
|
|
134
|
+
@apply bg-surface-200 text-surface-900 dark:bg-surface-700 dark:text-surface-0
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.p-datepicker-today > .p-datepicker-day-selected {
|
|
138
|
+
@apply bg-primary text-primary-contrast
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.p-datepicker-today > .p-datepicker-day-selected-range {
|
|
142
|
+
@apply bg-highlight
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.p-datepicker-weeknumber {
|
|
146
|
+
@apply text-center
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.p-datepicker-month-view {
|
|
150
|
+
@apply mt-2 mb-0 mx-0
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.p-datepicker-month {
|
|
154
|
+
@apply w-1/3 inline-flex items-center justify-center cursor-pointer overflow-hidden relative
|
|
155
|
+
p-[0.375rem] transition-colors duration-200 rounded-md text-surface-700 dark:text-surface-0
|
|
156
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.p-datepicker-month:not(.p-disabled):not(.p-datepicker-month-selected):hover {
|
|
160
|
+
@apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.p-datepicker-month-selected {
|
|
164
|
+
@apply bg-primary text-primary-contrast
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.p-datepicker-year-view {
|
|
168
|
+
@apply mt-2 mb-0 mx-0
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.p-datepicker-year {
|
|
172
|
+
@apply w-1/2 inline-flex items-center justify-center cursor-pointer overflow-hidden relative
|
|
173
|
+
p-[0.375rem] transition-colors duration-200 rounded-md text-surface-700 dark:text-surface-0
|
|
174
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.p-datepicker-year:not(.p-disabled):not(.p-datepicker-year-selected):hover {
|
|
178
|
+
@apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.p-datepicker-year-selected {
|
|
182
|
+
@apply bg-primary text-primary-contrast
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.p-datepicker-buttonbar {
|
|
186
|
+
@apply flex justify-between items-center pt-2 pb-0 px-0 border-t border-surface-200 dark:border-surface-700
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.p-datepicker-buttonbar .p-button {
|
|
190
|
+
@apply w-auto
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.p-datepicker-time-picker {
|
|
194
|
+
@apply flex items-center justify-center border-t border-surface-200 dark:border-surface-700 p-0 gap-2
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.p-datepicker-calendar-container + .p-datepicker-time-picker {
|
|
198
|
+
@apply pt-2 pb-0 px-0
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.p-datepicker-time-picker > div {
|
|
202
|
+
@apply flex items-center flex-col gap-1
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.p-datepicker-time-picker span {
|
|
206
|
+
@apply text-base
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.p-datepicker-timeonly .p-datepicker-time-picker {
|
|
210
|
+
@apply border-t-0
|
|
211
|
+
}
|