real-world-css-libraries 1.0.2 → 1.0.4

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.
Files changed (55) hide show
  1. package/README.md +72 -7
  2. package/index.js +45 -6
  3. package/libs/30days30submits-18-v0.0.0.css +213 -0
  4. package/libs/amoled-cord-v5.0.11.css +894 -0
  5. package/libs/animating-hamburger-icons-v0.1.0.css +618 -0
  6. package/libs/bootplus-v1.0.5.css +6876 -0
  7. package/libs/cleanslate-v0.10.1.css +454 -0
  8. package/libs/colofilter-v0.0.0.css +232 -0
  9. package/libs/enferno-v13.1.1.css +75 -0
  10. package/libs/facebook-buttons-v1.0.0.css +223 -0
  11. package/libs/fileicon-v0.1.1.css +140 -0
  12. package/libs/fluentbird-v1.1.2.css +1060 -0
  13. package/libs/freebies-v0.0.0.css +1110 -0
  14. package/libs/gitweb-theme-v0.0.0.css +764 -0
  15. package/libs/gridism-v0.2.2.css +133 -0
  16. package/libs/holmes-v6.8.12.css +483 -0
  17. package/libs/justified-v0.0.0.css +14 -0
  18. package/libs/kickoff-v8.0.0.css +2267 -0
  19. package/libs/knacss-v8.2.0.css +1141 -0
  20. package/libs/less-framework-v0.0.0.css +168 -0
  21. package/libs/linktree-v0.0.0.css +803 -0
  22. package/libs/littlebox-v0.0.4.css +5833 -0
  23. package/libs/lynx-v1.4.0.css +1587 -0
  24. package/libs/medium.css-v1.0.2.css +287 -0
  25. package/libs/obnoxious-v3.5.2.css +1144 -0
  26. package/libs/obsidian-notebook-themes-v2.2.3.css +272 -0
  27. package/libs/off-canvas-menu-effects-v0.0.0.css +238 -0
  28. package/libs/patternbolt-v0.0.0.css +861 -0
  29. package/libs/progress-tracker-v3.0.0.css +352 -0
  30. package/libs/proxmorph-v2.7.3.css +3952 -0
  31. package/libs/sapc-apca-v0.0.0.css +5546 -0
  32. package/libs/select2-bootstrap-v1.2.5.css +120 -0
  33. package/libs/shina-fox-v0.1.0.css +1194 -0
  34. package/libs/simptip-v1.0.4.css +447 -0
  35. package/libs/social-signin-buttons-v0.0.0.css +387 -0
  36. package/libs/spicetify-bloom-v0.0.0.css +2725 -0
  37. package/libs/stackoverflow-dark-v5.1.2.css +4962 -0
  38. package/libs/swagger-ui-themes-2-v2.1.0.css +1730 -0
  39. package/libs/swagger-ui-themes-3-v3.0.1.css +1793 -0
  40. package/libs/tailwind-cards-v0.0.0.css +215592 -0
  41. package/libs/the-50-front-end-project-44-v0.0.0.css +459 -0
  42. package/libs/tocas-v5.7.0.css +19928 -0
  43. package/libs/utility-opentype-v0.1.4.css +515 -0
  44. package/libs/vim-css3-syntax-v2.10.0.css +1642 -0
  45. package/libs/waffle-grid-v1.3.6.css +544 -0
  46. package/libs/wenk-v1.0.8.css +126 -0
  47. package/libs/wikipedia-dark-v3.7.9.css +9990 -0
  48. package/libs/windows-95-v0.0.0.css +393 -0
  49. package/libs/woah-v1.3.1.css +1025 -0
  50. package/libs/yacy-v4.1.2.css +677 -0
  51. package/libs/yue-v1.1.1.css +180 -0
  52. package/package.json +3 -3
  53. package/test.js +3 -4
  54. /package/libs/{bootstrap-v4.6.2.css → bootstrap-4-v4.6.2.css} +0 -0
  55. /package/libs/{bootstrap-v5.3.8.css → bootstrap-5-v5.3.8.css} +0 -0
