@jupytergis/jupytergis-lab 0.4.4 → 0.4.5

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 (2) hide show
  1. package/package.json +3 -3
  2. package/style/base.css +44 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-lab",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "JupyterGIS Lab extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@jupyter/collaborative-drive": "^3.0.0",
56
- "@jupytergis/base": "^0.4.4",
57
- "@jupytergis/schema": "^0.4.4",
56
+ "@jupytergis/base": "^0.4.5",
57
+ "@jupytergis/schema": "^0.4.5",
58
58
  "@jupyterlab/application": "^4.3.0",
59
59
  "@jupyterlab/apputils": "^4.3.0",
60
60
  "@jupyterlab/completer": "^4.3.0",
package/style/base.css CHANGED
@@ -95,6 +95,7 @@
95
95
  }
96
96
 
97
97
  .jGIS-sidepanel-widget {
98
+ overflow: auto;
98
99
  height: 100%;
99
100
  }
100
101
 
@@ -235,7 +236,7 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
235
236
  margin-left: 1px;
236
237
  margin-top: 1px;
237
238
  padding: 1em;
238
- color: #fff;
239
+ color: var(--jp-ui-font-color0);
239
240
  background: var(--jp-layout-color1);
240
241
  border-radius: 0.5em;
241
242
  font-size: 12px;
@@ -252,10 +253,6 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
252
253
  overflow: auto;
253
254
  }
254
255
 
255
- .jGIS-Annotations {
256
- overflow: auto;
257
- }
258
-
259
256
  .jGIS-Annotation-Card {
260
257
  max-height: 400px;
261
258
  overflow: auto;
@@ -420,6 +417,18 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
420
417
  height: 600px;
421
418
  width: 100%;
422
419
  }
420
+
421
+ /* Support output views, created with "Create new view for cell output" context menu */
422
+ .jp-LinkedOutputView .jp-OutputArea-child:only-child {
423
+ /* NOTE: This will eventually be supported directly in JupyterLab
424
+ * (https://github.com/jupyterlab/jupyterlab/pull/17487), but we should keep
425
+ * it around for a while for backwards compatibility. */
426
+ height: 100%;
427
+ }
428
+ .jp-LinkedOutputView .jupytergis-notebook-widget {
429
+ height: 100%;
430
+ }
431
+
423
432
  .jupytergis-notebook-widget > div {
424
433
  height: 100%;
425
434
  width: 100%;
@@ -690,6 +699,9 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
690
699
 
691
700
  .jgis-identify-grid-item-header {
692
701
  display: flex;
702
+ align-items: center;
703
+ justify-content: space-between;
704
+ gap: 8px;
693
705
  grid-column: span 2;
694
706
  font-weight: bold;
695
707
  font-size: var(--jp-ui-font-size1);
@@ -739,6 +751,11 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
739
751
  padding-bottom: 8px;
740
752
  }
741
753
 
754
+ .jgis-scrollable {
755
+ overflow: auto;
756
+ height: 100%;
757
+ }
758
+
742
759
  /* Style the file path text */
743
760
  .file-container {
744
761
  display: flex;
@@ -746,3 +763,25 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
746
763
  margin-bottom: 16px;
747
764
  gap: 10px;
748
765
  }
766
+
767
+ .jgis-highlight-button {
768
+ background: none;
769
+ border: none;
770
+ cursor: pointer;
771
+ padding: 0;
772
+ display: flex;
773
+ align-items: center;
774
+ justify-content: center;
775
+ min-width: 28px;
776
+ min-height: 28px;
777
+ }
778
+
779
+ .jgis-highlight-button:hover {
780
+ color: var(--jp-brand-color1);
781
+ }
782
+
783
+ .jgis-highlight-button:disabled {
784
+ opacity: 0.4;
785
+ cursor: not-allowed;
786
+ pointer-events: auto;
787
+ }