space-router 0.9.4 → 1.0.0

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 (62) hide show
  1. package/README.md +1 -0
  2. package/dist/history.d.ts +12 -0
  3. package/dist/history.js +98 -0
  4. package/dist/index.d.ts +6 -0
  5. package/dist/index.js +3 -0
  6. package/dist/match.d.ts +16 -0
  7. package/dist/match.js +68 -0
  8. package/dist/qs.d.ts +5 -0
  9. package/dist/qs.js +27 -0
  10. package/dist/router.d.ts +42 -0
  11. package/dist/router.js +131 -0
  12. package/package.json +30 -31
  13. package/src/history.ts +116 -0
  14. package/src/index.ts +7 -0
  15. package/src/match.ts +88 -0
  16. package/src/qs.ts +33 -0
  17. package/src/router.ts +197 -0
  18. package/.prettierignore +0 -5
  19. package/.prettierrc +0 -6
  20. package/.swc-cjs +0 -11
  21. package/.swc-esm +0 -1
  22. package/CHANGELOG.md +0 -64
  23. package/dist/cjs/history.js +0 -96
  24. package/dist/cjs/index.js +0 -27
  25. package/dist/cjs/match.js +0 -94
  26. package/dist/cjs/qs.js +0 -27
  27. package/dist/cjs/router.js +0 -270
  28. package/dist/esm/history.js +0 -86
  29. package/dist/esm/index.js +0 -3
  30. package/dist/esm/match.js +0 -76
  31. package/dist/esm/qs.js +0 -17
  32. package/dist/esm/router.js +0 -249
  33. package/docs/archetypes/default.md +0 -7
  34. package/docs/assets/js/bg.js +0 -742
  35. package/docs/assets/styles/base.scss +0 -2816
  36. package/docs/assets/styles/main.scss +0 -1368
  37. package/docs/assets/styles/syntax-m.scss +0 -264
  38. package/docs/assets/styles/syntax.scss +0 -240
  39. package/docs/config.toml +0 -9
  40. package/docs/content/_index.md +0 -189
  41. package/docs/layouts/404.html +0 -0
  42. package/docs/layouts/_default/baseof.html +0 -68
  43. package/docs/layouts/index.html +0 -31
  44. package/docs/layouts/partials/favicon.html +0 -5
  45. package/docs/layouts/partials/header.html +0 -0
  46. package/docs/layouts/partials/meta/name-author.html +0 -6
  47. package/docs/layouts/partials/meta/ogimage.html +0 -8
  48. package/docs/layouts/partials/site-verification.html +0 -12
  49. package/docs/layouts/shortcodes/callout.html +0 -1
  50. package/docs/static/js/highlightjs-9.15.10.min.js +0 -2
  51. package/docs/static/js/master.js +0 -0
  52. package/docs/static/js/tocbot.min.js +0 -18
  53. package/docs/static/space.png +0 -0
  54. package/src/history.js +0 -93
  55. package/src/index.js +0 -3
  56. package/src/match.js +0 -87
  57. package/src/qs.js +0 -20
  58. package/src/router.js +0 -147
  59. package/tasks/build.js +0 -16
  60. package/test/flatten.test.js +0 -58
  61. package/test/match.test.js +0 -68
  62. package/test/router.test.js +0 -157
