@mkody/twitch-emoticons 2.5.0 → 2.6.1

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 (42) hide show
  1. package/.github/codeql/codeql-config.yml +5 -0
  2. package/.github/workflows/codeql.yml +50 -0
  3. package/.github/workflows/eslint.yml +51 -0
  4. package/.github/workflows/yarn-test.yml +0 -1
  5. package/.jsdoc.json +5 -0
  6. package/LICENSE +1 -0
  7. package/README.md +85 -13
  8. package/docs/BTTVEmote.html +1241 -1191
  9. package/docs/Channel.html +823 -700
  10. package/docs/Collection.html +797 -791
  11. package/docs/Emote.html +801 -768
  12. package/docs/EmoteFetcher.html +2694 -2075
  13. package/docs/EmoteParser.html +811 -792
  14. package/docs/FFZEmote.html +1317 -1263
  15. package/docs/SevenTV.html +1191 -0
  16. package/docs/SevenTVEmote.html +1318 -0
  17. package/docs/TwitchEmote.html +1237 -1189
  18. package/docs/index.html +201 -132
  19. package/docs/scripts/collapse.js +38 -19
  20. package/docs/scripts/commonNav.js +28 -0
  21. package/docs/scripts/search.js +98 -82
  22. package/docs/struct_BTTVEmote.js.html +72 -69
  23. package/docs/struct_Channel.js.html +88 -77
  24. package/docs/struct_Emote.js.html +73 -70
  25. package/docs/struct_EmoteFetcher.js.html +168 -109
  26. package/docs/struct_EmoteParser.js.html +72 -69
  27. package/docs/struct_FFZEmote.js.html +72 -69
  28. package/docs/struct_SevenTVEmote.js.html +135 -0
  29. package/docs/struct_TwitchEmote.js.html +72 -69
  30. package/docs/styles/jsdoc.css +776 -765
  31. package/docs/styles/prettify.css +80 -79
  32. package/docs/util_Collection.js.html +72 -69
  33. package/package.json +15 -13
  34. package/src/index.js +4 -3
  35. package/src/struct/Channel.js +16 -8
  36. package/src/struct/Emote.js +1 -1
  37. package/src/struct/EmoteFetcher.js +96 -40
  38. package/src/struct/SevenTVEmote.js +63 -0
  39. package/src/util/Constants.js +5 -1
  40. package/test/index.js +39 -3
  41. package/typings/index.d.ts +35 -18
  42. package/typings/test.ts +0 -24
