ol-stac 0.0.0 → 0.0.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 (120) hide show
  1. package/README.md +1 -1
  2. package/events/ErrorEvent.d.ts +17 -0
  3. package/events/ErrorEvent.d.ts.map +1 -0
  4. package/{src/ol/events → events}/ErrorEvent.js +9 -11
  5. package/events/ErrorEvent.js.map +1 -0
  6. package/layer/STAC.d.ts +422 -0
  7. package/layer/STAC.d.ts.map +1 -0
  8. package/layer/STAC.js +698 -0
  9. package/layer/STAC.js.map +1 -0
  10. package/layer/stacUtil.d.ts +46 -0
  11. package/layer/stacUtil.d.ts.map +1 -0
  12. package/layer/stacUtil.js +154 -0
  13. package/layer/stacUtil.js.map +1 -0
  14. package/package.json +3 -85
  15. package/source/GeoTIFF2.d.ts +35 -0
  16. package/source/GeoTIFF2.d.ts.map +1 -0
  17. package/{src/ol/source → source}/GeoTIFF2.js +9 -16
  18. package/source/GeoTIFF2.js.map +1 -0
  19. package/.eslintignore +0 -2
  20. package/.github/workflows/deploy.yml +0 -67
  21. package/.github/workflows/publish.yml +0 -32
  22. package/.github/workflows/release.yml +0 -21
  23. package/.github/workflows/test.yml +0 -85
  24. package/CHANGELOG.md +0 -14
  25. package/DEVELOPING.md +0 -104
  26. package/config/jsdoc/api/conf.json +0 -38
  27. package/config/jsdoc/api/index.md +0 -1
  28. package/config/jsdoc/api/readme.md +0 -65
  29. package/config/jsdoc/api/template/README.md +0 -3
  30. package/config/jsdoc/api/template/publish.js +0 -743
  31. package/config/jsdoc/api/template/static/scripts/linenumber.js +0 -11
  32. package/config/jsdoc/api/template/static/scripts/main.js +0 -305
  33. package/config/jsdoc/api/template/static/scripts/prettify/Apache-License-2.0.txt +0 -202
  34. package/config/jsdoc/api/template/static/scripts/prettify/lang-css.js +0 -2
  35. package/config/jsdoc/api/template/static/scripts/prettify/prettify.js +0 -28
  36. package/config/jsdoc/api/template/static/styles/carbon.css +0 -65
  37. package/config/jsdoc/api/template/static/styles/jaguar.css +0 -512
  38. package/config/jsdoc/api/template/static/styles/prettify-jsdoc.css +0 -111
  39. package/config/jsdoc/api/template/static/styles/prettify-tomorrow.css +0 -132
  40. package/config/jsdoc/api/template/static/theme +0 -1
  41. package/config/jsdoc/api/template/tmpl/container.tmpl +0 -205
  42. package/config/jsdoc/api/template/tmpl/details.tmpl +0 -84
  43. package/config/jsdoc/api/template/tmpl/example.tmpl +0 -2
  44. package/config/jsdoc/api/template/tmpl/examples.tmpl +0 -16
  45. package/config/jsdoc/api/template/tmpl/exceptions.tmpl +0 -30
  46. package/config/jsdoc/api/template/tmpl/layout.tmpl +0 -92
  47. package/config/jsdoc/api/template/tmpl/mainpage.tmpl +0 -14
  48. package/config/jsdoc/api/template/tmpl/members.tmpl +0 -38
  49. package/config/jsdoc/api/template/tmpl/method.tmpl +0 -132
  50. package/config/jsdoc/api/template/tmpl/navigation.tmpl +0 -59
  51. package/config/jsdoc/api/template/tmpl/observables.tmpl +0 -39
  52. package/config/jsdoc/api/template/tmpl/params.tmpl +0 -109
  53. package/config/jsdoc/api/template/tmpl/properties.tmpl +0 -85
  54. package/config/jsdoc/api/template/tmpl/returns.tmpl +0 -72
  55. package/config/jsdoc/api/template/tmpl/source.tmpl +0 -8
  56. package/config/jsdoc/api/template/tmpl/stability.tmpl +0 -7
  57. package/config/jsdoc/api/template/tmpl/tutorial.tmpl +0 -19
  58. package/config/jsdoc/api/template/tmpl/type.tmpl +0 -7
  59. package/config/jsdoc/info/conf.json +0 -22
  60. package/config/jsdoc/info/publish.js +0 -175
  61. package/config/jsdoc/package.json +0 -4
  62. package/config/jsdoc/plugins/api.cjs +0 -181
  63. package/config/jsdoc/plugins/default-export.cjs +0 -35
  64. package/config/jsdoc/plugins/define-plugin.cjs +0 -33
  65. package/config/jsdoc/plugins/events.cjs +0 -39
  66. package/config/jsdoc/plugins/inline-options.cjs +0 -102
  67. package/config/jsdoc/plugins/markdown.cjs +0 -119
  68. package/config/jsdoc/plugins/observable.cjs +0 -69
  69. package/config/jsdoc/plugins/virtual-plugin.cjs +0 -16
  70. package/config/rollup-full-build.js +0 -24
  71. package/config/tsconfig-build.json +0 -25
  72. package/examples/.eslintrc +0 -29
  73. package/examples/index.html +0 -100
  74. package/examples/index.js +0 -109
  75. package/examples/planetary-computer.html +0 -14
  76. package/examples/planetary-computer.js +0 -53
  77. package/examples/resources/Jugl.js +0 -15
  78. package/examples/resources/common.js +0 -111
  79. package/examples/stac-collection-webmaplinks.html +0 -9
  80. package/examples/stac-collection-webmaplinks.js +0 -55
  81. package/examples/stac-item-from-object.html +0 -9
  82. package/examples/stac-item-from-object.js +0 -102
  83. package/examples/stac-item-tileserver.html +0 -9
  84. package/examples/stac-item-tileserver.js +0 -34
  85. package/examples/stac-item.html +0 -9
  86. package/examples/stac-item.js +0 -45
  87. package/examples/stac-itemcollection.html +0 -11
  88. package/examples/stac-itemcollection.js +0 -39
  89. package/examples/templates/example.html +0 -206
  90. package/examples/templates/readme.md +0 -3
  91. package/examples/webpack/config.mjs +0 -69
  92. package/examples/webpack/example-builder.js +0 -410
  93. package/site/build.js +0 -26
  94. package/site/layouts/default.hbs +0 -78
  95. package/site/src/doc/faq.md +0 -8
  96. package/site/src/doc/index.md +0 -22
  97. package/site/src/doc/quickstart.md +0 -121
  98. package/site/src/doc/tutorials/index.md +0 -8
  99. package/site/src/download/index.hbs +0 -62
  100. package/site/src/favicon.ico +0 -0
  101. package/site/src/index.hbs +0 -71
  102. package/site/src/theme/index.css +0 -26
  103. package/site/src/theme/site.css +0 -531
  104. package/src/ol/layer/STAC.js +0 -780
  105. package/src/ol/layer/stacUtil.js +0 -169
  106. package/tasks/.eslintrc +0 -5
  107. package/tasks/build-website.sh +0 -90
  108. package/tasks/create-release.js +0 -107
  109. package/tasks/generate-index.js +0 -125
  110. package/tasks/generate-info.js +0 -189
  111. package/tasks/get-latest-release.js +0 -36
  112. package/tasks/newest-tag.js +0 -52
  113. package/tasks/prepare-package.js +0 -46
  114. package/tasks/publish.sh +0 -90
  115. package/test/README.md +0 -56
  116. package/test/browser/.eslintrc +0 -14
  117. package/test/browser/karma.config.cjs +0 -94
  118. package/test/browser/spec/ol/layer/STAC.test.js +0 -18
  119. package/test/browser/test-extensions.js +0 -419
  120. package/tsconfig.json +0 -62