@@ -1,1368 +0,0 @@
1
- $sidebar-width: 300px;
2
- $gray: #e3e8ee;
3
- $sp0: 0;
4
- $sp2: 2px;
5
- $sp4: 4px;
6
- $sp8: 8px;
7
- $sp12: 12px;
8
- $sp16: 16px;
9
- $sp20: 20px;
10
- $sp24: 24px;
11
- $sp32: 32px;
12
- $sp48: 48px;
13
- $sp64: 64px;
14
-
15
- body {
16
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif,
17
- 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
18
- }
19
-
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6 {
26
- color: #222;
27
- font-family: 'Vollkorn', sans-serif;
28
- font-weight: 700;
29
- }
30
-
31
- h1 {
32
- margin-top: 60px;
33
- margin-bottom: 20px;
34
- }
35
-
36
- .form-centered {
37
- max-width: 400px;
38
- margin: auto;
39
- margin-bottom: 140px;
40
- }
41
-
42
- .form-subscribe {
43
- text-align: center;
44
- border-radius: 4px;
45
- border: 3px dashed rgba(0, 0, 0, 0.1);
46
- padding: 64px 40px;
47
- margin-bottom: 24px;
48
- }
49
- .form-subscribe h4 {
50
- margin-bottom: 0;
51
- }
52
- .form-subscribe p {
53
- color: rgba(0, 0, 0, 0.5);
54
- margin-bottom: 20px;
55
- }
56
- .form-subscribe form {
57
- max-width: 400px;
58
- margin: auto;
59
- }
60
- .form-subscribe #form-subscribe-success {
61
- max-width: 500px;
62
- margin: auto;
63
- font-size: 18px;
64
- line-height: 28px;
65
- }
66
- .form-subscribe #subscribe-email-validation-error {
67
- margin-bottom: 8px;
68
- font-size: 15px;
69
- }
70
- .form-subscribe .form-subscribe-twitter div {
71
- margin: 24px 0;
72
- font-size: 20px;
73
- color: rgba(0, 0, 0, 0.3);
74
- }
75
- .form-subscribe .form-subscribe-twitter a {
76
- display: inline-block;
77
- padding-left: 21px;
78
- background: url('/img/common/icon-twitter.png') no-repeat left 4px;
79
- }
80
-
81
- #toggle-form-subscribe {
82
- text-align: center;
83
- margin-bottom: 20px;
84
- font-size: 15px;
85
- margin-top: -20px;
86
- }
87
-
88
- #nav-toggle-box {
89
- display: flex;
90
- align-items: center;
91
- padding: 8px 16px;
92
- }
93
-
94
- #nav-toggle {
95
- margin-left: auto;
96
- color: #000;
97
- text-decoration: none;
98
- padding: 2px 8px;
99
- }
100
-
101
- #nav-toggle-brand {
102
- position: relative;
103
- top: -1px;
104
- }
105
-
106
- #nav-toggle-brand a,
107
- #nav-toggle-brand span {
108
- color: #000;
109
- font-weight: bold;
110
- text-decoration: none;
111
- }
112
-
113
- #hero {
114
- max-width: 680px;
115
- margin: 24px 60px;
116
- }
117
- #hero h1 {
118
- margin-bottom: 12px;
119
- font-size: 36px;
120
- line-height: 1.5;
121
- font-weight: 900;
122
- margin-top: 0;
123
- }
124
- #hero p {
125
- max-width: 740px;
126
- margin: auto;
127
- font-size: 21px;
128
- line-height: 32px;
129
- color: rgba(0, 0, 0, 0.5);
130
- margin-top: 28px;
131
- padding-top: 28px;
132
- margin-bottom: 0;
133
- position: relative;
134
- }
135
- #hero p a {
136
- color: #000;
137
- }
138
- #hero p a:hover {
139
- color: rgba(0, 0, 0, 0.6);
140
- }
141
- #hero .hero-lead {
142
- border-top: 1px solid #dedede;
143
- }
144
-
145
- #intro {
146
- margin-top: 56px;
147
- margin-bottom: 140px;
148
- text-align: center;
149
- position: relative;
150
- }
151
- #intro:before {
152
- position: absolute;
153
- content: '';
154
- width: 40px;
155
- height: 3px;
156
- top: -68px;
157
- left: 50%;
158
- margin-left: -20px;
159
- background: #ff3366;
160
- }
161
- #intro h6 {
162
- color: rgba(0, 0, 0, 0.5);
163
- font-weight: normal;
164
- }
165
- #intro h2 {
166
- font-weight: 900;
167
- }
168
- #intro h2 a {
169
- color: #3794de;
170
- text-decoration: none;
171
- }
172
- #intro h2 a:hover {
173
- -moz-transition: all linear 0.2s;
174
- transition: all linear 0.2s;
175
- color: #000;
176
- text-decoration: underline;
177
- }
178
- #intro p {
179
- font-size: 15px;
180
- margin: auto;
181
- padding: 0 20px;
182
- }
183
- @media (max-width: 768px) {
184
- #intro .col {
185
- margin-bottom: 48px;
186
- }
187
- }
188
-
189
- #action-buttons {
190
- margin-bottom: 64px;
191
- text-align: center;
192
- }
193
- #action-buttons button,
194
- #action-buttons .button {
195
- margin: 0 4px;
196
- }
197
- #action-buttons p {
198
- margin: 0;
199
- margin-top: 20px;
200
- font-size: 13px;
201
- line-height: 20px;
202
- color: rgba(0, 0, 0, 0.5);
203
- }
204
-
205
- #TOC {
206
- padding: 32px;
207
- margin-top: 24px;
208
-
209
- @media (min-width: 768px) {
210
- color: rgb(26, 26, 26);
211
- color: #ccc;
212
- position: fixed;
213
- margin-left: 0px;
214
- padding: 40px;
215
- padding-top: 20px;
216
- top: 0;
217
- left: 0;
218
- bottom: 0;
219
- width: $sidebar-width;
220
- font-size: 14px;
221
- // background: #f6f6f6;
222
- // border-right: 1px solid lighten(#fe7d7d, 20%);
223
- overflow: auto;
224
- }
225
-
226
- @media (min-height: 980px) {
227
- padding-top: 100px;
228
- // font-size: 16px;
229
- }
230
- }
231
- #TOC ul {
232
- margin: 0;
233
- list-style: none;
234
- }
235
- #TOC ul ul {
236
- margin: 0;
237
- margin-top: 12px;
238
- }
239
- #TOC ul {
240
- list-style: none;
241
- margin: 0;
242
- }
243
- #TOC li {
244
- line-height: 26px;
245
- }
246
- #TOC li:last-child {
247
- border-bottom: none;
248
- }
249
- #TOC a {
250
- display: block;
251
- text-decoration: none;
252
- position: relative;
253
- padding-left: 12px;
254
- color: #1e1e1e;
255
- }
256
- #TOC a:hover {
257
- -moz-transition: all linear 0.2s;
258
- transition: all linear 0.2s;
259
- color: #000;
260
- text-decoration: underline;
261
- }
262
-
263
- #TOC > nav > ul > li > a {
264
- font-size: 20px;
265
- font-weight: 500;
266
- margin-top: 12px;
267
- }
268
-
269
- #main {
270
- padding-left: $sidebar-width;
271
- }
272
-
273
- body.docs #main,
274
- body.grafs-index #main,
275
- body.page-redactor-index #main {
276
- max-width: none;
277
- }
278
-
279
- body.grafs-index #footer,
280
- body.page-redactor-index #footer {
281
- margin-top: 0;
282
- }
283
-
284
- body.docs #top {
285
- margin-bottom: 0;
286
- }
287
-
288
- body.page-account #hero {
289
- padding: 0;
290
- }
291
- body.page-account #hero h1 {
292
- font-size: 32px;
293
- line-height: 32px;
294
- margin-bottom: 48px;
295
- }
296
-
297
- .content {
298
- max-width: 880px;
299
-
300
- @media (min-width: 768px) {
301
- margin: 60px 40px;
302
- padding: 40px;
303
- }
304
-
305
- background: rgba(255, 255, 255, 0.94);
306
- border-radius: 12px;
307
- }
308
-
309
- #redactor-intro-box {
310
- max-width: 920px;
311
- margin: auto;
312
- margin-bottom: 48px;
313
- }
314
-
315
- #redactor-features {
316
- text-align: center;
317
- margin: 136px auto;
318
- max-width: 1128px;
319
- }
320
-
321
- #redactor-features h3 {
322
- font-size: 21px;
323
- margin-top: 0;
324
- margin-bottom: 4px;
325
- }
326
-
327
- #redactor-features p {
328
- color: rgba(0, 0, 0, 0.5);
329
- }
330
-
331
- #redactor-buying-desc {
332
- max-width: 720px;
333
- margin: auto;
334
- margin-top: 40px;
335
- font-size: 13px;
336
- line-height: 20px;
337
- }
338
-
339
- #redactor-buying-desc p {
340
- color: rgba(0, 0, 0, 0.5);
341
- }
342
-
343
- #redactor-buy-box {
344
- text-align: center;
345
- margin: 116px auto;
346
- max-width: 1128px;
347
- }
348
-
349
- #redactor-cloud {
350
- text-align: center;
351
- margin: 116px auto;
352
- max-width: 1128px;
353
- }
354
- #redactor-cloud h2 {
355
- font-size: 48px;
356
- line-height: 56px;
357
- margin-bottom: 36px;
358
- color: rgba(0, 0, 0, 0.15);
359
- }
360
- #redactor-cloud ul {
361
- margin: 0;
362
- list-style: none;
363
- }
364
- #redactor-cloud li {
365
- list-style: none;
366
- display: inline;
367
- line-height: 44px;
368
- margin: 0 12px;
369
- white-space: nowrap;
370
- }
371
- #redactor-cloud li:nth-child(3n) {
372
- font-size: 1.25em;
373
- color: #666;
374
- }
375
- #redactor-cloud li:nth-child(4n) {
376
- font-size: 1.5em;
377
- color: #333;
378
- }
379
- #redactor-cloud li:nth-child(5n) {
380
- font-size: 1em;
381
- color: #999;
382
- }
383
- #redactor-cloud li:nth-child(7n) {
384
- font-size: 2.25em;
385
- }
386
- @media (max-width: 768px) {
387
- #redactor-cloud {
388
- display: none;
389
- }
390
- }
391
-
392
- #redactor-discover {
393
- text-align: center;
394
- background: #f8f8f8;
395
- padding-bottom: 96px;
396
- }
397
- #redactor-discover #redactor-discover-box {
398
- max-width: 1128px;
399
- margin: auto;
400
- }
401
- #redactor-discover h3 {
402
- font-size: 24px;
403
- line-height: 32px;
404
- text-align: center;
405
- font-weight: 900;
406
- padding: 40px 0;
407
- margin-bottom: 60px;
408
- color: rgba(0, 0, 0, 0.25);
409
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
410
- }
411
- #redactor-discover h4 {
412
- margin-top: 0;
413
- }
414
- #redactor-discover h4 a {
415
- font-size: 21px;
416
- color: #000;
417
- }
418
- #redactor-discover h4 a:hover {
419
- -moz-transition: all linear 0.2s;
420
- transition: all linear 0.2s;
421
- color: rgba(0, 0, 0, 0.5);
422
- }
423
- #redactor-discover figure {
424
- margin-bottom: 0;
425
- }
426
- #redactor-discover .col {
427
- max-width: 340px;
428
- }
429
- #redactor-discover p {
430
- font-size: 14px;
431
- line-height: 20px;
432
- color: rgba(0, 0, 0, 0.5);
433
- }
434
- @media (max-width: 768px) {
435
- #redactor-discover .col {
436
- max-width: none;
437
- }
438
- #redactor-discover p {
439
- padding: 0 24px;
440
- }
441
- }
442
-
443
- #grafs-matrix-box {
444
- padding: 0 20px;
445
- max-width: 1128px;
446
- margin: auto;
447
- margin-bottom: 80px;
448
- }
449
- #grafs-matrix-box .item {
450
- padding-top: 72px;
451
- text-align: center;
452
- }
453
- #grafs-matrix-box .item.first {
454
- padding-top: 24px;
455
- }
456
- #grafs-matrix-box h5 {
457
- font-size: 17px;
458
- line-height: 24px;
459
- margin-bottom: 8px;
460
- }
461
- #grafs-matrix-box p {
462
- max-width: 340px;
463
- margin: auto;
464
- margin-bottom: 32px;
465
- font-size: 13px;
466
- line-height: 20px;
467
- color: rgba(0, 0, 0, 0.7);
468
- }
469
- #grafs-matrix-box .row p {
470
- max-width: 280px;
471
- margin-bottom: 40px;
472
- }
473
-
474
- #grafs-buy-box {
475
- padding: 0 20px;
476
- padding-bottom: 104px;
477
- max-width: 1128px;
478
- margin: auto;
479
- margin-top: 128px;
480
- text-align: center;
481
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
482
- }
483
- #grafs-buy-box h2 {
484
- font-size: 30px;
485
- line-height: 40px;
486
- font-weight: 900;
487
- margin-bottom: 72px;
488
- }
489
- #grafs-buy-box .button {
490
- height: 60px;
491
- padding-top: 20px;
492
- padding-left: 36px;
493
- padding-right: 36px;
494
- font-size: 19px;
495
- font-weight: 500;
496
- }
497
- #grafs-buy-box p.desc {
498
- font-size: 13px;
499
- line-height: 20px;
500
- color: rgba(0, 0, 0, 0.6);
501
- }
502
-
503
- #grafs-features {
504
- text-align: center;
505
- max-width: 1128px;
506
- margin: 88px auto 104px auto;
507
- padding: 0 20px;
508
- }
509
- #grafs-features figure {
510
- margin-bottom: 0;
511
- }
512
- #grafs-features h3 {
513
- margin-top: 0;
514
- font-size: 21px;
515
- line-height: 32px;
516
- }
517
- #grafs-features p {
518
- font-size: 15px;
519
- color: rgba(0, 0, 0, 0.7);
520
- }
521
-
522
- #grafs-discover {
523
- text-align: center;
524
- background: #f8f8f8;
525
- padding-bottom: 96px;
526
- }
527
- #grafs-discover #grafs-discover-box {
528
- max-width: 800px;
529
- margin: auto;
530
- }
531
- #grafs-discover h3 {
532
- font-size: 24px;
533
- line-height: 32px;
534
- text-align: center;
535
- font-weight: 900;
536
- padding: 40px 0;
537
- margin-bottom: 60px;
538
- color: rgba(0, 0, 0, 0.25);
539
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
540
- }
541
- #grafs-discover h4 {
542
- margin-top: 0;
543
- }
544
- #grafs-discover h4 a {
545
- font-size: 21px;
546
- color: #000;
547
- }
548
- #grafs-discover h4 a:hover {
549
- -moz-transition: all linear 0.2s;
550
- transition: all linear 0.2s;
551
- color: rgba(0, 0, 0, 0.5);
552
- }
553
- #grafs-discover figure {
554
- margin-bottom: 0;
555
- }
556
- #grafs-discover .col {
557
- max-width: 280px;
558
- }
559
- #grafs-discover p {
560
- font-size: 14px;
561
- line-height: 20px;
562
- color: rgba(0, 0, 0, 0.5);
563
- }
564
- @media (max-width: 768px) {
565
- #grafs-discover .col {
566
- max-width: none;
567
- }
568
- #grafs-discover p {
569
- padding: 0 24px;
570
- }
571
- }
572
-
573
- .grafs-examples-row {
574
- display: flex;
575
- justify-content: center;
576
- flex-wrap: wrap;
577
- margin-bottom: 40px;
578
- }
579
-
580
- .grafs-examples-col {
581
- border-radius: 3px;
582
- background: #f8f8f8;
583
- padding: 32px;
584
- padding-bottom: 56px;
585
- width: 300px;
586
- margin: 0 16px;
587
- margin-bottom: 24px;
588
- }
589
- .grafs-examples-col figure {
590
- margin-bottom: 0;
591
- }
592
- .grafs-examples-col h4 {
593
- font-size: 17px;
594
- line-height: 28px;
595
- margin-top: 0;
596
- }
597
- .grafs-examples-col ul {
598
- list-style: none;
599
- margin: 0;
600
- }
601
- .grafs-examples-col ul li {
602
- font-size: 15px;
603
- line-height: 36px;
604
- }
605
- .grafs-examples-col ul a {
606
- display: block;
607
- color: #3794de;
608
- text-decoration: none;
609
- }
610
- .grafs-examples-col ul a:hover {
611
- -moz-transition: all linear 0.2s;
612
- transition: all linear 0.2s;
613
- color: #000;
614
- text-decoration: underline;
615
- }
616
-
617
- #grafs-example-header,
618
- #grafs-example-content {
619
- max-width: 900px;
620
- margin: auto;
621
- }
622
-
623
- #grafs-example-header {
624
- margin-top: 72px;
625
- margin-bottom: 44px;
626
- text-align: center;
627
- }
628
- #grafs-example-header .tag {
629
- font-size: 13px;
630
- line-height: 24px;
631
- text-transform: uppercase;
632
- color: rgba(0, 0, 0, 0.5);
633
- margin-bottom: 8px;
634
- }
635
- #grafs-example-header .tag a {
636
- color: rgba(0, 0, 0, 0.6);
637
- }
638
- #grafs-example-header .tag a:hover {
639
- -moz-transition: all linear 0.2s;
640
- transition: all linear 0.2s;
641
- color: #000;
642
- }
643
- #grafs-example-header h1 {
644
- font-size: 48px;
645
- line-height: 52px;
646
- font-weight: 900;
647
- }
648
-
649
- #path {
650
- font-size: 15px;
651
- margin-bottom: 12px;
652
- }
653
- #path a {
654
- color: #3794de;
655
- }
656
- #path a:hover {
657
- color: #000;
658
- }
659
- #path span {
660
- color: rgba(0, 0, 0, 0.2);
661
- font-size: 15px;
662
- display: inline-block;
663
- margin: 0 6px;
664
- }
665
- #path b {
666
- font-weight: 500;
667
- color: rgba(0, 0, 0, 0.4);
668
- }
669
-
670
- #docs-main {
671
- display: flex;
672
- }
673
- #docs-main #side {
674
- width: 24%;
675
- padding: 28px 36px;
676
- border-right: 1px solid rgba(0, 0, 0, 0.1);
677
- }
678
- #docs-main #side nav li {
679
- font-size: 15px;
680
- line-height: 40px;
681
- }
682
- #docs-main #side nav li a {
683
- display: block;
684
- color: #707070;
685
- text-decoration: none;
686
- }
687
- #docs-main #side nav li a:hover {
688
- color: #ff3366;
689
- text-decoration: underline;
690
- }
691
- #docs-main #side nav span,
692
- #docs-main #side nav li.active a {
693
- color: #ff3366;
694
- font-weight: bold;
695
- }
696
- #docs-main #side nav span:hover,
697
- #docs-main #side nav li.active a:hover {
698
- text-decoration: none;
699
- }
700
- #docs-main #side nav h6 {
701
- border-top: 1px solid #eee;
702
- padding-top: 16px;
703
- margin-top: 8px;
704
- margin-bottom: 8px;
705
- }
706
- #docs-main #area {
707
- width: 76%;
708
- padding: 32px 64px 48px 64px;
709
- }
710
- #docs-main #area h1 {
711
- font-size: 36px;
712
- line-height: 40px;
713
- font-weight: 900;
714
- margin-bottom: 28px;
715
- }
716
- #docs-main #area h3 {
717
- font-size: 18px;
718
- line-height: 28px;
719
- }
720
- #docs-main #area .lead {
721
- font-size: 18px;
722
- line-height: 28px;
723
- margin-bottom: 24px;
724
- }
725
- #docs-main #area .doc-head {
726
- position: relative;
727
- margin-top: 24px;
728
- padding-bottom: 8px;
729
- border-bottom: 1px solid #eee;
730
- }
731
- #docs-main #area .doc-head span {
732
- position: absolute;
733
- right: 0;
734
- top: 0;
735
- font-weight: normal;
736
- font-size: 13px;
737
- color: rgba(0, 0, 0, 0.4);
738
- }
739
- #docs-main #area .doc-head a {
740
- text-decoration: none;
741
- color: #000;
742
- display: block;
743
- font-size: 20px;
744
- }
745
-
746
- .chart-example {
747
- position: relative;
748
- margin-top: 44px;
749
- margin-bottom: 40px;
750
- }
751
- .chart-example.inverted {
752
- padding: 32px;
753
- background: #191d21;
754
- }
755
- .chart-example.inverted .chart-selector a {
756
- color: rgba(255, 255, 255, 0.85);
757
- border-color: rgba(255, 255, 255, 0.3);
758
- }
759
- .chart-example.inverted pre {
760
- color: rgba(255, 255, 255, 0.85);
761
- padding: 0;
762
- background: #191d21;
763
- }
764
-
765
- .chart-selector {
766
- text-align: center;
767
- font-size: 14px;
768
- margin-bottom: 24px;
769
- }
770
- .chart-selector a {
771
- display: inline-block;
772
- background: rgba(46, 196, 182, 0.05);
773
- border: 1px solid rgba(46, 196, 182, 0.25);
774
- border-radius: 40px;
775
- line-height: 28px;
776
- padding: 0 12px;
777
- color: #000;
778
- text-decoration: none;
779
- margin: 0 4px;
780
- }
781
- .chart-selector a:hover,
782
- .chart-selector a.active {
783
- text-decoration: none;
784
- background: #2ec4b6;
785
- color: #fff;
786
- border: 1px solid transparent;
787
- }
788
- .chart-selector a:hover {
789
- -moz-transition: all linear 0.2s;
790
- transition: all linear 0.2s;
791
- }
792
-
793
- .chart-section-head {
794
- text-align: center;
795
- font-weight: 900;
796
- margin-top: 64px;
797
- margin-bottom: -16px;
798
- font-size: 16px;
799
- line-height: 28px;
800
- }
801
-
802
- #posts {
803
- list-style: none;
804
- margin: auto;
805
- margin-top: 48px;
806
- margin-bottom: 128px;
807
- max-width: 680px;
808
- text-align: center;
809
- }
810
-
811
- #posts li {
812
- margin-bottom: 40px;
813
- }
814
-
815
- #posts h2 {
816
- font-size: 22px;
817
- font-weight: normal;
818
- margin: 0;
819
- line-height: 28px;
820
- }
821
-
822
- #posts h2 a {
823
- color: #1eabf2;
824
- text-decoration: none;
825
- }
826
-
827
- #posts h2 a:hover {
828
- -moz-transition: all linear 0.2s;
829
- transition: all linear 0.2s;
830
- color: #000;
831
- text-decoration: underline;
832
- }
833
-
834
- #posts time {
835
- font-size: 12px;
836
- color: rgba(0, 0, 0, 0.5);
837
- }
838
-
839
- #post-box {
840
- max-width: 740px;
841
- margin: auto;
842
- }
843
-
844
- #post {
845
- font-size: 18px;
846
- line-height: 32px;
847
- margin-bottom: 40px;
848
- }
849
-
850
- #changelog {
851
- max-width: 820px;
852
- margin: auto;
853
- margin-bottom: 104px;
854
- }
855
- #changelog h3 {
856
- margin-bottom: 4px;
857
- }
858
- #changelog time {
859
- font-size: 11px;
860
- font-weight: bold;
861
- display: block;
862
- text-transform: uppercase;
863
- margin-bottom: 40px;
864
- color: rgba(0, 0, 0, 0.45);
865
- }
866
- #changelog .item {
867
- margin-bottom: 20px;
868
- background: #f8f8f8;
869
- padding: 40px;
870
- }
871
- #changelog ul {
872
- margin: 0;
873
- list-style: none;
874
- }
875
- #changelog li {
876
- margin-bottom: 16px;
877
- padding-bottom: 16px;
878
- border-bottom: 1px solid #eee;
879
- }
880
- #changelog li:last-child {
881
- border-bottom: none;
882
- }
883
- #changelog li .label {
884
- margin-right: 4px;
885
- }
886
-
887
- #kube-features {
888
- margin-top: 104px;
889
- text-align: center;
890
- }
891
- #kube-features h3 {
892
- margin-top: 0;
893
- }
894
- #kube-features .row:first-child {
895
- padding-bottom: 32px;
896
- margin-bottom: 64px;
897
- border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
898
- }
899
- #kube-features p {
900
- font-size: 15px;
901
- color: rgba(0, 0, 0, 0.75);
902
- }
903
- #kube-features .item {
904
- padding: 0 24px;
905
- }
906
-
907
- #kube-faq {
908
- max-width: 740px;
909
- margin: auto;
910
- font-size: 17px;
911
- line-height: 28px;
912
- margin-bottom: 104px;
913
- border-top: 1px solid rgba(0, 0, 0, 0.07);
914
- }
915
- #kube-faq h2 {
916
- font-size: 24px;
917
- font-weight: 900;
918
- text-align: center;
919
- line-height: 32px;
920
- margin-top: 80px;
921
- margin-bottom: 40px;
922
- }
923
-
924
- #components {
925
- text-align: center;
926
- }
927
- #components.lists {
928
- text-align: left;
929
- }
930
- #components.lists .item {
931
- padding: 24px;
932
- }
933
- #components.lists .item:hover {
934
- background: #f8f8f8;
935
- }
936
- #components .start {
937
- font-size: 24px;
938
- line-height: 32px;
939
- }
940
- #components #search-box {
941
- padding: 24px;
942
- background: #ebf0f6;
943
- margin-bottom: 24px;
944
- }
945
- #components .item {
946
- background: #f8f8f8;
947
- padding: 68px 24px 60px 24px;
948
- margin-bottom: 20px;
949
- }
950
- #components .item:hover {
951
- -moz-transition: all linear 0.2s;
952
- transition: all linear 0.2s;
953
- background: #fcfcfc;
954
- }
955
- #components figure {
956
- margin-bottom: 0;
957
- }
958
- #components h4 {
959
- font-size: 19px;
960
- margin-top: 0;
961
- margin-bottom: 8px;
962
- }
963
- #components h4 a {
964
- color: #3794de;
965
- text-decoration: none;
966
- }
967
- #components h4 a:hover {
968
- -moz-transition: all linear 0.2s;
969
- transition: all linear 0.2s;
970
- color: #000;
971
- text-decoration: underline;
972
- }
973
- #components ul {
974
- margin-left: 0;
975
- margin-top: 24px;
976
- list-style: none;
977
- }
978
- #components li {
979
- line-height: 32px;
980
- margin-bottom: 4px;
981
- }
982
- #components li a {
983
- display: inline-block;
984
- color: #3794de;
985
- line-height: 24px;
986
- }
987
- #components li a:hover {
988
- -moz-transition: all linear 0.2s;
989
- transition: all linear 0.2s;
990
- color: #000;
991
- text-decoration: underline;
992
- }
993
- #components p {
994
- max-width: 220px;
995
- margin: auto;
996
- font-size: 13px;
997
- line-height: 20px;
998
- color: rgba(0, 0, 0, 0.5);
999
- }
1000
- #components #docs-search-results p {
1001
- max-width: none;
1002
- margin-bottom: 16px;
1003
- }
1004
-
1005
- .demo-head {
1006
- font-size: 24px;
1007
- line-height: 32px;
1008
- font-weight: 900;
1009
- margin-top: 80px;
1010
- margin-bottom: 20px;
1011
- text-align: center;
1012
- }
1013
-
1014
- #price-box {
1015
- margin-top: 40px;
1016
- }
1017
- #price-box .item {
1018
- text-align: center;
1019
- padding: 36px;
1020
- margin-bottom: 24px;
1021
- }
1022
- #price-box .item-selected {
1023
- position: relative;
1024
- top: -28px;
1025
- background: #fafaf4;
1026
- }
1027
- #price-box .price-label {
1028
- position: absolute;
1029
- top: -12px;
1030
- left: 50%;
1031
- margin-left: -60px;
1032
- background: #ff3366;
1033
- color: #fff;
1034
- font-size: 11px;
1035
- text-transform: uppercase;
1036
- padding: 0 8px;
1037
- }
1038
- #price-box .price-name {
1039
- font-size: 12px;
1040
- text-transform: uppercase;
1041
- line-height: 24px;
1042
- font-weight: 900;
1043
- }
1044
- #price-box .price-amount {
1045
- margin: 20px 0 32px 0;
1046
- font-size: 34px;
1047
- }
1048
- #price-box ul {
1049
- margin-left: 0;
1050
- list-style: none;
1051
- line-height: 36px;
1052
- }
1053
- #price-box li {
1054
- font-size: 14px;
1055
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
1056
- }
1057
- #price-box li:last-child {
1058
- border-bottom-color: transparent;
1059
- }
1060
- #price-box footer {
1061
- margin-top: 32px;
1062
- }
1063
- #price-box button.stripe-button-el {
1064
- height: auto;
1065
- min-height: 0;
1066
- }
1067
-
1068
- #price-secure-box {
1069
- text-align: center;
1070
- color: rgba(0, 0, 0, 0.6);
1071
- }
1072
- #price-secure-box .extra {
1073
- margin-top: 36px;
1074
- font-size: 14px;
1075
- line-height: 22px;
1076
- }
1077
-
1078
- .not-found {
1079
- padding: 40px 0;
1080
- text-align: center;
1081
- font-style: italic;
1082
- color: rgba(0, 0, 0, 0.5);
1083
- }
1084
-
1085
- .callout {
1086
- background: #f8f8f8;
1087
- padding: 40px 48px;
1088
- }
1089
-
1090
- .callout-form {
1091
- margin-bottom: 40px;
1092
- }
1093
-
1094
- .color-black {
1095
- color: #000;
1096
- }
1097
-
1098
- tr.border-none td {
1099
- border: none;
1100
- }
1101
-
1102
- #purchases-table td {
1103
- padding-top: 24px;
1104
- padding-bottom: 24px;
1105
- }
1106
-
1107
- #purchases-table tr:first-child td {
1108
- padding-top: 16px;
1109
- }
1110
-
1111
- #purchases-table tr:last-child td {
1112
- border-bottom: none;
1113
- }
1114
-
1115
- .purchase-table-license {
1116
- margin-top: -16px;
1117
- margin-bottom: 8px;
1118
- }
1119
-
1120
- .purchase-table-version {
1121
- display: block;
1122
- margin-top: 8px;
1123
- margin-bottom: 8px;
1124
- line-height: 16px;
1125
- font-size: 11px;
1126
- }
1127
-
1128
- #invoice-form,
1129
- #invoice-form-old {
1130
- margin-bottom: 24px;
1131
- padding: 40px;
1132
- border: 2px solid #eee;
1133
- }
1134
-
1135
- @media (max-width: 768px) {
1136
- #hero {
1137
- margin-top: 32px;
1138
- padding-top: 0;
1139
- padding-left: 20px;
1140
- padding-right: 20px;
1141
- }
1142
- #hero h1 {
1143
- font-size: 40px;
1144
- line-height: 48px;
1145
- }
1146
- #hero p {
1147
- font-size: 16px;
1148
- line-height: 24px;
1149
- }
1150
- #posts,
1151
- #post-box,
1152
- #main {
1153
- padding-left: 20px;
1154
- padding-right: 20px;
1155
- }
1156
- #action-buttons .button,
1157
- #action-buttons button {
1158
- margin: 8px 0;
1159
- }
1160
- #footer {
1161
- display: block;
1162
- text-align: center;
1163
- }
1164
- #footer nav ul {
1165
- display: block;
1166
- margin-bottom: 40px;
1167
- }
1168
- #footer nav ul li {
1169
- margin: 8px 0;
1170
- }
1171
- #grafs-features ul {
1172
- margin-bottom: 24px;
1173
- }
1174
- #grafs-features ul.br {
1175
- border: none;
1176
- }
1177
- #grafs-features ul.br li,
1178
- #grafs-features ul li {
1179
- text-align: center;
1180
- }
1181
- .grafs-call-to-action p {
1182
- font-size: 20px;
1183
- line-height: 32px;
1184
- }
1185
- #docs-main {
1186
- display: block;
1187
- }
1188
- #docs-main #side,
1189
- #docs-main #area {
1190
- width: 100%;
1191
- padding: 20px 0;
1192
- border: none;
1193
- }
1194
- .grafs-examples-row {
1195
- flex-direction: column;
1196
- }
1197
- .grafs-examples-col {
1198
- width: 100%;
1199
- margin: 0;
1200
- margin-bottom: 20px;
1201
- }
1202
- }
1203
-
1204
- .highlight {
1205
- margin-top: 20px;
1206
- margin-bottom: 40px;
1207
- margin-left: -20px;
1208
- margin-right: -20px;
1209
- }
1210
-
1211
- .highlight pre {
1212
- padding: 12px 30px;
1213
- overflow: auto;
1214
- }
1215
-
1216
- .MethodList {
1217
- }
1218
-
1219
- .MethodListGroup {
1220
- list-style: none;
1221
- margin-left: 0;
1222
- }
1223
-
1224
- .MethodListItem {
1225
- padding-top: $sp8;
1226
- padding-bottom: $sp12;
1227
- border-bottom: 1px solid $gray;
1228
- }
1229
-
1230
- .MethodListItemLabel {
1231
- display: flex;
1232
- font-size: 12px;
1233
- margin: 0;
1234
- margin-top: 0px;
1235
- margin-bottom: 0px;
1236
- align-items: baseline;
1237
- flex-wrap: wrap;
1238
- z-index: 1;
1239
- position: relative;
1240
- padding-top: 8px;
1241
- margin-top: -8px;
1242
- padding-bottom: 8px;
1243
- margin-bottom: -8px;
1244
- }
1245
-
1246
- .HeaderAnchor {
1247
- }
1248
-
1249
- .AnchorLinkIcon {
1250
- position: absolute;
1251
- opacity: 0;
1252
- left: -20px;
1253
- top: 8px;
1254
- padding-right: 4px;
1255
- padding-right: $sp4;
1256
- color: #067ab8;
1257
- color: var(--cyan500);
1258
- background: #fff;
1259
- background: var(--white);
1260
- border-radius: 50%;
1261
- }
1262
-
1263
- .MethodListItemName {
1264
- font-family: 'Source Code Pro', monospace;
1265
- font-size: 13px;
1266
- font-weight: 600;
1267
- margin-right: 6px;
1268
- }
1269
-
1270
- .MethodListItemType {
1271
- font-weight: 500;
1272
- font-size: 12px;
1273
- color: rgb(135, 146, 162);
1274
- }
1275
-
1276
- .MethodListItemDescription {
1277
- color: rgb(79, 86, 107);
1278
- font-size: 14px;
1279
- margin-bottom: 0;
1280
- }
1281
-
1282
- .Callout {
1283
- color: #856404;
1284
- background-color: #fff3cd;
1285
- border-color: #ffeeba;
1286
- padding: 10px;
1287
- border-radius: 8px;
1288
- margin-top: 20px;
1289
- margin-bottom: 20px;
1290
- }
1291
-
1292
- .Resource {
1293
- border-top: 1px solid $gray;
1294
- margin-top: 80px;
1295
- padding-top: 80px;
1296
- }
1297
-
1298
- .ResourceContent {
1299
- max-width: 680px;
1300
- margin: 60px;
1301
- }
1302
-
1303
- .Logo {
1304
- width: 110px;
1305
- margin: 14px;
1306
- }
1307
-
1308
- #TOC {
1309
- .github {
1310
- display: flex;
1311
- flex-direction: row;
1312
- align-items: center;
1313
- justify-content: center;
1314
- margin-top: 30px;
1315
- margin-bottom: 10px;
1316
- }
1317
-
1318
- .github svg {
1319
- margin-right: 4px;
1320
- margin-top: -2px;
1321
- }
1322
-
1323
- .github a {
1324
- display: flex;
1325
- flex: 1;
1326
- flex-direction: row;
1327
- align-items: center;
1328
- text-decoration: none;
1329
- color: black;
1330
- }
1331
-
1332
- .github:hover a {
1333
- color: #ff4800;
1334
- }
1335
- }
1336
-
1337
- .Image {
1338
- margin: 50px;
1339
- max-width: 360px;
1340
- img {
1341
- width: 100%;
1342
- }
1343
- @media (min-width: 768px) {
1344
- margin: 0;
1345
- }
1346
- }
1347
-
1348
- #gradient-canvas {
1349
- display: none;
1350
- position: fixed;
1351
- top: 0;
1352
- left: 0;
1353
- right: 0;
1354
- bottom: 0;
1355
- pointer-events: none;
1356
- width: 100%;
1357
- height: 100%;
1358
- --gradient-color-1: #00aee0;
1359
- --gradient-color-2: #04294f;
1360
- --gradient-color-3: #ffb400;
1361
- --gradient-color-4: #ff3a00;
1362
- z-index: -1;
1363
- opacity: 0.5;
1364
-
1365
- @media (min-width: 768px) {
1366
- display: block;
1367
- }
1368
- }