@@ -0,0 +1,352 @@
1
+ /* https://github.com/NigelOToole/progress-tracker/blob/master/src/styles/progress-tracker.css */
2
+ .progress-tracker {
3
+ --marker-size: 32px;
4
+ --marker-size-block: 32px;
5
+ --marker-size-inline: var(--marker-size-block);
6
+ --marker-size-half: calc(var(--marker-size-block) * 0.5);
7
+ --marker-spacing: 0px;
8
+
9
+ --marker-bg: #999;
10
+ --marker-bg-active: #0034a3;
11
+ --marker-bg-complete: #0157ff;
12
+ --marker-bg-hover: #3f7eff;
13
+
14
+ --marker-color: #fff;
15
+
16
+
17
+ --path-size-block: 4px;
18
+ --path-size-inline: calc(100% - (var(--marker-size-inline) + (var(--marker-spacing) * 2)));
19
+ --path-position-block: calc(var(--marker-size-half) - (var(--path-size-block) * 0.5));
20
+ --path-position-inline: calc(var(--marker-size-inline) + var(--marker-spacing));
21
+
22
+ --path-bg: #999;
23
+ --path-bg-active: #999;
24
+ --path-bg-complete: #0157ff;
25
+
26
+
27
+ --text-color: #0034a3;
28
+ --text-color-hover: #0157ff;
29
+
30
+ --animation-duration: 0.3s;
31
+
32
+ display: flex;
33
+ margin: 0;
34
+ padding: 0;
35
+ list-style: none;
36
+ counter-reset: step;
37
+ }
38
+
39
+ .progress-step {
40
+ position: relative;
41
+ display: flex;
42
+ flex-direction: column;
43
+ flex: 1 1 0%;
44
+ margin: 0;
45
+ padding: 0;
46
+ }
47
+
48
+ .progress-step:last-child:not(:has(.progress-text)) {
49
+ flex-grow: 0;
50
+ }
51
+
52
+ /* Marker shape */
53
+
54
+ .progress-step::before {
55
+ --bg: var(--marker-bg);
56
+ --color: var(--marker-color);
57
+
58
+ content: "";
59
+ position: relative;
60
+ z-index: 20;
61
+ flex-shrink: 0;
62
+ display: flex;
63
+ justify-content: center;
64
+ align-items: center;
65
+ width: var(--marker-size-inline);
66
+ height: var(--marker-size-block);
67
+ border-radius: 50%;
68
+ color: var(--color);
69
+ background-color: var(--bg);
70
+
71
+ transition: background-color, border-color;
72
+ transition-duration: var(--animation-duration);
73
+ }
74
+
75
+ /* Marker path */
76
+
77
+ .progress-step::after {
78
+ --bg: var(--path-bg);
79
+ }
80
+
81
+ .progress-step:not(:last-child)::after {
82
+ content: "";
83
+ display: block;
84
+ position: absolute;
85
+ order: -1;
86
+ top: var(--path-position-block);
87
+ left: var(--path-position-inline);
88
+ width: var(--path-size-inline);
89
+ height: var(--path-size-block);
90
+ background-color: var(--bg);
91
+ transition: background-color, background-position;
92
+ transition-duration: var(--animation-duration);
93
+ }
94
+
95
+ .progress-text {
96
+ padding: 8px;
97
+ overflow: hidden;
98
+ color: var(--text-color);
99
+ text-overflow: ellipsis;
100
+ }
101
+
102
+ .progress-text > * + * {
103
+ margin-top: 4px;
104
+ }
105
+
106
+ .progress-text:where(a, button) {
107
+ -webkit-text-decoration: none;
108
+ text-decoration: none;
109
+ text-align: inherit;
110
+ line-height: inherit;
111
+ color: inherit;
112
+ background: none;
113
+ border: none;
114
+ }
115
+
116
+ .progress-text:where(a, button):hover {
117
+ cursor: pointer;
118
+ color: var(--text-color-hover);
119
+ }
120
+
121
+ .progress-text:where(a, button):focus {
122
+ cursor: pointer;
123
+ color: var(--text-color-hover);
124
+ }
125
+
126
+ .progress-title {
127
+ font-size: 1.5rem;
128
+ }
129
+
130
+ /* States */
131
+
132
+ .progress-step.is-active::before {
133
+ --bg: var(--marker-bg-active);
134
+ }
135
+
136
+ .progress-step.is-active::after {
137
+ --bg: var(--path-bg-active);
138
+ }
139
+
140
+ .progress-step.is-complete::before {
141
+ --bg: var(--marker-bg-complete);
142
+ }
143
+
144
+ .progress-step.is-complete::after {
145
+ --bg: var(--path-bg-complete);
146
+ }
147
+
148
+ .progress-step:not(.is-active):has(.progress-text:where(a, button)):hover::before {
149
+ --bg: var(--marker-bg-hover);
150
+ }
151
+
152
+ .progress-step:not(.is-active):has(.progress-text:where(a, button)):focus::before {
153
+ --bg: var(--marker-bg-hover);
154
+ }
155
+
156
+ /* Alignment */
157
+
158
+ .progress-tracker--center {
159
+ --path-position-inline: calc(50% + (var(--marker-size-inline) / 2) + var(--marker-spacing));
160
+
161
+ text-align: center;
162
+ }
163
+
164
+ .progress-tracker--center:not(.progress-tracker--vertical) .progress-step::before {
165
+ margin-left: auto;
166
+ margin-right: auto;
167
+ }
168
+
169
+ .progress-tracker--center.progress-tracker--vertical {
170
+ max-width: 240px;
171
+ margin-left: auto;
172
+ margin-right: auto;
173
+ }
174
+
175
+ .progress-tracker--end {
176
+ --path-position-inline: calc(100% + var(--marker-spacing));
177
+
178
+ text-align: right;
179
+ }
180
+
181
+ .progress-tracker--end:not(.progress-tracker--vertical) .progress-step::before {
182
+ margin-left: auto;
183
+ }
184
+
185
+ .progress-tracker--end.progress-tracker--vertical .progress-step {
186
+ flex-direction: row-reverse;
187
+ }
188
+
189
+ .progress-tracker--end.progress-tracker--vertical .progress-step::after {
190
+ left: auto;
191
+ right: var(--path-position-block);
192
+ }
193
+
194
+ .progress-tracker--reverse:not(.progress-tracker--vertical) .progress-step::after {
195
+ top: auto;
196
+ bottom: var(--path-position-block);
197
+ }
198
+
199
+ .progress-tracker--reverse.progress-tracker--marker-square .progress-step::after {
200
+ top: auto;
201
+ bottom: 0;
202
+ }
203
+
204
+ .progress-tracker--reverse .progress-text {
205
+ order: -1;
206
+ flex-grow: 1;
207
+ }
208
+
209
+ /* Variants */
210
+
211
+ .progress-tracker--marker-counter .progress-step::before {
212
+ content: counter(step);
213
+ counter-increment: step;
214
+ }
215
+
216
+ .progress-tracker--marker-dataset .progress-step::before {
217
+ content: attr(data-text);
218
+ content: attr(data-text, "");
219
+ }
220
+
221
+ .progress-tracker--dashed, .progress-tracker--dashed-even {
222
+ --path-dash-size: 8px;
223
+ --path-dash-count: 0;
224
+ --path-dash-calc: var(--path-dash-size);
225
+ --path-direction: right;
226
+ --marker-spacing: 8px;
227
+ }
228
+
229
+ .progress-tracker--dashed .progress-step:not(:last-child)::after, .progress-tracker--dashed-even .progress-step:not(:last-child)::after {
230
+ background: repeating-linear-gradient(to var(--path-direction), var(--bg) 0px var(--path-dash-calc), transparent var(--path-dash-calc) calc(var(--path-dash-calc)*2));
231
+ }
232
+
233
+ .progress-tracker--dashed.progress-tracker--vertical, .progress-tracker--dashed-even.progress-tracker--vertical {
234
+ --path-direction: bottom;
235
+ }
236
+
237
+ .progress-tracker--dashed-even {
238
+ --path-dash-size: 0px;
239
+ --path-dash-count: 4;
240
+ --path-dash-percent: calc(100% / (var(--path-dash-count) + (var(--path-dash-count) - 1)));
241
+ --path-dash-calc: calc(100% / (var(--path-dash-count) + (var(--path-dash-count) - 1)));
242
+ --path-dash-calc: var(--path-dash-percent);
243
+ --marker-spacing: 0px;
244
+ }
245
+
246
+ @supports (height: round(up, 100.1px, 1px)) {
247
+
248
+ .progress-tracker--dashed-even {
249
+ --path-dash-calc: round(up, var(--path-dash-percent), .5px);
250
+ }
251
+ }
252
+
253
+ .progress-tracker--spaced {
254
+ --marker-spacing: 8px;
255
+ }
256
+
257
+ .progress-tracker--marker-square {
258
+ --marker-size-block: 24px;
259
+ --marker-size-inline: 4px;
260
+ --path-position-block: calc(var(--marker-size-block) - var(--path-size-block));
261
+ }
262
+
263
+ .progress-tracker--marker-square .progress-step::before {
264
+ border-radius: 0;
265
+ }
266
+
267
+ .progress-tracker--marker-square.progress-tracker--vertical {
268
+ --marker-size-inline: 24px;
269
+ --marker-size-block: 4px;
270
+ --path-size-inline: calc(100% - (var(--marker-spacing) * 2));
271
+ }
272
+
273
+ .progress-tracker--anim .progress-step.is-active:not(:last-child)::after, .progress-tracker--anim .progress-step.is-complete:not(:last-child)::after {
274
+ background-image: linear-gradient(to right, var(--path-bg-active) 50%, var(--path-bg-complete) 50%);
275
+ background-size: 200% 100%;
276
+ background-position: 0% 100%;
277
+ }
278
+
279
+ .progress-tracker--anim .progress-step.is-complete:not(:last-child)::after {
280
+ background-position: -100% 100%;
281
+ }
282
+
283
+ .progress-tracker--anim.progress-tracker--vertical .progress-step.is-active:not(:last-child)::after, .progress-tracker--anim.progress-tracker--vertical .progress-step.is-complete:not(:last-child)::after {
284
+ background-image: linear-gradient(to bottom, var(--path-bg-active) 50%, var(--path-bg-complete) 50%);
285
+ background-size: 100% 200%;
286
+ background-position: 100% 0%;
287
+ }
288
+
289
+ .progress-tracker--anim.progress-tracker--vertical .progress-step.is-complete:not(:last-child)::after {
290
+ background-position: 100% -100%;
291
+ }
292
+
293
+ .progress-tracker--inline {
294
+ overflow: auto;
295
+ }
296
+
297
+ .progress-tracker--inline .progress-step {
298
+ align-items: center;
299
+ flex-direction: row;
300
+ min-width: -moz-fit-content;
301
+ min-width: fit-content;
302
+ }
303
+
304
+ .progress-tracker--inline .progress-step::before {
305
+ flex-shrink: 0;
306
+ order: 2;
307
+ }
308
+
309
+ .progress-tracker--inline .progress-step::after {
310
+ position: relative;
311
+ top: auto;
312
+ left: 0;
313
+ order: 3;
314
+ }
315
+
316
+ .progress-tracker--inline .progress-text {
317
+ flex: 0 0 auto;
318
+ padding: 8px 12px;
319
+ }
320
+
321
+ .progress-tracker--inline .progress-text:has(*:nth-child(2)) {
322
+ flex-basis: min-content;
323
+ }
324
+
325
+ .progress-tracker--inline:not(.progress-tracker--inline-text-end) .progress-step:first-child .progress-text {
326
+ padding-left: 0;
327
+ }
328
+
329
+ .progress-tracker--inline-text-end .progress-text {
330
+ order: 2;
331
+ }
332
+
333
+ .progress-tracker--vertical {
334
+ flex-direction: column;
335
+ }
336
+
337
+ .progress-tracker--vertical .progress-step {
338
+ flex-direction: row;
339
+ }
340
+
341
+ .progress-tracker--vertical .progress-step::after {
342
+ top: calc(var(--marker-size-block) + var(--marker-spacing));
343
+ left: var(--path-position-block);
344
+ width: var(--path-size-block);
345
+ height: var(--path-size-inline);
346
+ }
347
+
348
+ .progress-tracker--vertical .progress-text {
349
+ flex-grow: 1;
350
+ padding-top: 4px;
351
+ padding-bottom: 12px;
352
+ }