@@ -1,62 +0,0 @@
1
- ---
2
- title: 'Get the Code'
3
- layout: default.hbs
4
- ---
5
- <div class="container mt-4 pt-4">
6
- <div class="row">
7
- <h3 class="col-sm-12">The <code>ol-stac</code> package</h3>
8
- <div class="col-sm-12">
9
- <p>
10
- The recommended way to use OL STAC is to work with the <a href="https://www.npmjs.com/package/ol"><code>ol-stac</code> package</a>.
11
- </p>
12
- <p>
13
- To add OL STAC to an existing project, install the latest with <code>npm</code>:
14
- <pre><code class="language-shell-session">npm install ol-stac</code></pre>
15
- </p>
16
- <p>
17
- If you are starting a new project from scratch, see the <a href="../doc/quickstart.html">quick start docs</a> for more information.
18
- </p>
19
- </div>
20
- </div>
21
- <div class="row">
22
- <h3 class="col-sm-12">Hosted build for development</h3>
23
- <div class="col-sm-12">
24
- <p>
25
- If you want to try out OpenLayers without downloading anything (<b>not recommended for production</b>), include the following in the head of your html page:
26
- <pre><code class="language-html">&lt;script src="https://cdn.jsdelivr.net/npm/geotiff"&gt;&lt;/script&
27
- &lt;script src="https://cdn.jsdelivr.net/npm/ol/dist/ol.js"&gt;&lt;/script&gt;
28
- &lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol/ol.css"&gt;
29
- &lt;script src="https://cdn.jsdelivr.net/npm/ol-stac@{{ version }}/dist/ol-stac.js"&gt;&lt;/script&gt;</code></pre>
30
- </p>
31
- <p>
32
- The full build of the library does not include all dependencies: the <code>geotiff</code> package is omitted. If you use these, you'll need to add additional script tags.
33
- </p>
34
- </div>
35
- </div>
36
- <div class="row">
37
- <h3 class="col-sm-12">Downloads for the {{ version }} release</h3>
38
- </div>
39
- <div class="row">
40
- <div class="col-sm-12">
41
- <table class="table table-hover">
42
- <tbody>
43
- <tr><th>Archive</th><th>Description</th></tr>
44
- <tr>
45
- <td><a href="https://github.com/m-mohr/ol-stac/releases/download/{{ version }}/{{ version }}-site.zip">{{ version }}-site.zip</a></td>
46
- <td>Includes examples and documentation.</td>
47
- </tr>
48
- <tr>
49
- <td><a href="https://github.com/m-mohr/ol-stac/releases/download/{{ version }}/{{ version }}-package.zip">{{ version }}-package.zip</a></td>
50
- <td>Includes sources and the full build of the library.</td>
51
- </tr>
52
- </tbody>
53
- </table>
54
- <p>
55
- See the <a href="https://github.com/m-mohr/ol-stac/releases/tag/{{ version }}">{{ version }} release page</a> for a changelog and any special upgrade notes.
56
- </p>
57
- <p>
58
- For archives of previous releases, see the <a href="https://github.com/m-mohr/ol-stac/releases/">complete list of releases</a>.
59
- </p>
60
- </div>
61
- </div>
62
- </div>
Binary file
@@ -1,71 +0,0 @@
1
- ---
2
- title: Welcome
3
- layout: default.hbs
4
- uncontained: true
5
- head:
6
- - <link rel="stylesheet" type="text/css" href="/ol-stac/theme/index.css">
7
- ---
8
- <div class='container'>
9
- <div class='row' id='news'>
10
- <div class='col-sm-12'>
11
- <h1 class='topic'><i class='fa fa-rss'></i> Latest</h1>
12
- <p><strong>OL STAC <a href="/ol-stac/download/">{{ version }}</a> is here!</strong> Check out the <a href="/ol-stac/doc/">docs</a> and the <a href="/ol-stac/en/latest/examples/">examples</a> to get started. The full distribution can be downloaded from the <a href="/ol-stac/download/">release page</a>.</p>
13
- </div>
14
- </div>
15
- <div class='row'>
16
- <h1 class='topic col-sm-12'>Overview</h1>
17
- </div>
18
- <div class='row'>
19
- <div class='col-sm-12'>
20
- <p>OL STAC makes it easy to put STAC resources on a dynamic OpenLayers map. It can display geometries, GeoTIFF files, web map layers and more. It is completely free, Open Source JavaScript, released under the Apache 2.0 license.</p>
21
- </div>
22
- </div>
23
- <div class='row'>
24
- <h1 class='topic col-sm-12'>Learn More</h1>
25
- </div>
26
- <div class='row'>
27
- <div class='col-sm-6'>
28
- <a href='./doc/quickstart.html'>
29
- <h3><i class='fa fa-check'></i> Quick Start</h3>
30
- </a>
31
- <p>Seen enough already? Go here to get started.</p>
32
- </div>
33
- <div class='col-sm-6'>
34
- <a href='/ol-stac/download/'>
35
- <h3><i class='fa fa-download'></i> Get the Code</h3>
36
- </a>
37
- <p>Get the latest release or dig through the archives.</p>
38
- </div>
39
- </div>
40
- <div class='row'>
41
- <div class='col-sm-6'>
42
- <a href='/ol-stac/doc/tutorials/'>
43
- <h3><i class='fa fa-book'></i> Tutorials</h3>
44
- </a>
45
- <p>Spend time learning the basics and graduate up to advanced mapping techniques.</p>
46
- </div>
47
- </div>
48
- <div class='row'>
49
- <div class='col-sm-6'>
50
- <a href='/ol-stac/en/latest/apidoc/'>
51
- <h3><i class='fa fa-sitemap'></i> API Docs</h3>
52
- </a>
53
- <p>Browse through the API docs for details on code usage.</p>
54
- </div>
55
- </div>
56
- <div class='row'>
57
- <h1 class='topic col-sm-12'>Get Involved</h1>
58
- </div>
59
- <div class='row'>
60
- <div class='col-sm-4'>
61
- <a href='https://github.com/m-mohr/ol-stac'>
62
- <h3><i class="fa fa-code-fork"></i> Fork the repo</h3>
63
- </a>
64
- </div>
65
- <div class='col-sm-4'>
66
- <a href='https://github.com/m-mohr/ol-stac/issues'>
67
- <h3><i class="fa fa-bug"></i> Open a ticket</h3>
68
- </a>
69
- </div>
70
- </div>
71
- </div>
@@ -1,26 +0,0 @@
1
- #news {
2
- background-color: var(--ol-accent-background-color);
3
- border-radius: 4px;
4
- padding: 1rem 0 0;
5
- }
6
-
7
- #news h1 {
8
- margin: 0;
9
- }
10
-
11
- img.thumb {
12
- float: right;
13
- margin-left: 10px;
14
- }
15
-
16
- /* ol customizations */
17
-
18
- .ol-overlaycontainer-stopevent {
19
- opacity: 0;
20
- transition: opacity 300ms ease;
21
- }
22
-
23
- /* not done with :hover because the overlay blocks events and has no height */
24
- .over .ol-overlaycontainer-stopevent {
25
- opacity: 1;
26
- }
@@ -1,531 +0,0 @@
1
- @import url(https://fonts.googleapis.com/css?family=Quattrocento+Sans:400,400italic,700);
2
-
3
- body {
4
- font-family: 'Quattrocento Sans', sans-serif;
5
- font-size: 16px;
6
- color: var(--ol-foreground-color);
7
- padding-top: 54px;
8
- }
9
-
10
- h1,
11
- h2,
12
- h3,
13
- h4,
14
- h5,
15
- h6,
16
- .h1,
17
- .h2,
18
- .h3,
19
- .h4,
20
- .h5,
21
- .h6 {
22
- font-weight: 700
23
- }
24
-
25
- h1,
26
- .row h1 {
27
- margin-top: 30px;
28
- margin-bottom: 20px;
29
- }
30
-
31
- h1.topic {
32
- font-size: 1.5rem;
33
- color: var(--ol-subtle-foreground-color);
34
- text-transform: uppercase;
35
- }
36
-
37
- code {
38
- color: var(--ol-foreground-color);
39
- background-color: var(--ol-accent-background-color);
40
- padding: 0.2em 0.4em;
41
- border-radius: 3px;
42
- }
43
-
44
- a>code,
45
- pre>code {
46
- color: inherit;
47
- background-color: initial;
48
- padding: initial;
49
- border-radius: initial;
50
- }
51
-
52
- a {
53
- color: var(--ol-brand-color);
54
- text-decoration: none
55
- }
56
-
57
- a :not(:first-child) {
58
- color: var(--ol-foreground-color);
59
- }
60
-
61
- a:hover,
62
- a:focus {
63
- color: var(--ol-brand-color);
64
- text-decoration: underline;
65
- }
66
-
67
- .navbar {
68
- background-color: var(--ol-foreground-color);
69
- color: var(--ol-background-color);
70
- border: 0;
71
- border-radius: 0;
72
- }
73
-
74
- .navbar-brand {
75
- color: var(--ol-background-color);
76
- font-weight: bold;
77
- font-size: 160%;
78
- padding: 8px 0;
79
- }
80
-
81
- .navbar-brand img {
82
- height: 35px;
83
- width: 35px;
84
- vertical-align: middle;
85
- margin-right: 5px;
86
- display: inline-block;
87
- }
88
-
89
- .navbar-dark .navbar-nav .nav-link {
90
- color: var(--ol-background-color);
91
- }
92
-
93
- .navbar-dark .navbar-nav .nav-link:hover {
94
- color: var(--ol-brand-color);
95
- }
96
-
97
- .navbar-brand:focus,
98
- .navbar-brand:hover,
99
- .nav-link:focus,
100
- .nav-link:hover {
101
- text-decoration: none;
102
- color: var(--ol-brand-color);
103
- }
104
-
105
- footer {
106
- background-color: var(--ol-foreground-color);
107
- color: var(--ol-background-color);
108
- margin-top: 40px;
109
- padding: 10px;
110
- text-align: center;
111
- }
112
-
113
- a.dropdown-item {
114
- color: var(--ol-foreground-color);
115
- }
116
-
117
- .dropdown-item.active,
118
- .dropdown-item:hover {
119
- color: var(--ol-brand-color);
120
- text-decoration: none;
121
- background-color: var(--ol-background-color);
122
- }
123
-
124
- .navbar-nav>li>a {
125
- color: var(--ol-background-color);
126
- }
127
-
128
- .display-table {
129
- display: table;
130
- }
131
-
132
- .btn-link {
133
- font-weight: 400;
134
- color: var(--ol-subtle-foreground-color);
135
- text-decoration: none;
136
- }
137
-
138
- .btn-link:hover {
139
- color: var(--ol-brand-color);
140
- text-decoration: none;
141
- }
142
-
143
- .version-form,
144
- .navbar-form {
145
- display: table-cell;
146
- vertical-align: middle;
147
- }
148
-
149
- .version-form {
150
- color: var(--ol-foreground-color);
151
- }
152
-
153
- #title {
154
- margin-top: 1em;
155
- }
156
-
157
- .badge-group {
158
- display: inline-block;
159
- }
160
-
161
- .badge-group>.badge:not(:last-child) {
162
- border-top-right-radius: 0;
163
- border-bottom-right-radius: 0;
164
- }
165
-
166
- .badge-group>.badge:not(:first-child) {
167
- border-top-left-radius: 0;
168
- border-bottom-left-radius: 0;
169
- }
170
-
171
- .badge-info {
172
- background-color: var(--ol-subtle-foreground-color);
173
- }
174
-
175
- a.badge-info:focus,
176
- a.badge-info:hover {
177
- background-color: var(--ol-foreground-color);
178
- color: var(--ol-brand-color);
179
- text-decoration: none;
180
- }
181
-
182
- .tag-modal-toggle {
183
- cursor: pointer;
184
- }
185
-
186
- .modal-tag-example .modal-body {
187
- padding: 0;
188
- }
189
-
190
- .modal-tag-example .list-group-item:focus,
191
- .modal-tag-example .list-group-item:hover,
192
- .modal-tag-example .list-group-item:active {
193
- background-color: var(--ol-background-color);
194
- color: var(--ol-brand-color);
195
- }
196
-
197
- .modal-tag-example .list-group-item.active {
198
- background-color: var(--ol-subtle-foreground-color);
199
- color: var(--ol-background-color);
200
- border: none;
201
- }
202
-
203
- #docs {
204
- margin-top: 1em;
205
- }
206
-
207
- ul.inline,
208
- ol.inline {
209
- margin-left: 0;
210
- padding-left: 0;
211
- list-style: none;
212
- }
213
-
214
- ul.inline>li,
215
- ol.inline>li {
216
- display: inline-block;
217
- padding-left: 5px;
218
- padding-right: 5px;
219
- }
220
-
221
- .map {
222
- height: 400px;
223
- width: 100%;
224
- background: var(--ol-background-color);
225
- margin-bottom: 10px;
226
- }
227
-
228
- .ol-control {
229
- line-height: normal;
230
- }
231
-
232
- .ol-attribution.ol-logo-only,
233
- .ol-attribution.ol-uncollapsible {
234
- max-width: calc(100% - 3em);
235
- }
236
-
237
- .iframe-info iframe {
238
- width: 100%;
239
- }
240
-
241
- .source-heading {
242
- margin-top: 1em;
243
- margin-bottom: 0;
244
- padding-left: .6em;
245
- font-weight: bold;
246
- }
247
-
248
- #tags,
249
- #shortdesc,
250
- .hidden {
251
- display: none;
252
- }
253
-
254
- #api-links ul {
255
- display: inline;
256
- }
257
-
258
- #latest-check {
259
- margin-top: -10px;
260
- margin-bottom: 10px;
261
- }
262
-
263
- /* START PRISM THEME */
264
-
265
- /**
266
- * VS theme by Andrew Lock (https://andrewlock.net)
267
- * Inspired by Visual Studio syntax coloring
268
- */
269
-
270
- code[class*="language-"],
271
- pre[class*="language-"] {
272
- color: #393A34;
273
- font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
274
- direction: ltr;
275
- text-align: left;
276
- white-space: pre;
277
- word-spacing: normal;
278
- word-break: normal;
279
- font-size: .9em;
280
- line-height: 1.2em;
281
-
282
- -moz-tab-size: 4;
283
- -o-tab-size: 4;
284
- tab-size: 4;
285
-
286
- -webkit-hyphens: none;
287
- -moz-hyphens: none;
288
- -ms-hyphens: none;
289
- hyphens: none;
290
- }
291
-
292
- pre>code[class*="language-"] {
293
- font-size: 1em;
294
- }
295
-
296
- pre[class*="language-"]::-moz-selection,
297
- pre[class*="language-"] ::-moz-selection,
298
- code[class*="language-"]::-moz-selection,
299
- code[class*="language-"] ::-moz-selection {
300
- background: #C1DEF1;
301
- }
302
-
303
- pre[class*="language-"]::selection,
304
- pre[class*="language-"] ::selection,
305
- code[class*="language-"]::selection,
306
- code[class*="language-"] ::selection {
307
- background: #C1DEF1;
308
- }
309
-
310
- /* Code blocks */
311
- pre[class*="language-"] {
312
- padding: 1em;
313
- margin: .5em 0;
314
- overflow: auto;
315
- border: 1px solid #dddddd;
316
- background-color: white;
317
- }
318
-
319
- /* Inline code */
320
- :not(pre)>code[class*="language-"] {
321
- padding: .2em;
322
- padding-top: 1px;
323
- padding-bottom: 1px;
324
- background: #f8f8f8;
325
- border: 1px solid #dddddd;
326
- }
327
-
328
- .token.comment,
329
- .token.prolog,
330
- .token.doctype,
331
- .token.cdata {
332
- color: #008000;
333
- font-style: italic;
334
- }
335
-
336
- .token.namespace {
337
- opacity: .7;
338
- }
339
-
340
- .token.string {
341
- color: #A31515;
342
- }
343
-
344
- .token.punctuation,
345
- .token.operator {
346
- color: #393A34;
347
- /* no highlight */
348
- }
349
-
350
- .token.url,
351
- .token.symbol,
352
- .token.number,
353
- .token.boolean,
354
- .token.variable,
355
- .token.constant,
356
- .token.inserted {
357
- color: #36acaa;
358
- }
359
-
360
- .token.atrule,
361
- .token.keyword,
362
- .token.attr-value,
363
- .language-autohotkey .token.selector,
364
- .language-json .token.boolean,
365
- .language-json .token.number,
366
- code[class*="language-css"] {
367
- color: #0000ff;
368
- }
369
-
370
- .token.function {
371
- color: #393A34;
372
- }
373
-
374
- .token.deleted,
375
- .language-autohotkey .token.tag {
376
- color: #9a050f;
377
- }
378
-
379
- .token.selector,
380
- .language-autohotkey .token.keyword {
381
- color: #00009f;
382
- }
383
-
384
- .token.important {
385
- color: #e90;
386
- }
387
-
388
- .token.important,
389
- .token.bold {
390
- font-weight: bold;
391
- }
392
-
393
- .token.italic {
394
- font-style: italic;
395
- }
396
-
397
- .token.class-name,
398
- .language-json .token.property {
399
- color: #2B91AF;
400
- }
401
-
402
- .token.tag,
403
- .token.selector {
404
- color: #800000;
405
- }
406
-
407
- .token.attr-name,
408
- .token.property,
409
- .token.regex,
410
- .token.entity {
411
- color: #ff0000;
412
- }
413
-
414
- .token.directive.tag .tag {
415
- background: #ffff00;
416
- color: #393A34;
417
- }
418
-
419
- /* overrides color-values for the Line Numbers plugin
420
- * http://prismjs.com/plugins/line-numbers/
421
- */
422
- .line-numbers.line-numbers .line-numbers-rows {
423
- border-right-color: #a5a5a5;
424
- }
425
-
426
- .line-numbers .line-numbers-rows>span:before {
427
- color: #2B91AF;
428
- }
429
-
430
- /* overrides color-values for the Line Highlight plugin
431
- * http://prismjs.com/plugins/line-highlight/
432
- */
433
- .line-highlight.line-highlight {
434
- background: rgba(193, 222, 241, 0.2);
435
- background: -webkit-linear-gradient(left, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0));
436
- background: linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0));
437
- }
438
-
439
- /* END PRISM THEME */
440
-
441
- /* restyle prism copy button */
442
- div.code-toolbar {
443
- position: relative;
444
- }
445
-
446
- div.code-toolbar>.toolbar {
447
- opacity: 0;
448
- position: absolute;
449
- right: 0;
450
- top: 0;
451
- transition: opacity .2s ease-in-out;
452
- }
453
-
454
- div.code-toolbar:hover>.toolbar,
455
- div.code-toolbar:focus-within>.toolbar {
456
- opacity: 1;
457
- }
458
-
459
- div.code-toolbar>.toolbar button {
460
- font-size: 16px;
461
- color: var(--ol-subtle-foreground-color);
462
- background-color: transparent;
463
- box-shadow: none;
464
- padding: .615rem .75rem;
465
- border: none;
466
- }
467
-
468
- div.code-toolbar>.toolbar button:hover,
469
- div.code-toolbar>.toolbar button:focus {
470
- color: var(--ol-brand-color);
471
- }
472
-
473
- div.code-toolbar>.toolbar button:focus {
474
- outline: 0;
475
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
476
- }
477
-
478
- div.code-toolbar>.toolbar button {
479
- background-color: rgba(255, 255, 255, .625);
480
- border-radius: 0 0 0 10px;
481
- margin: 1px;
482
- }
483
- div.code-toolbar>.toolbar button:before {
484
- font: var(--fa-font-solid);
485
- font-size: 1.33333333em;
486
- line-height: .75em;
487
- content: "\f0ea";
488
- text-rendering: auto;
489
- -webkit-font-smoothing: antialiased;
490
- margin-right: .184em;
491
- vertical-align: middle;
492
- }
493
-
494
- /* jarguar overrides for jsdoc */
495
- .navigation {
496
- background-color: var(--ol-foreground-color);
497
- color: var(--ol-background-color);
498
- }
499
-
500
- .navigation li.item .subtitle {
501
- color: var(--ol-background-color);
502
- }
503
-
504
- .navigation li.item a:hover,
505
- .navigation li.item .title a:hover {
506
- color: var(--ol-brand-color);
507
- }
508
-
509
- .main .subsection-title {
510
- color: var(--ol-foreground-color);
511
- }
512
-
513
- .main .nameContainer,
514
- .main .nameContainer.inherited {
515
- border-top-color: var(--ol-subtle-foreground-color);
516
- color: var(--ol-foreground-color);
517
- }
518
-
519
- .nameContainer .anchor:target+h4 {
520
- background-color: inherit;
521
- }
522
-
523
- @media (min-width: 1400px) {
524
- .container {
525
- max-width: 1140px;
526
- }
527
- }
528
-
529
- table.featureInfo {
530
- caption-side: initial;
531
- }