musora-content-services 1.6.5 → 1.6.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.
Files changed (127) hide show
  1. package/.github/workflows/conventional-commits.yaml +16 -0
  2. package/.github/workflows/docs.js.yml +58 -0
  3. package/.github/workflows/node.js.yml +0 -0
  4. package/.prettierignore +0 -0
  5. package/.prettierrc +0 -0
  6. package/.yarnrc.yml +1 -0
  7. package/CHANGELOG.md +9 -0
  8. package/README.md +1 -2
  9. package/babel.config.cjs +0 -0
  10. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  11. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  12. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  13. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  14. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  17. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  18. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  19. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  20. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  21. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  27. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  28. package/docs/scripts/collapse.js +0 -0
  29. package/docs/scripts/commonNav.js +0 -0
  30. package/docs/scripts/linenumber.js +0 -0
  31. package/docs/scripts/nav.js +0 -0
  32. package/docs/scripts/polyfill.js +0 -0
  33. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  34. package/docs/scripts/prettify/lang-css.js +0 -0
  35. package/docs/scripts/prettify/prettify.js +0 -0
  36. package/docs/scripts/search.js +0 -0
  37. package/docs/styles/jsdoc.css +0 -0
  38. package/docs/styles/prettify.css +0 -0
  39. package/docs/v2/Content-Organization.html +245 -0
  40. package/docs/v2/ContentOrganization.html +245 -0
  41. package/docs/v2/Gamification.html +245 -0
  42. package/docs/v2/UserManagement.html +269 -0
  43. package/docs/v2/UserManagementSystem.html +317 -0
  44. package/docs/v2/api_types.js.html +97 -0
  45. package/docs/v2/config.js.html +143 -0
  46. package/docs/v2/content-org_content-org.js.html +76 -0
  47. package/docs/v2/content-org_playlists-types.js.html +116 -0
  48. package/docs/v2/content-org_playlists.js.html +418 -0
  49. package/docs/v2/content.js.html +466 -0
  50. package/docs/v2/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  51. package/docs/v2/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  52. package/docs/v2/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  53. package/docs/v2/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  54. package/docs/v2/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  55. package/docs/v2/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  56. package/docs/v2/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  57. package/docs/v2/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  58. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  59. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  60. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  61. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  62. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  63. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  64. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  65. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  66. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  67. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  68. package/docs/v2/gamification_awards.js.html +664 -0
  69. package/docs/v2/gamification_gamification.js.html +76 -0
  70. package/docs/v2/gamification_types.js.html +98 -0
  71. package/docs/v2/global.html +5812 -0
  72. package/docs/v2/global.html#User +293 -0
  73. package/docs/v2/index.html +168 -0
  74. package/docs/v2/module-Awards.html +354 -0
  75. package/docs/v2/module-Config.html +434 -0
  76. package/docs/v2/module-Content-Services-V2.html +2434 -0
  77. package/docs/v2/module-Interests.html +1066 -0
  78. package/docs/v2/module-Notifications.html +1183 -0
  79. package/docs/v2/module-Permissions.html +406 -0
  80. package/docs/v2/module-Playlists.html +2862 -0
  81. package/docs/v2/module-Railcontent-Services.html +7954 -0
  82. package/docs/v2/module-Sanity-Services.html +9608 -0
  83. package/docs/v2/module-Session-Management.html +575 -0
  84. package/docs/v2/module-Sessions.html +575 -0
  85. package/docs/v2/module-User-Activity.html +4410 -0
  86. package/docs/v2/module-User-Management.html +490 -0
  87. package/docs/v2/module-User-Permissions.html +406 -0
  88. package/docs/v2/module-UserActivity.html +4410 -0
  89. package/docs/v2/module-UserManagement.html +915 -0
  90. package/docs/v2/module-UserNotifications.html +1223 -0
  91. package/docs/v2/module-UserProfile.html +266 -0
  92. package/docs/v2/railcontent.js.html +984 -0
  93. package/docs/v2/sanity.js.html +2459 -0
  94. package/docs/v2/scripts/collapse.js +39 -0
  95. package/docs/v2/scripts/commonNav.js +28 -0
  96. package/docs/v2/scripts/linenumber.js +25 -0
  97. package/docs/v2/scripts/nav.js +12 -0
  98. package/docs/v2/scripts/polyfill.js +4 -0
  99. package/docs/v2/scripts/prettify/Apache-License-2.0.txt +202 -0
  100. package/docs/v2/scripts/prettify/lang-css.js +2 -0
  101. package/docs/v2/scripts/prettify/prettify.js +28 -0
  102. package/docs/v2/scripts/search.js +99 -0
  103. package/docs/v2/styles/jsdoc.css +776 -0
  104. package/docs/v2/styles/prettify.css +80 -0
  105. package/docs/v2/types.js.html +122 -0
  106. package/docs/v2/userActivity.js.html +1451 -0
  107. package/docs/v2/user_interests.js.html +150 -0
  108. package/docs/v2/user_management.js.html +178 -0
  109. package/docs/v2/user_notifications.js.html +192 -0
  110. package/docs/v2/user_permissions.js.html +110 -0
  111. package/docs/v2/user_profile.js.html +105 -0
  112. package/docs/v2/user_sessions.js.html +139 -0
  113. package/docs/v2/user_types.js.html +208 -0
  114. package/docs/v2/user_user-management-system.js.html +79 -0
  115. package/docs/v2/user_user-management.js.html +78 -0
  116. package/jest.config.js +0 -0
  117. package/package.json +1 -1
  118. package/src/contentTypeConfig.js +27 -12
  119. package/src/services/imageSRCVerify.js +0 -0
  120. package/src/services/sanity.js +124 -82
  121. package/test/dataContext.test.js +0 -0
  122. package/test/imageSRCBuilder.test.js +0 -0
  123. package/test/imageSRCVerify.test.js +0 -0
  124. package/test/live/contentProgressLive.test.js +0 -0
  125. package/test/live/railcontentLive.test.js +0 -0
  126. package/test/localStorageMock.js +0 -0
  127. package/test/log.js +0 -0
@@ -0,0 +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, 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
+ }