wiki-plugin-globe 0.2.0 → 0.2.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.
package/client/globe.html CHANGED
@@ -15,7 +15,11 @@
15
15
  #legend span { display: inline-block; margin-right: 10px; white-space: nowrap; cursor: pointer; opacity: .45; }
16
16
  #legend span.on { opacity: 1; }
17
17
  #legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }
18
- .card { background: rgba(255,255,255,.96); border: 1px solid #ccc; border-radius: 6px; padding: 5px 8px;
18
+ /* globe.gl wraps the hover label in .float-tooltip-kap with its own dark-theme colours (#eee on
19
+ translucent black); on this white globe that left the card's text white on white. Clear its
20
+ box and set the card's own colour. */
21
+ .float-tooltip-kap { background: none !important; padding: 0 !important; color: #222 !important; }
22
+ .card { background: rgba(255,255,255,.96); color: #222; border: 1px solid #ccc; border-radius: 6px; padding: 5px 8px;
19
23
  font-size: 12px; max-width: 240px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
20
24
  </style>
21
25
  <!-- Everything the globe needs ships beside this file, so it draws with no network at all. -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-plugin-globe",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Federated Wiki plugin — draws a globe.gl globe from the pins in Map items, GeoJSON files and pins typed into the item, and offers them back as markerData so a Map item can freeze them",
5
5
  "type": "module",
6
6
  "main": "client/globe.js",