Leon4gr45 commited on
Commit
2de14e8
·
verified ·
1 Parent(s): 256b1e9

Delete assets/css/flatpickr-colors.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. assets/css/flatpickr-colors.css +0 -252
assets/css/flatpickr-colors.css DELETED
@@ -1,252 +0,0 @@
1
- /* stylelint-disable selector-class-pattern */
2
- /* stylelint-disable at-rule-no-unknown */
3
-
4
- /* Because Flatpickr offers zero support for dynamic theming on its own (outside of third-party plugins) */
5
-
6
- /* Calendar container */
7
- .flatpickr-calendar {
8
- @apply w-72 px-2 pt-1 pb-2 rounded-md bg-white dark:bg-gray-800 shadow-lg
9
- ring-1 ring-black/5 dark:ring-gray-750 font-sans;
10
- }
11
-
12
- .flatpickr-calendar.inline {
13
- @apply top-0;
14
- }
15
-
16
- .flatpickr-days,
17
- .flatpickr-days .dayContainer {
18
- @apply w-full min-w-0 max-w-none;
19
- }
20
-
21
- /* Hader */
22
- .flatpickr-months {
23
- @apply relative items-center py-1;
24
- }
25
-
26
- .flatpickr-months .flatpickr-month {
27
- @apply h-8 overflow-visible fill-current text-sm
28
- text-gray-800 dark:text-gray-100;
29
- }
30
-
31
- .flatpickr-months .flatpickr-prev-month,
32
- .flatpickr-months .flatpickr-next-month {
33
- @apply absolute top-1/2 flex size-7 -translate-y-1/2 items-center
34
- justify-center rounded-sm p-0 fill-current
35
- text-gray-500 dark:text-gray-300
36
- hover:bg-gray-100 hover:text-gray-900
37
- dark:hover:bg-gray-700 dark:hover:text-gray-100;
38
- }
39
-
40
- .flatpickr-months .flatpickr-prev-month {
41
- @apply left-1;
42
- }
43
-
44
- .flatpickr-months .flatpickr-next-month {
45
- @apply right-1;
46
- }
47
-
48
- .flatpickr-months .flatpickr-prev-month svg,
49
- .flatpickr-months .flatpickr-next-month svg {
50
- @apply size-2.5;
51
- }
52
-
53
- .flatpickr-months .flatpickr-prev-month svg path,
54
- .flatpickr-months .flatpickr-next-month svg path {
55
- @apply fill-inherit stroke-1 stroke-current;
56
- }
57
-
58
- .flatpickr-months .flatpickr-prev-month:hover svg,
59
- .flatpickr-months .flatpickr-next-month:hover svg {
60
- @apply !fill-current;
61
- }
62
-
63
- .flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
64
- .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
65
- @apply flex text-gray-300 dark:text-gray-500 pointer-events-none;
66
- }
67
-
68
- .flatpickr-current-month {
69
- @apply inline-flex h-8 w-auto -translate-x-1/2 items-center justify-center
70
- gap-1 left-1/2 p-0 text-sm font-medium;
71
- }
72
-
73
- .flatpickr-current-month .flatpickr-monthDropdown-months {
74
- --month-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
75
-
76
- background: transparent var(--month-chevron) no-repeat right 0.5rem center /
77
- 1rem 1rem;
78
-
79
- @apply w-30 m-0 cursor-pointer appearance-none rounded-md border border-gray-300
80
- py-1 pl-2.5 pr-8 font-sans text-sm font-medium text-gray-800 text-inherit
81
- dark:border-gray-600 dark:text-gray-100
82
- focus:outline-none focus:ring-0 focus:ring-offset-0;
83
-
84
- &:hover {
85
- background: transparent var(--month-chevron) no-repeat right 0.5rem center /
86
- 1rem 1rem;
87
- }
88
-
89
- /* Dark-mode chevron: `currentColor` doesn't cascade into a CSS-referenced
90
- SVG, so we swap in a copy with a lighter hex fill. */
91
- &:where(.dark, .dark *) {
92
- --month-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d1d5db'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
93
- }
94
- }
95
-
96
- .flatpickr-current-month
97
- .flatpickr-monthDropdown-months
98
- .flatpickr-monthDropdown-month {
99
- @apply dark:bg-gray-800 dark:text-gray-100;
100
- }
101
-
102
- .flatpickr-current-month .numInputWrapper {
103
- @apply w-18 rounded-md border border-gray-300 dark:border-gray-600 hover:bg-transparent
104
- focus-within:border-indigo-500 focus-within:ring-3 focus-within:ring-indigo-500/20
105
- dark:focus-within:ring-indigo-500/25;
106
- }
107
-
108
- .flatpickr-current-month input.cur-year {
109
- @apply rounded-md px-2.5 py-1 font-sans text-sm font-medium
110
- focus:outline-none focus:ring-0 focus:ring-offset-0;
111
- }
112
-
113
- .flatpickr-current-month input.cur-year[disabled],
114
- .flatpickr-current-month input.cur-year[disabled]:hover {
115
- @apply text-gray-500;
116
- }
117
-
118
- .numInputWrapper span {
119
- @apply w-3.5 border-0 opacity-0 hover:bg-transparent;
120
- }
121
-
122
- .numInputWrapper:hover span {
123
- @apply opacity-100;
124
- }
125
-
126
- .numInputWrapper span.arrowUp {
127
- @apply after:top-[40%] after:!border-b-gray-500 dark:after:!border-b-gray-300;
128
- }
129
-
130
- .numInputWrapper span.arrowDown {
131
- @apply after:top-[30%] after:!border-t-gray-500 dark:after:!border-t-gray-300;
132
- }
133
-
134
- /* Weekday names */
135
- .flatpickr-weekdays {
136
- @apply h-8;
137
- }
138
-
139
- .flatpickr-weekdaycontainer {
140
- @apply gap-0;
141
- }
142
-
143
- span.flatpickr-weekday {
144
- @apply text-xs font-medium normal-case text-gray-400 dark:text-gray-400/75;
145
- }
146
-
147
- /* Day cells */
148
- .flatpickr-day {
149
- @apply mx-0 my-px h-9 max-w-none rounded-md border border-transparent
150
- bg-transparent text-sm font-medium leading-[35px]
151
- text-gray-800 dark:text-gray-100;
152
- }
153
-
154
- .flatpickr-day:hover,
155
- .flatpickr-day:focus,
156
- .flatpickr-day.prevMonthDay:hover,
157
- .flatpickr-day.prevMonthDay:focus,
158
- .flatpickr-day.nextMonthDay:hover,
159
- .flatpickr-day.nextMonthDay:focus {
160
- @apply bg-gray-100 border-gray-100 text-gray-900
161
- dark:bg-gray-700 dark:border-gray-700 dark:text-gray-50;
162
- }
163
-
164
- /* Days outside the current month */
165
- .flatpickr-day.prevMonthDay,
166
- .flatpickr-day.nextMonthDay {
167
- @apply text-gray-400 dark:text-gray-400/75;
168
- }
169
-
170
- /* Disabled days */
171
- .flatpickr-day.flatpickr-disabled,
172
- .flatpickr-day.flatpickr-disabled:hover {
173
- @apply border-transparent bg-transparent text-gray-300 dark:text-gray-500/75;
174
- }
175
-
176
- /* Today dot */
177
- .flatpickr-day.today {
178
- @apply border-transparent bg-transparent
179
- after:content-[''] after:absolute after:bottom-0.5 after:left-1/2
180
- after:size-1 after:-translate-x-1/2 after:rounded-full
181
- after:bg-indigo-500 dark:after:bg-indigo-400;
182
- }
183
-
184
- .flatpickr-day.today:hover,
185
- .flatpickr-day.today:focus {
186
- @apply bg-gray-100 border-gray-100 text-gray-900
187
- dark:bg-gray-700 dark:border-gray-700 dark:text-gray-50;
188
- }
189
-
190
- /* Selected day & range endpoints */
191
- .flatpickr-day.selected,
192
- .flatpickr-day.startRange,
193
- .flatpickr-day.endRange,
194
- .flatpickr-day.selected.inRange,
195
- .flatpickr-day.startRange.inRange,
196
- .flatpickr-day.endRange.inRange,
197
- .flatpickr-day.selected:focus,
198
- .flatpickr-day.startRange:focus,
199
- .flatpickr-day.endRange:focus,
200
- .flatpickr-day.selected.prevMonthDay,
201
- .flatpickr-day.startRange.prevMonthDay,
202
- .flatpickr-day.endRange.prevMonthDay,
203
- .flatpickr-day.selected.nextMonthDay,
204
- .flatpickr-day.startRange.nextMonthDay,
205
- .flatpickr-day.endRange.nextMonthDay {
206
- @apply relative bg-indigo-600 dark:bg-indigo-500 border-indigo-600 dark:border-indigo-500 text-white;
207
- }
208
-
209
- .flatpickr-day.selected:hover,
210
- .flatpickr-day.startRange:hover,
211
- .flatpickr-day.endRange:hover {
212
- @apply bg-indigo-600 border-indigo-600 dark:bg-indigo-500 dark:border-indigo-500 text-white;
213
- }
214
-
215
- .flatpickr-day.today.selected::after,
216
- .flatpickr-day.today.startRange::after,
217
- .flatpickr-day.today.endRange::after,
218
- .flatpickr-day.today.inRange::after {
219
- @apply bg-white;
220
- }
221
-
222
- .flatpickr-day.selected.startRange,
223
- .flatpickr-day.startRange.startRange,
224
- .flatpickr-day.endRange.startRange {
225
- @apply rounded-l-md rounded-r-none;
226
- }
227
-
228
- .flatpickr-day.selected.endRange,
229
- .flatpickr-day.startRange.endRange,
230
- .flatpickr-day.endRange.endRange {
231
- @apply rounded-r-md rounded-l-none;
232
- }
233
-
234
- .flatpickr-day.selected.startRange.endRange,
235
- .flatpickr-day.startRange.startRange.endRange,
236
- .flatpickr-day.endRange.startRange.endRange {
237
- @apply rounded-md;
238
- }
239
-
240
- /* In-range days */
241
- .flatpickr-day.inRange,
242
- .flatpickr-day.prevMonthDay.inRange,
243
- .flatpickr-day.nextMonthDay.inRange {
244
- @apply rounded-none shadow-none border-transparent bg-indigo-50
245
- dark:bg-indigo-500/25 hover:border-transparent;
246
- }
247
-
248
- .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
249
- .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n + 1)),
250
- .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n + 1)) {
251
- @apply shadow-none;
252
- }