larvitar 0.18.2 → 1.2.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 (229) hide show
  1. package/.github/workflows/deploy.yml +3 -12
  2. package/MIGRATION.md +25 -0
  3. package/README.md +28 -27
  4. package/docs/documentation/Mixins.polygonSegmentationMixin%20-%20segmentation%20operations%20for%20polyline.html +171 -0
  5. package/docs/documentation/Tools.Annotation.ContoursTool.html +218 -0
  6. package/docs/documentation/Tools.Annotation.DiameterTool.html +219 -0
  7. package/docs/documentation/Tools.Annotation.SeedsTool.html +214 -0
  8. package/docs/documentation/Tools.Brush.BrushTool.html +218 -0
  9. package/docs/documentation/Tools.Brush.ThresholdsBrushTool.html +218 -0
  10. package/docs/documentation/Tools.PolylineScissorsTool.html +218 -0
  11. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  12. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  13. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  14. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  15. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  16. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  17. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  18. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  19. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  20. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  21. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  22. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  23. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  24. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  25. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  26. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  27. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  28. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  29. package/docs/documentation/global.html +1303 -0
  30. package/docs/documentation/imageAnonymization.js.html +245 -0
  31. package/docs/documentation/imageColormaps.js.html +283 -0
  32. package/docs/documentation/imageContours.js.html +278 -0
  33. package/docs/documentation/imageIo.js.html +291 -0
  34. package/docs/documentation/imageLayers.js.html +188 -0
  35. package/docs/documentation/imageLoading.js.html +297 -0
  36. package/docs/documentation/imageParsing.js.html +385 -0
  37. package/docs/documentation/imagePresets.js.html +207 -0
  38. package/docs/documentation/imageRendering.js.html +849 -0
  39. package/docs/documentation/imageReslice.js.html +162 -0
  40. package/docs/documentation/imageStore.js.html +360 -0
  41. package/docs/documentation/imageTools.js.html +784 -0
  42. package/docs/documentation/imageUtils.js.html +1609 -0
  43. package/docs/documentation/image_colormaps.js.html +283 -0
  44. package/docs/documentation/image_contours.js.html +279 -0
  45. package/docs/documentation/image_io.js.html +288 -0
  46. package/docs/documentation/image_layers.js.html +188 -0
  47. package/docs/documentation/image_loading.js.html +294 -0
  48. package/docs/documentation/image_parsing.js.html +391 -0
  49. package/docs/documentation/image_presets.js.html +207 -0
  50. package/docs/documentation/image_rendering.js.html +845 -0
  51. package/docs/documentation/image_reslice.js.html +164 -0
  52. package/docs/documentation/image_store.js.html +359 -0
  53. package/docs/documentation/image_tools.js.html +792 -0
  54. package/docs/documentation/image_utils.js.html +1609 -0
  55. package/docs/documentation/index.html +175 -0
  56. package/docs/documentation/loaders_commonLoader.js.html +306 -0
  57. package/docs/documentation/loaders_dicomLoader.js.html +130 -0
  58. package/docs/documentation/loaders_fileLoader.js.html +155 -0
  59. package/docs/documentation/loaders_multiframeLoader.js.html +443 -0
  60. package/docs/documentation/loaders_niftiLoader.js.html +150 -0
  61. package/docs/documentation/loaders_nrrdLoader.js.html +545 -0
  62. package/docs/documentation/loaders_resliceLoader.js.html +258 -0
  63. package/docs/documentation/module-imaging_contours.html +954 -0
  64. package/docs/documentation/module-imaging_imageAnonymization.html +544 -0
  65. package/docs/documentation/module-imaging_imageColormaps.html +1012 -0
  66. package/docs/documentation/module-imaging_imageContours.html +954 -0
  67. package/docs/documentation/module-imaging_imageIo.html +1057 -0
  68. package/docs/documentation/module-imaging_imageLayers.html +904 -0
  69. package/docs/documentation/module-imaging_imageLoading.html +1301 -0
  70. package/docs/documentation/module-imaging_imageParsing.html +1356 -0
  71. package/docs/documentation/module-imaging_imagePresets.html +679 -0
  72. package/docs/documentation/module-imaging_imageRendering.html +3223 -0
  73. package/docs/documentation/module-imaging_imageReslice.html +413 -0
  74. package/docs/documentation/module-imaging_imageStore-Larvitar_Store.html +284 -0
  75. package/docs/documentation/module-imaging_imageStore.html +1560 -0
  76. package/docs/documentation/module-imaging_imageTools.html +3617 -0
  77. package/docs/documentation/module-imaging_imageUtils.html +7253 -0
  78. package/docs/documentation/module-imaging_io.html +1057 -0
  79. package/docs/documentation/module-imaging_layers.html +904 -0
  80. package/docs/documentation/module-imaging_loading.html +1301 -0
  81. package/docs/documentation/module-imaging_parsing.html +1375 -0
  82. package/docs/documentation/module-imaging_presets.html +679 -0
  83. package/docs/documentation/module-imaging_rendering.html +8094 -0
  84. package/docs/documentation/module-imaging_reslice.html +411 -0
  85. package/docs/documentation/module-imaging_store-Larvitar_Store.html +284 -0
  86. package/docs/documentation/module-imaging_store.html +1537 -0
  87. package/docs/documentation/module-imaging_strategies_eraseFreehand.html +708 -0
  88. package/docs/documentation/module-imaging_strategies_fillFreehand.html +708 -0
  89. package/docs/documentation/module-imaging_tools.html +3617 -0
  90. package/docs/documentation/module-imaging_tools_custom_contourTool.html +207 -0
  91. package/docs/documentation/module-imaging_tools_custom_diameterTool.html +205 -0
  92. package/docs/documentation/module-imaging_tools_custom_editMaskTool.html +205 -0
  93. package/docs/documentation/module-imaging_tools_custom_polygonScissorsTool.html +203 -0
  94. package/docs/documentation/module-imaging_tools_custom_thresholdBrushTool.html +684 -0
  95. package/docs/documentation/module-imaging_tools_default.html +205 -0
  96. package/docs/documentation/module-imaging_tools_interaction.html +530 -0
  97. package/docs/documentation/module-imaging_tools_io.html +832 -0
  98. package/docs/documentation/module-imaging_tools_main.html +2028 -0
  99. package/docs/documentation/module-imaging_tools_polygonSegmentationMixin.html +567 -0
  100. package/docs/documentation/module-imaging_tools_segmentation.html +3586 -0
  101. package/docs/documentation/module-imaging_tools_state.html +494 -0
  102. package/docs/documentation/module-imaging_utils.html +7253 -0
  103. package/docs/documentation/module-loaders_commonLoader.html +1313 -0
  104. package/docs/documentation/module-loaders_dicomLoader.html +522 -0
  105. package/docs/documentation/module-loaders_fileLoader.html +593 -0
  106. package/docs/documentation/module-loaders_multiframeLoader.html +1169 -0
  107. package/docs/documentation/module-loaders_niftiLoader.html +565 -0
  108. package/docs/documentation/module-loaders_nrrdLoader.html +1459 -0
  109. package/docs/documentation/module-loaders_resliceLoader.html +590 -0
  110. package/docs/documentation/module-monitors_memory.html +980 -0
  111. package/docs/documentation/module-tools_default.html +740 -0
  112. package/docs/documentation/module.exports_module.exports.html +203 -0
  113. package/docs/documentation/monitors_memory.js.html +189 -0
  114. package/docs/documentation/parsers_nrrd.js.html +569 -0
  115. package/docs/documentation/scripts/collapse.js +20 -0
  116. package/docs/documentation/scripts/linenumber.js +25 -0
  117. package/docs/documentation/scripts/nav.js +12 -0
  118. package/docs/documentation/scripts/polyfill.js +4 -0
  119. package/docs/documentation/scripts/prettify/Apache-License-2.0.txt +202 -0
  120. package/docs/documentation/scripts/prettify/lang-css.js +2 -0
  121. package/docs/documentation/scripts/prettify/prettify.js +28 -0
  122. package/docs/documentation/scripts/search.js +83 -0
  123. package/docs/documentation/styles/jsdoc.css +765 -0
  124. package/docs/documentation/styles/prettify.css +80 -0
  125. package/docs/documentation/tools_contourTool.js.html +1963 -0
  126. package/docs/documentation/tools_custom_contourTool.js.html +1968 -0
  127. package/docs/documentation/tools_custom_diameterTool.js.html +225 -0
  128. package/docs/documentation/tools_custom_editMaskTool.js.html +225 -0
  129. package/docs/documentation/tools_custom_polylineScissorsTool.js.html +143 -0
  130. package/docs/documentation/tools_custom_thresholdsBrushTool.js.html +245 -0
  131. package/docs/documentation/tools_default.js.html +576 -0
  132. package/docs/documentation/tools_diameterTool.js.html +219 -0
  133. package/docs/documentation/tools_editMaskTool.js.html +219 -0
  134. package/docs/documentation/tools_interaction.js.html +258 -0
  135. package/docs/documentation/tools_io.js.html +297 -0
  136. package/docs/documentation/tools_main.js.html +443 -0
  137. package/docs/documentation/tools_polygonSegmentationMixin.js.html +329 -0
  138. package/docs/documentation/tools_polylineScissorsTool.js.html +136 -0
  139. package/docs/documentation/tools_seedTool.js.html +423 -0
  140. package/docs/documentation/tools_segmentation.js.html +558 -0
  141. package/docs/documentation/tools_state.js.html +163 -0
  142. package/docs/documentation/tools_strategies_eraseFreehand.js.html +160 -0
  143. package/docs/documentation/tools_strategies_fillFreehand.js.html +163 -0
  144. package/docs/documentation/tools_thresholdsBrushTool.js.html +239 -0
  145. package/docs/documentation/tools_tools.default.js.html +569 -0
  146. package/docs/documentation/tools_tools.interaction.js.html +251 -0
  147. package/docs/documentation/tools_tools.io.js.html +288 -0
  148. package/docs/documentation/tools_tools.main.js.html +442 -0
  149. package/docs/documentation/tools_tools.segmentation.js.html +445 -0
  150. package/docs/documentation/tools_tools.state.js.html +157 -0
  151. package/docs/examples/base.html +170 -0
  152. package/docs/examples/colorMaps.html +181 -0
  153. package/docs/examples/defaultTools.html +246 -0
  154. package/docs/examples/demo/anon1 +0 -0
  155. package/docs/examples/demo/anon10 +0 -0
  156. package/docs/examples/demo/anon11 +0 -0
  157. package/docs/examples/demo/anon12 +0 -0
  158. package/docs/examples/demo/anon13 +0 -0
  159. package/docs/examples/demo/anon14 +0 -0
  160. package/docs/examples/demo/anon15 +0 -0
  161. package/docs/examples/demo/anon16 +0 -0
  162. package/docs/examples/demo/anon17 +0 -0
  163. package/docs/examples/demo/anon18 +0 -0
  164. package/docs/examples/demo/anon19 +0 -0
  165. package/docs/examples/demo/anon2 +0 -0
  166. package/docs/examples/demo/anon20 +0 -0
  167. package/docs/examples/demo/anon21 +0 -0
  168. package/docs/examples/demo/anon22 +0 -0
  169. package/docs/examples/demo/anon23 +0 -0
  170. package/docs/examples/demo/anon24 +0 -0
  171. package/docs/examples/demo/anon3 +0 -0
  172. package/docs/examples/demo/anon4 +0 -0
  173. package/docs/examples/demo/anon5 +0 -0
  174. package/docs/examples/demo/anon6 +0 -0
  175. package/docs/examples/demo/anon7 +0 -0
  176. package/docs/examples/demo/anon8 +0 -0
  177. package/docs/examples/demo/anon9 +0 -0
  178. package/docs/examples/demo/example.nrrd +0 -0
  179. package/docs/examples/demo/segmentation.nrrd +0 -0
  180. package/docs/examples/demo/xa_integris.dcm +0 -0
  181. package/docs/examples/index.html +129 -0
  182. package/docs/examples/larvitar.js +108623 -0
  183. package/docs/examples/layers.html +250 -0
  184. package/docs/examples/masks.html +273 -0
  185. package/docs/examples/multiframe.html +200 -0
  186. package/docs/examples/nrrd.html +96 -0
  187. package/docs/examples/reslice.html +174 -0
  188. package/docs/index.html +92 -0
  189. package/imaging/dataDictionary.json +21865 -21865
  190. package/imaging/imageAnonymization.js +161 -0
  191. package/imaging/{image_colormaps.js → imageColormaps.js} +2 -2
  192. package/imaging/{image_contours.js → imageContours.js} +1 -2
  193. package/imaging/{image_io.js → imageIo.js} +18 -15
  194. package/imaging/{image_layers.js → imageLayers.js} +2 -2
  195. package/imaging/{image_loading.js → imageLoading.js} +9 -6
  196. package/imaging/imageParsing.js +301 -0
  197. package/imaging/{image_presets.js → imagePresets.js} +2 -2
  198. package/imaging/{image_rendering.js → imageRendering.js} +36 -32
  199. package/imaging/imageReslice.js +78 -0
  200. package/imaging/{image_store.js → imageStore.js} +8 -7
  201. package/imaging/{image_tools.js → imageTools.js} +15 -23
  202. package/imaging/{image_utils.js → imageUtils.js} +1 -1
  203. package/imaging/loaders/commonLoader.js +1 -1
  204. package/imaging/loaders/dicomLoader.js +1 -1
  205. package/imaging/loaders/fileLoader.js +2 -2
  206. package/imaging/loaders/multiframeLoader.js +6 -2
  207. package/imaging/loaders/nrrdLoader.js +11 -7
  208. package/imaging/tools/{contourTool.js → custom/contourTool.js} +25 -20
  209. package/imaging/tools/{diameterTool.js → custom/diameterTool.js} +9 -3
  210. package/imaging/tools/{editMaskTool.js → custom/editMaskTool.js} +7 -1
  211. package/imaging/tools/{polylineScissorsTool.js → custom/polylineScissorsTool.js} +12 -5
  212. package/imaging/tools/{seedTool.js → custom/seedTool.js} +3 -3
  213. package/imaging/tools/{thresholdsBrushTool.js → custom/thresholdsBrushTool.js} +7 -1
  214. package/imaging/tools/{tools.default.js → default.js} +10 -3
  215. package/imaging/tools/{tools.interaction.js → interaction.js} +13 -6
  216. package/imaging/tools/{tools.io.js → io.js} +15 -6
  217. package/imaging/tools/{tools.main.js → main.js} +16 -14
  218. package/imaging/tools/polygonSegmentationMixin.js +8 -4
  219. package/imaging/tools/{tools.segmentation.js → segmentation.js} +171 -58
  220. package/imaging/tools/segmentations.md +38 -0
  221. package/imaging/tools/setLabelMap3D.js +248 -0
  222. package/imaging/tools/{tools.state.js → state.js} +7 -1
  223. package/imaging/tools/strategies/eraseFreehand.js +8 -9
  224. package/imaging/tools/strategies/fillFreehand.js +8 -9
  225. package/index.js +44 -39
  226. package/modules/vuex/larvitar.js +13 -3
  227. package/package.json +13 -10
  228. package/imaging/image_parsing.js +0 -307
  229. package/imaging/image_reslice.js +0 -80
@@ -0,0 +1,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 {
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
+ }