@@ -1,765 +1,776 @@
1
- * {
2
- box-sizing: border-box
3
- }
4
-
5
- html, body {
6
- height: 100%;
7
- width: 100%;
8
- }
9
-
10
- body {
11
- color: #4d4e53;
12
- background-color: white;
13
- margin: 0 auto;
14
- padding: 0 20px;
15
- font-family: 'Helvetica Neue', Helvetica, sans-serif;
16
- font-size: 16px;
17
- }
18
-
19
- img {
20
- max-width: 100%;
21
- }
22
-
23
- a,
24
- a:active {
25
- color: #606;
26
- text-decoration: none;
27
- }
28
-
29
- a:hover {
30
- text-decoration: none;
31
- }
32
-
33
- article a {
34
- border-bottom: 1px solid #ddd;
35
- }
36
-
37
- article a:hover, article a:active {
38
- border-bottom-color: #222;
39
- }
40
-
41
- article .description a {
42
- word-break: break-word;
43
- }
44
-
45
- p, ul, ol, blockquote {
46
- margin-bottom: 1em;
47
- line-height: 160%;
48
- }
49
-
50
- h1, h2, h3, h4, h5, h6 {
51
- font-family: 'Montserrat', sans-serif;
52
- }
53
-
54
- h1, h2, h3, h4, h5, h6 {
55
- color: #000;
56
- font-weight: 400;
57
- margin: 0;
58
- }
59
-
60
- h1 {
61
- font-weight: 300;
62
- font-size: 48px;
63
- margin: 1em 0 .5em;
64
- }
65
-
66
- h1.page-title {
67
- font-size: 48px;
68
- margin: 1em 30px;
69
- line-height: 100%;
70
- word-wrap: break-word;
71
- }
72
-
73
- h2 {
74
- font-size: 24px;
75
- margin: 1.5em 0 .3em;
76
- }
77
-
78
- h3 {
79
- font-size: 24px;
80
- margin: 1.2em 0 .3em;
81
- }
82
-
83
- h4 {
84
- font-size: 18px;
85
- margin: 1em 0 .2em;
86
- color: #4d4e53;
87
- }
88
-
89
- h4.name {
90
- color: #fff;
91
- background: #6d426d;
92
- box-shadow: 0 .25em .5em #d3d3d3;
93
- border-top: 1px solid #d3d3d3;
94
- border-bottom: 1px solid #d3d3d3;
95
- margin: 1.5em 0 0.5em;
96
- padding: .75em 0 .75em 10px;
97
- }
98
-
99
- h4.name a {
100
- color: #fc83ff;
101
- }
102
-
103
- h4.name a:hover {
104
- border-bottom-color: #fc83ff;
105
- }
106
-
107
- h5, .container-overview .subsection-title {
108
- font-size: 120%;
109
- letter-spacing: -0.01em;
110
- margin: 8px 0 3px 0;
111
- }
112
-
113
- h6 {
114
- font-size: 100%;
115
- letter-spacing: -0.01em;
116
- margin: 6px 0 3px 0;
117
- font-style: italic;
118
- }
119
-
120
- .usertext h1 {
121
- font-family: "Source Sans Pro";
122
- font-size: 24px;
123
- margin: 2.5em 0 1em;
124
- font-weight: 400;
125
- }
126
-
127
- .usertext h2 {
128
- font-family: "Source Sans Pro";
129
- font-size: 18px;
130
- margin: 2em 0 0.5em;
131
- font-weight: 400;
132
-
133
- }
134
-
135
- .usertext h3 {
136
- font-family: "Source Sans Pro";
137
- font-size: 15px;
138
- margin: 1.5em 0 0;
139
- font-weight: 400;
140
- }
141
-
142
- .usertext h4 {
143
- font-family: "Source Sans Pro";
144
- font-size: 14px;
145
- margin: 0 0 0;
146
- font-weight: 400;
147
- }
148
-
149
- .usertext h5 {
150
- font-size: 12px;
151
- margin: 1em 0 0;
152
- font-weight: normal;
153
- color: #666;
154
- }
155
-
156
- .usertext h6 {
157
- font-size: 11px;
158
- margin: 1em 0 0;
159
- font-weight: normal;
160
- font-style: normal;
161
- color: #666;
162
- }
163
-
164
-
165
- tt, code, kbd, samp {
166
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
167
- background: #f4f4f4;
168
- padding: 1px 5px;
169
- }
170
-
171
- .class-description {
172
- font-size: 130%;
173
- line-height: 140%;
174
- margin-bottom: 1em;
175
- margin-top: 1em;
176
- }
177
-
178
- .class-description:empty {
179
- margin: 0
180
- }
181
-
182
- #main {
183
- float: right;
184
- width: calc(100% - 240px);
185
- }
186
-
187
- header {
188
- display: block
189
- }
190
-
191
- section {
192
- display: block;
193
- background-color: #fff;
194
- padding: 0 0 0 30px;
195
- }
196
-
197
- .variation {
198
- display: none
199
- }
200
-
201
- .signature-attributes {
202
- font-size: 60%;
203
- color: #eee;
204
- font-style: italic;
205
- font-weight: lighter;
206
- }
207
-
208
- nav {
209
- float: left;
210
- display: block;
211
- width: 250px;
212
- background: #fff;
213
- overflow: auto;
214
- position: fixed;
215
- height: 100%;
216
- }
217
-
218
- nav #nav-search{
219
- width: 210px;
220
- height: 30px;
221
- padding: 5px 10px;
222
- font-size: 12px;
223
- line-height: 1.5;
224
- border-radius: 3px;
225
- margin-right: 20px;
226
- margin-top: 20px;
227
- }
228
-
229
- nav.wrap a{
230
- word-wrap: break-word;
231
- }
232
-
233
- nav h3 {
234
- margin-top: 12px;
235
- font-size: 13px;
236
- text-transform: uppercase;
237
- letter-spacing: 1px;
238
- font-weight: 700;
239
- line-height: 24px;
240
- margin: 15px 0 10px;
241
- padding: 0;
242
- color: #000;
243
- }
244
-
245
- nav ul {
246
- font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
247
- font-size: 100%;
248
- line-height: 17px;
249
- padding: 0;
250
- margin: 0;
251
- list-style-type: none;
252
- }
253
-
254
- nav ul a,
255
- nav ul a:active {
256
- font-family: 'Montserrat', sans-serif;
257
- line-height: 18px;
258
- padding: 0;
259
- display: block;
260
- font-size: 12px;
261
- }
262
-
263
- nav a:hover,
264
- nav a:active {
265
- color: #606;
266
- }
267
-
268
- nav > ul {
269
- padding: 0 10px;
270
- }
271
-
272
- nav > ul > li > a {
273
- color: #606;
274
- margin-top: 10px;
275
- }
276
-
277
- nav ul ul a {
278
- color: hsl(207, 1%, 60%);
279
- border-left: 1px solid hsl(207, 10%, 86%);
280
- }
281
-
282
- nav ul ul a,
283
- nav ul ul a:active {
284
- padding-left: 20px
285
- }
286
-
287
- nav h2 {
288
- font-size: 13px;
289
- margin: 10px 0 0 0;
290
- padding: 0;
291
- }
292
-
293
- nav > h2 > a {
294
- margin: 10px 0 -10px;
295
- color: #606 !important;
296
- }
297
-
298
- footer {
299
- color: hsl(0, 0%, 28%);
300
- margin-left: 250px;
301
- display: block;
302
- padding: 15px;
303
- font-style: italic;
304
- font-size: 90%;
305
- }
306
-
307
- .ancestors {
308
- color: #999
309
- }
310
-
311
- .ancestors a {
312
- color: #999 !important;
313
- }
314
-
315
- .clear {
316
- clear: both
317
- }
318
-
319
- .important {
320
- font-weight: bold;
321
- color: #950B02;
322
- }
323
-
324
- .yes-def {
325
- text-indent: -1000px
326
- }
327
-
328
- .type-signature {
329
- color: #CA79CA
330
- }
331
-
332
- .type-signature:last-child {
333
- color: #eee;
334
- }
335
-
336
- .name, .signature {
337
- font-family: Consolas, Monaco, 'Andale Mono', monospace
338
- }
339
-
340
- .signature {
341
- color: #fc83ff;
342
- }
343
-
344
- .details {
345
- margin-top: 6px;
346
- border-left: 2px solid #DDD;
347
- line-height: 20px;
348
- font-size: 14px;
349
- }
350
-
351
- .details dt {
352
- width: auto;
353
- float: left;
354
- padding-left: 10px;
355
- }
356
-
357
- .details dd {
358
- margin-left: 70px;
359
- margin-top: 6px;
360
- margin-bottom: 6px;
361
- }
362
-
363
- .details ul {
364
- margin: 0
365
- }
366
-
367
- .details ul {
368
- list-style-type: none
369
- }
370
-
371
- .details pre.prettyprint {
372
- margin: 0
373
- }
374
-
375
- .details .object-value {
376
- padding-top: 0
377
- }
378
-
379
- .description {
380
- margin-bottom: 1em;
381
- margin-top: 1em;
382
- }
383
-
384
- .code-caption {
385
- font-style: italic;
386
- font-size: 107%;
387
- margin: 0;
388
- }
389
-
390
- .prettyprint {
391
- font-size: 14px;
392
- overflow: auto;
393
- }
394
-
395
- .prettyprint.source {
396
- width: inherit;
397
- line-height: 18px;
398
- display: block;
399
- background-color: #0d152a;
400
- color: #aeaeae;
401
- }
402
-
403
- .prettyprint code {
404
- line-height: 18px;
405
- display: block;
406
- background-color: #0d152a;
407
- color: #4D4E53;
408
- }
409
-
410
- .prettyprint > code {
411
- padding: 15px;
412
- }
413
-
414
- .prettyprint .linenums code {
415
- padding: 0 15px
416
- }
417
-
418
- .prettyprint .linenums li:first-of-type code {
419
- padding-top: 15px
420
- }
421
-
422
- .prettyprint code span.line {
423
- display: inline-block
424
- }
425
-
426
- .prettyprint.linenums {
427
- padding-left: 70px;
428
- -webkit-user-select: none;
429
- -moz-user-select: none;
430
- -ms-user-select: none;
431
- user-select: none;
432
- }
433
-
434
- .prettyprint.linenums ol {
435
- padding-left: 0
436
- }
437
-
438
- .prettyprint.linenums li {
439
- border-left: 3px #34446B solid;
440
- }
441
-
442
- .prettyprint.linenums li.selected, .prettyprint.linenums li.selected * {
443
- background-color: #34446B;
444
- }
445
-
446
- .prettyprint.linenums li * {
447
- -webkit-user-select: text;
448
- -moz-user-select: text;
449
- -ms-user-select: text;
450
- user-select: text;
451
- }
452
-
453
- .prettyprint.linenums li code:empty:after {
454
- content:"";
455
- display:inline-block;
456
- width:0px;
457
- }
458
-
459
- table {
460
- border-spacing: 0;
461
- border: 1px solid #ddd;
462
- border-collapse: collapse;
463
- border-radius: 3px;
464
- box-shadow: 0 1px 3px rgba(0,0,0,0.1);
465
- width: 100%;
466
- font-size: 14px;
467
- margin: 1em 0;
468
- }
469
-
470
- td, th {
471
- margin: 0px;
472
- text-align: left;
473
- vertical-align: top;
474
- padding: 10px;
475
- display: table-cell;
476
- }
477
-
478
- thead tr, thead tr {
479
- background-color: #fff;
480
- font-weight: bold;
481
- border-bottom: 1px solid #ddd;
482
- }
483
-
484
- .params .type {
485
- white-space: nowrap;
486
- }
487
-
488
- .params code {
489
- white-space: pre;
490
- }
491
-
492
- .params td, .params .name, .props .name, .name code {
493
- color: #4D4E53;
494
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
495
- font-size: 100%;
496
- }
497
-
498
- .params td {
499
- border-top: 1px solid #eee
500
- }
501
-
502
- .params td.description > p:first-child, .props td.description > p:first-child {
503
- margin-top: 0;
504
- padding-top: 0;
505
- }
506
-
507
- .params td.description > p:last-child, .props td.description > p:last-child {
508
- margin-bottom: 0;
509
- padding-bottom: 0;
510
- }
511
-
512
- span.param-type, .params td .param-type, .param-type dd {
513
- color: #606;
514
- font-family: Consolas, Monaco, 'Andale Mono', monospace
515
- }
516
-
517
- .param-type dt, .param-type dd {
518
- display: inline-block
519
- }
520
-
521
- .param-type {
522
- margin: 14px 0;
523
- }
524
-
525
- .disabled {
526
- color: #454545
527
- }
528
-
529
- /* navicon button */
530
- .navicon-button {
531
- display: none;
532
- position: relative;
533
- padding: 2.0625rem 1.5rem;
534
- transition: 0.25s;
535
- cursor: pointer;
536
- -webkit-user-select: none;
537
- -moz-user-select: none;
538
- -ms-user-select: none;
539
- user-select: none;
540
- opacity: .8;
541
- }
542
- .navicon-button .navicon:before, .navicon-button .navicon:after {
543
- transition: 0.25s;
544
- }
545
- .navicon-button:hover {
546
- transition: 0.5s;
547
- opacity: 1;
548
- }
549
- .navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
550
- transition: 0.25s;
551
- }
552
- .navicon-button:hover .navicon:before {
553
- top: .825rem;
554
- }
555
- .navicon-button:hover .navicon:after {
556
- top: -.825rem;
557
- }
558
-
559
- /* navicon */
560
- .navicon {
561
- position: relative;
562
- width: 2.5em;
563
- height: .3125rem;
564
- background: #000;
565
- transition: 0.3s;
566
- border-radius: 2.5rem;
567
- }
568
- .navicon:before, .navicon:after {
569
- display: block;
570
- content: "";
571
- height: .3125rem;
572
- width: 2.5rem;
573
- background: #000;
574
- position: absolute;
575
- z-index: -1;
576
- transition: 0.3s 0.25s;
577
- border-radius: 1rem;
578
- }
579
- .navicon:before {
580
- top: .625rem;
581
- }
582
- .navicon:after {
583
- top: -.625rem;
584
- }
585
-
586
- /* open */
587
- .nav-trigger:checked + label:not(.steps) .navicon:before,
588
- .nav-trigger:checked + label:not(.steps) .navicon:after {
589
- top: 0 !important;
590
- }
591
-
592
- .nav-trigger:checked + label .navicon:before,
593
- .nav-trigger:checked + label .navicon:after {
594
- transition: 0.5s;
595
- }
596
-
597
- /* Minus */
598
- .nav-trigger:checked + label {
599
- -webkit-transform: scale(0.75);
600
- transform: scale(0.75);
601
- }
602
-
603
- /* × and + */
604
- .nav-trigger:checked + label.plus .navicon,
605
- .nav-trigger:checked + label.x .navicon {
606
- background: transparent;
607
- }
608
-
609
- .nav-trigger:checked + label.plus .navicon:before,
610
- .nav-trigger:checked + label.x .navicon:before {
611
- -webkit-transform: rotate(-45deg);
612
- transform: rotate(-45deg);
613
- background: #FFF;
614
- }
615
-
616
- .nav-trigger:checked + label.plus .navicon:after,
617
- .nav-trigger:checked + label.x .navicon:after {
618
- -webkit-transform: rotate(45deg);
619
- transform: rotate(45deg);
620
- background: #FFF;
621
- }
622
-
623
- .nav-trigger:checked + label.plus {
624
- -webkit-transform: scale(0.75) rotate(45deg);
625
- transform: scale(0.75) rotate(45deg);
626
- }
627
-
628
- .nav-trigger:checked ~ nav {
629
- left: 0 !important;
630
- }
631
-
632
- .nav-trigger:checked ~ .overlay {
633
- display: block;
634
- }
635
-
636
- .nav-trigger {
637
- position: fixed;
638
- top: 0;
639
- clip: rect(0, 0, 0, 0);
640
- }
641
-
642
- .overlay {
643
- display: none;
644
- position: fixed;
645
- top: 0;
646
- bottom: 0;
647
- left: 0;
648
- right: 0;
649
- width: 100%;
650
- height: 100%;
651
- background: hsla(0, 0%, 0%, 0.5);
652
- z-index: 1;
653
- }
654
-
655
- /* nav level */
656
- .level-hide {
657
- display: none;
658
- }
659
- html[data-search-mode] .level-hide {
660
- display: block;
661
- }
662
-
663
-
664
- @media only screen and (max-width: 680px) {
665
- body {
666
- overflow-x: hidden;
667
- }
668
-
669
- nav {
670
- background: #FFF;
671
- width: 250px;
672
- height: 100%;
673
- position: fixed;
674
- top: 0;
675
- right: 0;
676
- bottom: 0;
677
- left: -250px;
678
- z-index: 3;
679
- padding: 0 10px;
680
- transition: left 0.2s;
681
- }
682
-
683
- .navicon-button {
684
- display: inline-block;
685
- position: fixed;
686
- top: 1.5em;
687
- right: 0;
688
- z-index: 2;
689
- }
690
-
691
- #main {
692
- width: 100%;
693
- }
694
-
695
- #main h1.page-title {
696
- margin: 1em 0;
697
- }
698
-
699
- #main section {
700
- padding: 0;
701
- }
702
-
703
- footer {
704
- margin-left: 0;
705
- }
706
- }
707
-
708
- /** Add a '#' to static members */
709
- [data-type="member"] a::before {
710
- content: '#';
711
- display: inline-block;
712
- margin-left: -14px;
713
- margin-right: 5px;
714
- }
715
-
716
- #disqus_thread{
717
- margin-left: 30px;
718
- }
719
-
720
- @font-face {
721
- font-family: 'Montserrat';
722
- font-style: normal;
723
- font-weight: 400;
724
- src: url('../fonts/Montserrat/Montserrat-Regular.eot'); /* IE9 Compat Modes */
725
- src: url('../fonts/Montserrat/Montserrat-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
726
- url('../fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'), /* Super Modern Browsers */
727
- url('../fonts/Montserrat/Montserrat-Regular.woff') format('woff'), /* Pretty Modern Browsers */
728
- url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
729
- }
730
-
731
- @font-face {
732
- font-family: 'Montserrat';
733
- font-style: normal;
734
- font-weight: 700;
735
- src: url('../fonts/Montserrat/Montserrat-Bold.eot'); /* IE9 Compat Modes */
736
- src: url('../fonts/Montserrat/Montserrat-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
737
- url('../fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'), /* Super Modern Browsers */
738
- url('../fonts/Montserrat/Montserrat-Bold.woff') format('woff'), /* Pretty Modern Browsers */
739
- url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype'); /* Safari, Android, iOS */
740
- }
741
-
742
- @font-face {
743
- font-family: 'Source Sans Pro';
744
- src: url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot');
745
- src: url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
746
- url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2') format('woff2'),
747
- url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff') format('woff'),
748
- url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf') format('truetype'),
749
- url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
750
- font-weight: 400;
751
- font-style: normal;
752
- }
753
-
754
- @font-face {
755
- font-family: 'Source Sans Pro';
756
- src: url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot');
757
- src: url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
758
- url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2') format('woff2'),
759
- url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff') format('woff'),
760
- url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf') format('truetype'),
761
- url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
762
- font-weight: 300;
763
- font-style: normal;
764
-
765
- }
1
+ * {
2
+ box-sizing: border-box
3
+ }
4
+
5
+ html, body {
6
+ height: 100%;
7
+ width: 100%;
8
+ }
9
+
10
+ body {
11
+ color: #4d4e53;
12
+ background-color: white;
13
+ margin: 0 auto;
14
+ padding: 0 20px;
15
+ font-family: 'Helvetica Neue', Helvetica, sans-serif;
16
+ font-size: 16px;
17
+ }
18
+
19
+ img {
20
+ max-width: 100%;
21
+ }
22
+
23
+ a,
24
+ a:active {
25
+ color: #606;
26
+ text-decoration: none;
27
+ }
28
+
29
+ a:hover {
30
+ text-decoration: none;
31
+ }
32
+
33
+ article a {
34
+ border-bottom: 1px solid #ddd;
35
+ }
36
+
37
+ article a:hover, article a:active {
38
+ border-bottom-color: #222;
39
+ }
40
+
41
+ article .description a {
42
+ word-break: break-word;
43
+ }
44
+
45
+ p, ul, ol, blockquote {
46
+ margin-bottom: 1em;
47
+ line-height: 160%;
48
+ }
49
+
50
+ h1, h2, h3, h4, h5, h6 {
51
+ font-family: 'Montserrat', sans-serif;
52
+ }
53
+
54
+ h1, h2, h3, h4, h5, h6 {
55
+ color: #000;
56
+ font-weight: 400;
57
+ margin: 0;
58
+ }
59
+
60
+ h1 {
61
+ font-weight: 300;
62
+ font-size: 48px;
63
+ margin: 1em 0 .5em;
64
+ }
65
+
66
+ h1.page-title {
67
+ font-size: 48px;
68
+ margin: 1em 30px;
69
+ line-height: 100%;
70
+ word-wrap: break-word;
71
+ }
72
+
73
+ h2 {
74
+ font-size: 24px;
75
+ margin: 1.5em 0 .3em;
76
+ }
77
+
78
+ h3 {
79
+ font-size: 24px;
80
+ margin: 1.2em 0 .3em;
81
+ }
82
+
83
+ h4 {
84
+ font-size: 18px;
85
+ margin: 1em 0 .2em;
86
+ color: #4d4e53;
87
+ }
88
+
89
+ h4.name {
90
+ color: #fff;
91
+ background: #6d426d;
92
+ box-shadow: 0 .25em .5em #d3d3d3;
93
+ border-top: 1px solid #d3d3d3;
94
+ border-bottom: 1px solid #d3d3d3;
95
+ margin: 1.5em 0 0.5em;
96
+ padding: .75em 0 .75em 10px;
97
+ }
98
+
99
+ h4.name a {
100
+ color: #fc83ff;
101
+ }
102
+
103
+ h4.name a:hover {
104
+ border-bottom-color: #fc83ff;
105
+ }
106
+
107
+ h5, .container-overview .subsection-title {
108
+ font-size: 120%;
109
+ letter-spacing: -0.01em;
110
+ margin: 8px 0 3px 0;
111
+ }
112
+
113
+ h6 {
114
+ font-size: 100%;
115
+ letter-spacing: -0.01em;
116
+ margin: 6px 0 3px 0;
117
+ font-style: italic;
118
+ }
119
+
120
+ .usertext h1 {
121
+ font-family: "Source Sans Pro";
122
+ font-size: 24px;
123
+ margin: 2.5em 0 1em;
124
+ font-weight: 400;
125
+ }
126
+
127
+ .usertext h2 {
128
+ font-family: "Source Sans Pro";
129
+ font-size: 18px;
130
+ margin: 2em 0 0.5em;
131
+ font-weight: 400;
132
+
133
+ }
134
+
135
+ .usertext h3 {
136
+ font-family: "Source Sans Pro";
137
+ font-size: 15px;
138
+ margin: 1.5em 0 0;
139
+ font-weight: 400;
140
+ }
141
+
142
+ .usertext h4 {
143
+ font-family: "Source Sans Pro";
144
+ font-size: 14px;
145
+ margin: 0 0 0;
146
+ font-weight: 400;
147
+ }
148
+
149
+ .usertext h5 {
150
+ font-size: 12px;
151
+ margin: 1em 0 0;
152
+ font-weight: normal;
153
+ color: #666;
154
+ }
155
+
156
+ .usertext h6 {
157
+ font-size: 11px;
158
+ margin: 1em 0 0;
159
+ font-weight: normal;
160
+ font-style: normal;
161
+ color: #666;
162
+ }
163
+
164
+
165
+ tt, code, kbd, samp, pre {
166
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
167
+ background: #f4f4f4;
168
+ }
169
+
170
+ tt, code, kbd, samp{
171
+ padding: 1px 5px;
172
+ }
173
+
174
+ pre {
175
+ padding-bottom: 1em;
176
+ }
177
+
178
+ .class-description {
179
+ font-size: 130%;
180
+ line-height: 140%;
181
+ margin-bottom: 1em;
182
+ margin-top: 1em;
183
+ }
184
+
185
+ .class-description:empty {
186
+ margin: 0
187
+ }
188
+
189
+ #main {
190
+ float: right;
191
+ width: calc(100% - 240px);
192
+ }
193
+
194
+ header {
195
+ display: block
196
+ }
197
+
198
+ section {
199
+ display: block;
200
+ background-color: #fff;
201
+ padding: 0 0 0 30px;
202
+ }
203
+
204
+ .variation {
205
+ display: none
206
+ }
207
+
208
+ .signature-attributes {
209
+ font-size: 60%;
210
+ color: #eee;
211
+ font-style: italic;
212
+ font-weight: lighter;
213
+ }
214
+
215
+ nav {
216
+ float: left;
217
+ display: block;
218
+ width: 250px;
219
+ background: #fff;
220
+ overflow: auto;
221
+ position: fixed;
222
+ height: 100%;
223
+ }
224
+
225
+ nav #nav-search{
226
+ width: 210px;
227
+ height: 30px;
228
+ padding: 5px 10px;
229
+ font-size: 12px;
230
+ line-height: 1.5;
231
+ border-radius: 3px;
232
+ margin-right: 20px;
233
+ margin-top: 20px;
234
+ }
235
+
236
+ nav.wrap a{
237
+ word-wrap: break-word;
238
+ }
239
+
240
+ nav h3 {
241
+ margin-top: 12px;
242
+ font-size: 13px;
243
+ text-transform: uppercase;
244
+ letter-spacing: 1px;
245
+ font-weight: 700;
246
+ line-height: 24px;
247
+ margin: 15px 0 10px;
248
+ padding: 0;
249
+ color: #000;
250
+ }
251
+
252
+ nav h3.collapsed_header {
253
+ cursor: pointer;
254
+ }
255
+
256
+ nav ul {
257
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
258
+ font-size: 100%;
259
+ line-height: 17px;
260
+ padding: 0;
261
+ margin: 0;
262
+ list-style-type: none;
263
+ }
264
+
265
+ nav ul a,
266
+ nav ul a:active {
267
+ font-family: 'Montserrat', sans-serif;
268
+ line-height: 18px;
269
+ padding: 0;
270
+ display: block;
271
+ font-size: 12px;
272
+ }
273
+
274
+ nav a:hover,
275
+ nav a:active {
276
+ color: #606;
277
+ }
278
+
279
+ nav > ul {
280
+ padding: 0 10px;
281
+ }
282
+
283
+ nav > ul > li > a {
284
+ color: #606;
285
+ margin-top: 10px;
286
+ }
287
+
288
+ nav ul ul a {
289
+ color: hsl(207, 1%, 60%);
290
+ border-left: 1px solid hsl(207, 10%, 86%);
291
+ }
292
+
293
+ nav ul ul a,
294
+ nav ul ul a:active {
295
+ padding-left: 20px
296
+ }
297
+
298
+ nav h2 {
299
+ font-size: 13px;
300
+ margin: 10px 0 0 0;
301
+ padding: 0;
302
+ }
303
+
304
+ nav > h2 > a {
305
+ margin: 10px 0 -10px;
306
+ color: #606 !important;
307
+ }
308
+
309
+ footer {
310
+ color: hsl(0, 0%, 28%);
311
+ margin-left: 250px;
312
+ display: block;
313
+ padding: 15px;
314
+ font-style: italic;
315
+ font-size: 90%;
316
+ }
317
+
318
+ .ancestors {
319
+ color: #999
320
+ }
321
+
322
+ .ancestors a {
323
+ color: #999 !important;
324
+ }
325
+
326
+ .clear {
327
+ clear: both
328
+ }
329
+
330
+ .important {
331
+ font-weight: bold;
332
+ color: #950B02;
333
+ }
334
+
335
+ .yes-def {
336
+ text-indent: -1000px
337
+ }
338
+
339
+ .type-signature {
340
+ color: #CA79CA
341
+ }
342
+
343
+ .type-signature:last-child {
344
+ color: #eee;
345
+ }
346
+
347
+ .name, .signature {
348
+ font-family: Consolas, Monaco, 'Andale Mono', monospace
349
+ }
350
+
351
+ .signature {
352
+ color: #fc83ff;
353
+ }
354
+
355
+ .details {
356
+ margin-top: 6px;
357
+ border-left: 2px solid #DDD;
358
+ line-height: 20px;
359
+ font-size: 14px;
360
+ }
361
+
362
+ .details dt {
363
+ width: auto;
364
+ float: left;
365
+ padding-left: 10px;
366
+ }
367
+
368
+ .details dd {
369
+ margin-left: 70px;
370
+ margin-top: 6px;
371
+ margin-bottom: 6px;
372
+ }
373
+
374
+ .details ul {
375
+ margin: 0
376
+ }
377
+
378
+ .details ul {
379
+ list-style-type: none
380
+ }
381
+
382
+ .details pre.prettyprint {
383
+ margin: 0
384
+ }
385
+
386
+ .details .object-value {
387
+ padding-top: 0
388
+ }
389
+
390
+ .description {
391
+ margin-bottom: 1em;
392
+ margin-top: 1em;
393
+ }
394
+
395
+ .code-caption {
396
+ font-style: italic;
397
+ font-size: 107%;
398
+ margin: 0;
399
+ }
400
+
401
+ .prettyprint {
402
+ font-size: 14px;
403
+ overflow: auto;
404
+ }
405
+
406
+ .prettyprint.source {
407
+ width: inherit;
408
+ line-height: 18px;
409
+ display: block;
410
+ background-color: #0d152a;
411
+ color: #aeaeae;
412
+ }
413
+
414
+ .prettyprint code {
415
+ line-height: 18px;
416
+ display: block;
417
+ background-color: #0d152a;
418
+ color: #4D4E53;
419
+ }
420
+
421
+ .prettyprint > code {
422
+ padding: 15px;
423
+ }
424
+
425
+ .prettyprint .linenums code {
426
+ padding: 0 15px
427
+ }
428
+
429
+ .prettyprint .linenums li:first-of-type code {
430
+ padding-top: 15px
431
+ }
432
+
433
+ .prettyprint code span.line {
434
+ display: inline-block
435
+ }
436
+
437
+ .prettyprint.linenums {
438
+ padding-left: 70px;
439
+ -webkit-user-select: none;
440
+ -moz-user-select: none;
441
+ -ms-user-select: none;
442
+ user-select: none;
443
+ }
444
+
445
+ .prettyprint.linenums ol {
446
+ padding-left: 0
447
+ }
448
+
449
+ .prettyprint.linenums li {
450
+ border-left: 3px #34446B solid;
451
+ }
452
+
453
+ .prettyprint.linenums li.selected, .prettyprint.linenums li.selected * {
454
+ background-color: #34446B;
455
+ }
456
+
457
+ .prettyprint.linenums li * {
458
+ -webkit-user-select: text;
459
+ -moz-user-select: text;
460
+ -ms-user-select: text;
461
+ user-select: text;
462
+ }
463
+
464
+ .prettyprint.linenums li code:empty:after {
465
+ content:"";
466
+ display:inline-block;
467
+ width:0px;
468
+ }
469
+
470
+ table {
471
+ border-spacing: 0;
472
+ border: 1px solid #ddd;
473
+ border-collapse: collapse;
474
+ border-radius: 3px;
475
+ box-shadow: 0 1px 3px rgba(0,0,0,0.1);
476
+ width: 100%;
477
+ font-size: 14px;
478
+ margin: 1em 0;
479
+ }
480
+
481
+ td, th {
482
+ margin: 0px;
483
+ text-align: left;
484
+ vertical-align: top;
485
+ padding: 10px;
486
+ display: table-cell;
487
+ }
488
+
489
+ thead tr, thead tr {
490
+ background-color: #fff;
491
+ font-weight: bold;
492
+ border-bottom: 1px solid #ddd;
493
+ }
494
+
495
+ .params .type {
496
+ white-space: nowrap;
497
+ }
498
+
499
+ .params code {
500
+ white-space: pre;
501
+ }
502
+
503
+ .params td, .params .name, .props .name, .name code {
504
+ color: #4D4E53;
505
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
506
+ font-size: 100%;
507
+ }
508
+
509
+ .params td {
510
+ border-top: 1px solid #eee
511
+ }
512
+
513
+ .params td.description > p:first-child, .props td.description > p:first-child {
514
+ margin-top: 0;
515
+ padding-top: 0;
516
+ }
517
+
518
+ .params td.description > p:last-child, .props td.description > p:last-child {
519
+ margin-bottom: 0;
520
+ padding-bottom: 0;
521
+ }
522
+
523
+ span.param-type, .params td .param-type, .param-type dd {
524
+ color: #606;
525
+ font-family: Consolas, Monaco, 'Andale Mono', monospace
526
+ }
527
+
528
+ .param-type dt, .param-type dd {
529
+ display: inline-block
530
+ }
531
+
532
+ .param-type {
533
+ margin: 14px 0;
534
+ }
535
+
536
+ .disabled {
537
+ color: #454545
538
+ }
539
+
540
+ /* navicon button */
541
+ .navicon-button {
542
+ display: none;
543
+ position: relative;
544
+ padding: 2.0625rem 1.5rem;
545
+ transition: 0.25s;
546
+ cursor: pointer;
547
+ -webkit-user-select: none;
548
+ -moz-user-select: none;
549
+ -ms-user-select: none;
550
+ user-select: none;
551
+ opacity: .8;
552
+ }
553
+ .navicon-button .navicon:before, .navicon-button .navicon:after {
554
+ transition: 0.25s;
555
+ }
556
+ .navicon-button:hover {
557
+ transition: 0.5s;
558
+ opacity: 1;
559
+ }
560
+ .navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
561
+ transition: 0.25s;
562
+ }
563
+ .navicon-button:hover .navicon:before {
564
+ top: .825rem;
565
+ }
566
+ .navicon-button:hover .navicon:after {
567
+ top: -.825rem;
568
+ }
569
+
570
+ /* navicon */
571
+ .navicon {
572
+ position: relative;
573
+ width: 2.5em;
574
+ height: .3125rem;
575
+ background: #000;
576
+ transition: 0.3s;
577
+ border-radius: 2.5rem;
578
+ }
579
+ .navicon:before, .navicon:after {
580
+ display: block;
581
+ content: "";
582
+ height: .3125rem;
583
+ width: 2.5rem;
584
+ background: #000;
585
+ position: absolute;
586
+ z-index: -1;
587
+ transition: 0.3s 0.25s;
588
+ border-radius: 1rem;
589
+ }
590
+ .navicon:before {
591
+ top: .625rem;
592
+ }
593
+ .navicon:after {
594
+ top: -.625rem;
595
+ }
596
+
597
+ /* open */
598
+ .nav-trigger:checked + label:not(.steps) .navicon:before,
599
+ .nav-trigger:checked + label:not(.steps) .navicon:after {
600
+ top: 0 !important;
601
+ }
602
+
603
+ .nav-trigger:checked + label .navicon:before,
604
+ .nav-trigger:checked + label .navicon:after {
605
+ transition: 0.5s;
606
+ }
607
+
608
+ /* Minus */
609
+ .nav-trigger:checked + label {
610
+ -webkit-transform: scale(0.75);
611
+ transform: scale(0.75);
612
+ }
613
+
614
+ /* × and + */
615
+ .nav-trigger:checked + label.plus .navicon,
616
+ .nav-trigger:checked + label.x .navicon {
617
+ background: transparent;
618
+ }
619
+
620
+ .nav-trigger:checked + label.plus .navicon:before,
621
+ .nav-trigger:checked + label.x .navicon:before {
622
+ -webkit-transform: rotate(-45deg);
623
+ transform: rotate(-45deg);
624
+ background: #FFF;
625
+ }
626
+
627
+ .nav-trigger:checked + label.plus .navicon:after,
628
+ .nav-trigger:checked + label.x .navicon:after {
629
+ -webkit-transform: rotate(45deg);
630
+ transform: rotate(45deg);
631
+ background: #FFF;
632
+ }
633
+
634
+ .nav-trigger:checked + label.plus {
635
+ -webkit-transform: scale(0.75) rotate(45deg);
636
+ transform: scale(0.75) rotate(45deg);
637
+ }
638
+
639
+ .nav-trigger:checked ~ nav {
640
+ left: 0 !important;
641
+ }
642
+
643
+ .nav-trigger:checked ~ .overlay {
644
+ display: block;
645
+ }
646
+
647
+ .nav-trigger {
648
+ position: fixed;
649
+ top: 0;
650
+ clip: rect(0, 0, 0, 0);
651
+ }
652
+
653
+ .overlay {
654
+ display: none;
655
+ position: fixed;
656
+ top: 0;
657
+ bottom: 0;
658
+ left: 0;
659
+ right: 0;
660
+ width: 100%;
661
+ height: 100%;
662
+ background: hsla(0, 0%, 0%, 0.5);
663
+ z-index: 1;
664
+ }
665
+
666
+ /* nav level */
667
+ .level-hide {
668
+ display: none;
669
+ }
670
+ html[data-search-mode] .level-hide {
671
+ display: block;
672
+ }
673
+
674
+
675
+ @media only screen and (max-width: 680px) {
676
+ body {
677
+ overflow-x: hidden;
678
+ }
679
+
680
+ nav {
681
+ background: #FFF;
682
+ width: 250px;
683
+ height: 100%;
684
+ position: fixed;
685
+ top: 0;
686
+ right: 0;
687
+ bottom: 0;
688
+ left: -250px;
689
+ z-index: 3;
690
+ padding: 0 10px;
691
+ transition: left 0.2s;
692
+ }
693
+
694
+ .navicon-button {
695
+ display: inline-block;
696
+ position: fixed;
697
+ top: 1.5em;
698
+ right: 0;
699
+ z-index: 2;
700
+ }
701
+
702
+ #main {
703
+ width: 100%;
704
+ }
705
+
706
+ #main h1.page-title {
707
+ margin: 1em 0;
708
+ }
709
+
710
+ #main section {
711
+ padding: 0;
712
+ }
713
+
714
+ footer {
715
+ margin-left: 0;
716
+ }
717
+ }
718
+
719
+ /** Add a '#' to static members */
720
+ [data-type="member"] a::before {
721
+ content: '#';
722
+ display: inline-block;
723
+ margin-left: -14px;
724
+ margin-right: 5px;
725
+ }
726
+
727
+ #disqus_thread{
728
+ margin-left: 30px;
729
+ }
730
+
731
+ @font-face {
732
+ font-family: 'Montserrat';
733
+ font-style: normal;
734
+ font-weight: 400;
735
+ src: url('../fonts/Montserrat/Montserrat-Regular.eot'); /* IE9 Compat Modes */
736
+ src: url('../fonts/Montserrat/Montserrat-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
737
+ url('../fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'), /* Super Modern Browsers */
738
+ url('../fonts/Montserrat/Montserrat-Regular.woff') format('woff'), /* Pretty Modern Browsers */
739
+ url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
740
+ }
741
+
742
+ @font-face {
743
+ font-family: 'Montserrat';
744
+ font-style: normal;
745
+ font-weight: 700;
746
+ src: url('../fonts/Montserrat/Montserrat-Bold.eot'); /* IE9 Compat Modes */
747
+ src: url('../fonts/Montserrat/Montserrat-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
748
+ url('../fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'), /* Super Modern Browsers */
749
+ url('../fonts/Montserrat/Montserrat-Bold.woff') format('woff'), /* Pretty Modern Browsers */
750
+ url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype'); /* Safari, Android, iOS */
751
+ }
752
+
753
+ @font-face {
754
+ font-family: 'Source Sans Pro';
755
+ src: url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot');
756
+ src: url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
757
+ url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2') format('woff2'),
758
+ url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff') format('woff'),
759
+ url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf') format('truetype'),
760
+ url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
761
+ font-weight: 400;
762
+ font-style: normal;
763
+ }
764
+
765
+ @font-face {
766
+ font-family: 'Source Sans Pro';
767
+ src: url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot');
768
+ src: url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
769
+ url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2') format('woff2'),
770
+ url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff') format('woff'),
771
+ url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf') format('truetype'),
772
+ url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
773
+ font-weight: 300;
774
+ font-style: normal;
775
+
776
+ }