From 27fa7208f16e73154ce25b6fa4a52a1b670b316f Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Wed, 7 Jun 2023 09:14:07 -0400 Subject: [PATCH 01/10] legend style adjustments --- .../portal/legend-dialog/legend-dialog.component.scss | 2 +- src/app/pages/portal/portal.component.scss | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss index cf11882e..6ad871b3 100644 --- a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss +++ b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss @@ -51,7 +51,7 @@ } ::ng-deep app-legend-dialog { - + overflow-y: scroll; max-height: calc(100% - 24px) !important; height: inherit; diff --git a/src/app/pages/portal/portal.component.scss b/src/app/pages/portal/portal.component.scss index c33bd283..b9c27de9 100644 --- a/src/app/pages/portal/portal.component.scss +++ b/src/app/pages/portal/portal.component.scss @@ -383,16 +383,11 @@ igo-zoom-button { height: calc( 100% - $footer-height)!important; } -::ng-deep #legend-dialog-container, app-legend-dialog { - top: calc($header-height-mobile + 4px); - max-height: calc(100% - $header-height-mobile - $footer-height - 100px); -} - @media (min-width: 768px){ - ::ng-deep #legend-dialog-container, app-legend-dialog { - top: calc($header-height + 4px); - max-height: calc(100% - $header-height - $footer-height - 180px); + ::ng-deep #legend-dialog-container { + top: calc($header-height + $menu-height + 4px); // $header-height + $menu-height + max-height: calc($portal-height-hasFooter-hasHeader-hasMenu - 180px)!important; // without menu : $portal-height-hasFooter-hasHeader } } From f27cc52724bea79ad61fb7b6b58feb27907f0021 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Wed, 7 Jun 2023 09:20:03 -0400 Subject: [PATCH 02/10] put back to without menu --- src/app/pages/portal/portal.component.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/portal/portal.component.scss b/src/app/pages/portal/portal.component.scss index b9c27de9..7a3a8074 100644 --- a/src/app/pages/portal/portal.component.scss +++ b/src/app/pages/portal/portal.component.scss @@ -386,8 +386,8 @@ igo-zoom-button { @media (min-width: 768px){ ::ng-deep #legend-dialog-container { - top: calc($header-height + $menu-height + 4px); // $header-height + $menu-height - max-height: calc($portal-height-hasFooter-hasHeader-hasMenu - 180px)!important; // without menu : $portal-height-hasFooter-hasHeader + top: calc($header-height + 4px); // $header-height + $menu-height + max-height: calc($portal-height-hasFooter-hasHeader - 180px)!important; // without menu : $portal-height-hasFooter-hasHeader, with menu : $portal-height-hasFooter-hasHeader-hasMenu } } From 774d4eae4c3769ea014e24906bfefeda57b49342 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Fri, 16 Jun 2023 11:31:16 -0400 Subject: [PATCH 03/10] css adjustments to legend if config change --- .../menu/menu-pages/map/map.component.scss | 11 ++++------ .../menu/menu-pages/map/map.component.ts | 2 +- .../legend-button/legend-button.component.ts | 4 ++-- .../legend-dialog.component.html | 22 +++++++++++-------- .../legend-dialog.component.scss | 19 ++++++++-------- .../legend-dialog/legend-dialog.component.ts | 1 + src/app/pages/portal/portal.component.html | 2 +- src/app/pages/portal/portal.component.scss | 7 +++--- src/app/pages/portal/portal.component.ts | 2 +- src/app/pages/portal/portal.variables.scss | 6 +++++ src/config/config.json | 2 +- 11 files changed, 43 insertions(+), 35 deletions(-) diff --git a/src/app/pages/menu/menu-pages/map/map.component.scss b/src/app/pages/menu/menu-pages/map/map.component.scss index a151f5ec..61ba5508 100644 --- a/src/app/pages/menu/menu-pages/map/map.component.scss +++ b/src/app/pages/menu/menu-pages/map/map.component.scss @@ -9,11 +9,7 @@ ::ng-deep .portal-hasHeader-hasMenu { height: $portal-height-hasMenu-hasHeader-mobile !important; -} -::ng-deep #legend-button-dialog-container { - top: calc( #{$header-height-mobile} + #{$menu-height-mobile} + 4px)!important; - max-height: calc(100% - #{$header-height-mobile} - #{$menu-height-mobile} - #{$footer-height} - 100px)!important; } @media (min-width: 768px){ @@ -26,8 +22,9 @@ height: $portal-height-hasMenu-hasHeader !important; } - ::ng-deep #legend-button-dialog-container { - top: calc( #{$header-height} + #{$menu-height} + 4px)!important; - max-height: calc(100% - #{$header-height} - #{$menu-height} - #{$footer-height} - 180px)!important; + ::ng-deep #legendDialog { + top: $top-legend-dialog-hasHeader-hasMenu!important; // no header: $top-legend-dialog-hasMenu + max-height: calc($portal-height-hasFooter-hasHeader-hasMenu - $map-buttons-height)!important; // see portal variables $map-buttons-height-xxxx - $map-buttons-height } + } diff --git a/src/app/pages/menu/menu-pages/map/map.component.ts b/src/app/pages/menu/menu-pages/map/map.component.ts index d672e2b8..3923558b 100644 --- a/src/app/pages/menu/menu-pages/map/map.component.ts +++ b/src/app/pages/menu/menu-pages/map/map.component.ts @@ -7,7 +7,7 @@ import { ConfigService } from '@igo2/core'; styleUrls: ['./map.component.scss'] }) export class MapComponent { - public hasHeader = true; + public hasHeader: boolean; constructor(private configService: ConfigService) { diff --git a/src/app/pages/portal/legend-button/legend-button.component.ts b/src/app/pages/portal/legend-button/legend-button.component.ts index dc4d29b1..9592cc64 100644 --- a/src/app/pages/portal/legend-button/legend-button.component.ts +++ b/src/app/pages/portal/legend-button/legend-button.component.ts @@ -26,11 +26,11 @@ export class LegendButtonComponent { toggleLegendButton(): void { if (!this.legendInPanel && !this.mobile){ - const dialogOpened = this.dialog.getDialogById('legend-dialog-container'); + const dialogOpened = this.dialog.getDialogById('legendDialog'); if (!dialogOpened) { this.legendButtonTooltip = this.languageService.translate.instant('legend.close'); this.dialogRef = this.dialog.open(LegendDialogComponent, { - id: 'legend-dialog-container', + id: 'legendDialog', hasBackdrop: false, closeOnNavigation: true }); diff --git a/src/app/pages/portal/legend-dialog/legend-dialog.component.html b/src/app/pages/portal/legend-dialog/legend-dialog.component.html index 05dee5a3..57448da4 100644 --- a/src/app/pages/portal/legend-dialog/legend-dialog.component.html +++ b/src/app/pages/portal/legend-dialog/legend-dialog.component.html @@ -1,10 +1,14 @@ -
-

{{"legend.title" | translate}}

+
+
+ +
+

{{"legend.title" | translate}}

- - \ No newline at end of file + + +
\ No newline at end of file diff --git a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss index 6ad871b3..4363a847 100644 --- a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss +++ b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss @@ -1,22 +1,23 @@ @import '../portal.variables.scss'; + // FLEX -::ng-deep #legend-dialog-container { + +::ng-deep #legendDialog { width: fit-content !important; z-index: 10; position: fixed; right: 0.5%; max-width: 99% !important; padding: 16px !important; - max-height: calc(100% - #{$header-height-mobile} - #{$footer-height} - 100px) !important; overflow: hidden; display: flex; flex-direction: column; height: 100%; border-radius: 0; height: fit-content; - + igo-layer-legend-list { max-height: inherit; .layer-legend-list-container { @@ -43,16 +44,14 @@ width: max-content !important; } - @media (min-width: 768px){ - max-height: calc(100% - #{$header-height} - #{$footer-height} - 180px) !important; //TODO : Inject the dialog in the portal then add config hasHeader, hasMenu and hasFooter - height: fit-content; - } +} -} +mat-dialog-container app-legend-dialog .legend-hasFooter-hasHeader-hasMenu { + max-height: calc($portal-height-hasFooter-hasHeader-hasMenu - $map-buttons-height)!important; +} ::ng-deep app-legend-dialog { - overflow-y: scroll; - max-height: calc(100% - 24px) !important; + overflow-y: auto; height: inherit; .mat-list-base .mat-list-item .mat-list-item-content { diff --git a/src/app/pages/portal/legend-dialog/legend-dialog.component.ts b/src/app/pages/portal/legend-dialog/legend-dialog.component.ts index 30f98235..3055606e 100644 --- a/src/app/pages/portal/legend-dialog/legend-dialog.component.ts +++ b/src/app/pages/portal/legend-dialog/legend-dialog.component.ts @@ -32,4 +32,5 @@ export class LegendDialogComponent implements OnInit { layer.showInLayerList !== false )); } + } diff --git a/src/app/pages/portal/portal.component.html b/src/app/pages/portal/portal.component.html index 04559a25..13fbad02 100644 --- a/src/app/pages/portal/portal.component.html +++ b/src/app/pages/portal/portal.component.html @@ -72,7 +72,7 @@ [map]="map" [useStaticIcon]="getBaseLayersUseStaticIcon()"> - +
diff --git a/src/app/pages/portal/portal.component.scss b/src/app/pages/portal/portal.component.scss index 7a3a8074..74c551bd 100644 --- a/src/app/pages/portal/portal.component.scss +++ b/src/app/pages/portal/portal.component.scss @@ -385,9 +385,10 @@ igo-zoom-button { @media (min-width: 768px){ - ::ng-deep #legend-dialog-container { - top: calc($header-height + 4px); // $header-height + $menu-height - max-height: calc($portal-height-hasFooter-hasHeader - 180px)!important; // without menu : $portal-height-hasFooter-hasHeader, with menu : $portal-height-hasFooter-hasHeader-hasMenu + ::ng-deep #legendDialog { + top: $top-legend-dialog-hasHeader; // see portal variables $top-legend-dialog + max-height: calc($portal-height-hasFooter-hasHeader - $map-buttons-height); // see portal variables to replace $map-buttons-height-xxxx } + } diff --git a/src/app/pages/portal/portal.component.ts b/src/app/pages/portal/portal.component.ts index 3cc5c485..5035268f 100644 --- a/src/app/pages/portal/portal.component.ts +++ b/src/app/pages/portal/portal.component.ts @@ -165,7 +165,7 @@ export class PortalComponent implements OnInit, AfterContentInit, OnDestroy { public homeZoom: number; @ViewChild('searchbar') searchBar: SearchBarComponent; - public dialogOpened = this.dialog.getDialogById('legend-button-dialog-container'); + public dialogOpened = this.dialog.getDialogById('legendDialog'); get map(): IgoMap { return this.mapState.map; diff --git a/src/app/pages/portal/portal.variables.scss b/src/app/pages/portal/portal.variables.scss index cfd54dae..c135da5e 100644 --- a/src/app/pages/portal/portal.variables.scss +++ b/src/app/pages/portal/portal.variables.scss @@ -10,6 +10,7 @@ $header-height: 72px; $header-height-mobile: 72px; $footer-height: 29px; $search-bar-height: 60px; +$map-buttons-height: 188px; $portal-height-hasHeader-mobile: calc( 100% - #{$header-height-mobile}); $portal-height-hasFooter-hasHeader-mobile: calc( 100% - #{$footer-height} - #{$header-height-mobile} ); @@ -23,6 +24,11 @@ $portal-height-hasMenu-hasHeader: calc( 100% - #{$header-height} - #{$menu-heigh $portal-height-hasFooter-hasHeader: calc( 100% - #{$footer-height} - #{$header-height} ); $portal-height-hasFooter-hasHeader-hasMenu: calc( 100% - #{$footer-height} - #{$header-height} - #{$menu-height} ); +$top-legend-dialog: 4px; +$top-legend-dialog-hasHeader: calc($header-height + 4px); +$top-legend-dialog-hasHeader-hasMenu: calc( $header-height + $menu-height + 4px); +$top-legend-dialog-hasMenu: calc( $menu-height + 4px); + $app-sidenav-width-mobile: calc(100% - #{$app-mobile-min-space-right} - #{$igo-margin}); $search-bar-left: $igo-icon-size; $portal-left: 16px; diff --git a/src/config/config.json b/src/config/config.json index 7510b29c..1e317a03 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -10,7 +10,7 @@ "hasFooter": true, "hasLegendButton": true, "legendInPanel": true, - "showRotationButtonIfNoRotation": true, + "showRotationButtonIfNoRotation": false, "hasGeolocateButton": true, "geolocate": { "basic": true, From 20e35e23bbacacc1d2b8a2afd55c5b5dfc797f00 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Fri, 16 Jun 2023 16:06:56 -0400 Subject: [PATCH 04/10] cleanup + added html legend --- .../menu/menu-pages/map/map.component.scss | 4 +- .../legend-dialog.component.scss | 4 -- src/app/pages/portal/portal.variables.scss | 1 + src/assets/legends/legend-1/legende-1.html | 5 ++ src/assets/legends/legend.css | 66 +++++++++++++++++++ src/config/config.json | 2 +- 6 files changed, 75 insertions(+), 7 deletions(-) create mode 100644 src/assets/legends/legend-1/legende-1.html create mode 100644 src/assets/legends/legend.css diff --git a/src/app/pages/menu/menu-pages/map/map.component.scss b/src/app/pages/menu/menu-pages/map/map.component.scss index 61ba5508..30c44a6f 100644 --- a/src/app/pages/menu/menu-pages/map/map.component.scss +++ b/src/app/pages/menu/menu-pages/map/map.component.scss @@ -23,8 +23,8 @@ } ::ng-deep #legendDialog { - top: $top-legend-dialog-hasHeader-hasMenu!important; // no header: $top-legend-dialog-hasMenu - max-height: calc($portal-height-hasFooter-hasHeader-hasMenu - $map-buttons-height)!important; // see portal variables $map-buttons-height-xxxx - $map-buttons-height + top: $top-legend-dialog-hasMenu!important; // no header: $top-legend-dialog-hasMenu + max-height: calc($portal-height-hasFooter-hasMenu - $map-buttons-height)!important; // see portal variables $map-buttons-height-xxxx - $map-buttons-height } } diff --git a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss index 4363a847..196776b1 100644 --- a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss +++ b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss @@ -46,10 +46,6 @@ } -mat-dialog-container app-legend-dialog .legend-hasFooter-hasHeader-hasMenu { - max-height: calc($portal-height-hasFooter-hasHeader-hasMenu - $map-buttons-height)!important; -} - ::ng-deep app-legend-dialog { overflow-y: auto; height: inherit; diff --git a/src/app/pages/portal/portal.variables.scss b/src/app/pages/portal/portal.variables.scss index c135da5e..d97b8334 100644 --- a/src/app/pages/portal/portal.variables.scss +++ b/src/app/pages/portal/portal.variables.scss @@ -20,6 +20,7 @@ $portal-height-hasMenu-mobile: calc( 100% - #{$menu-height-mobile}); $portal-height-hasFooter: calc( 100% - #{$footer-height} ); $portal-height-hasHeader: calc( 100% - #{$header-height}); $portal-height-hasMenu: calc( 100% - #{$menu-height}); +$portal-height-hasFooter-hasMenu: calc( 100% - #{$menu-height} - #{$footer-height}); $portal-height-hasMenu-hasHeader: calc( 100% - #{$header-height} - #{$menu-height} ); $portal-height-hasFooter-hasHeader: calc( 100% - #{$footer-height} - #{$header-height} ); $portal-height-hasFooter-hasHeader-hasMenu: calc( 100% - #{$footer-height} - #{$header-height} - #{$menu-height} ); diff --git a/src/assets/legends/legend-1/legende-1.html b/src/assets/legends/legend-1/legende-1.html new file mode 100644 index 00000000..5c281bdb --- /dev/null +++ b/src/assets/legends/legend-1/legende-1.html @@ -0,0 +1,5 @@ + +
+
classe1
+
classe2
+
diff --git a/src/assets/legends/legend.css b/src/assets/legends/legend.css new file mode 100644 index 00000000..040e88e7 --- /dev/null +++ b/src/assets/legends/legend.css @@ -0,0 +1,66 @@ +body { + margin: 0!important; +} + +.legend-items { + flex-wrap: nowrap; + flex-direction: column; + width: 100%; + max-height: 100%; + display:flex; + align-content: flex-start; + align-items: flex-start; + align-self: flex-start; +} + +.legend-items div { + font: 14px/1.3rem 'Open Sans', sans-serif; + width: max-content; /*auto: max-content;*/ + margin-right: 16px; + line-height: 1.6em; + vertical-align: middle; +} + +.legend-items img { + width: 16px; + vertical-align: middle; + padding: 0 5px 3px 0; +} + +::ng-deep .iframe-legend-container { + width: 100%; + overflow: hidden; + height: 100%; +} + +::ng-deep .iframe-legend-container iframe { + width: 100%; + overflow: hidden; + height: 100%; +} + +::ng-deep .iframe-legend { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + width: 100%; + height: 100%; + border: none; +} + +::ng-deep .layer-legend-list-container { + display: flex; + flex-direction: row; + flex-wrap: nowrap; +} + +::ng-deep igo-layer-legend-list .mat-list-item { + font-size: 1rem; + height: 1.5rem!important; +} + +::ng-deep igo-layer-legend-list .mat-list-item-content { + align-items: flex-start!important; +} diff --git a/src/config/config.json b/src/config/config.json index 1e317a03..b1e61624 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -9,7 +9,7 @@ "hasMenu": false, "hasFooter": true, "hasLegendButton": true, - "legendInPanel": true, + "legendInPanel": false, "showRotationButtonIfNoRotation": false, "hasGeolocateButton": true, "geolocate": { From 7b600bfeb7796ae38585e4837129e087d0cd6ad3 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:08:46 -0400 Subject: [PATCH 05/10] legend html --- src/wiki | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/wiki diff --git a/src/wiki b/src/wiki new file mode 100644 index 00000000..e69de29b From 6b7f27f9e5507fdb68e21a6c383cb2883fef1db1 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:09:41 -0400 Subject: [PATCH 06/10] legend html --- src/assets/legends/legend-1/legende-1.html | 5 ----- src/assets/legends/legend/legende.html | 11 +++++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 src/assets/legends/legend-1/legende-1.html create mode 100644 src/assets/legends/legend/legende.html diff --git a/src/assets/legends/legend-1/legende-1.html b/src/assets/legends/legend-1/legende-1.html deleted file mode 100644 index 5c281bdb..00000000 --- a/src/assets/legends/legend-1/legende-1.html +++ /dev/null @@ -1,5 +0,0 @@ - -
-
classe1
-
classe2
-
diff --git a/src/assets/legends/legend/legende.html b/src/assets/legends/legend/legende.html new file mode 100644 index 00000000..0d5db90d --- /dev/null +++ b/src/assets/legends/legend/legende.html @@ -0,0 +1,11 @@ + + + +
+
classe1
+
classe2
+
From 031f27a8d35febf5528fd2f8b85546b5e916867b Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Fri, 22 Sep 2023 15:23:05 -0400 Subject: [PATCH 07/10] fixed width of layer legend --- src/app/pages/portal/legend-dialog/legend-dialog.component.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss index 196776b1..ce528f61 100644 --- a/src/app/pages/portal/legend-dialog/legend-dialog.component.scss +++ b/src/app/pages/portal/legend-dialog/legend-dialog.component.scss @@ -29,7 +29,7 @@ igo-layer-legend-item { flex-wrap: wrap; - width: min-content; + width: max-content; display: flex; flex-direction: column; margin-bottom: 16px; From 99b5b6e490dc0d758c4f2b5ad43f7f84624fb8b1 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Fri, 22 Sep 2023 15:26:06 -0400 Subject: [PATCH 08/10] fix replaced buggy layer --- src/contexts/_default.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/contexts/_default.json b/src/contexts/_default.json index cb0412cc..3188cce9 100644 --- a/src/contexts/_default.json +++ b/src/contexts/_default.json @@ -3,39 +3,39 @@ "base": "_base", "layers": [ { - "id": "flor", - "title": "Habitats floristiques", + "id": "mtq", + "title": "Établissements MTQ", "showInLayerList": true, "visible": true, "baseLayer": false, "sourceOptions": { "type": "wms", - "url": "https://geoegl.msp.gouv.qc.ca/apis/wss/environnement.fcgi", + "url": "https://ws.mapserver.transports.gouv.qc.ca/swtq", "params": { - "layers": "HABITATS_FLORISTIQUES_V", + "layers": "etablissement_mtq", "version": "1.3.0" }, "queryable": true, "queryLayerFeatures": true, - "queryTitle": "Habitats floristiques" + "queryTitle": "Établissements MTQ" } }, { - "id": "mtq", - "title": "Établissements MTQ", + "id": "ferr", + "title": "Réseau ferroviaire (MTQ-SWTQ)", "showInLayerList": true, "visible": true, "baseLayer": false, "sourceOptions": { "type": "wms", - "url": "https://ws.mapserver.transports.gouv.qc.ca/swtq", + "url": "https://ws.mapserver.transports.gouv.qc.ca/swtq?", "params": { - "layers": "etablissement_mtq", + "layers": "reseau_chfer_qc", "version": "1.3.0" }, - "queryable": true, + "queryable": false, "queryLayerFeatures": true, - "queryTitle": "Établissements MTQ" + "queryTitle": "Réseau ferroviaire (MTQ-SWTQ)" } } ] From 991f7d46e4602c8a2dcba501b83dc81b2fdbfcd6 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Fri, 22 Sep 2023 15:28:55 -0400 Subject: [PATCH 09/10] removed legend - to move in a demo --- src/assets/legends/legend.css | 66 -------------------------- src/assets/legends/legend/legende.html | 11 ----- 2 files changed, 77 deletions(-) delete mode 100644 src/assets/legends/legend.css delete mode 100644 src/assets/legends/legend/legende.html diff --git a/src/assets/legends/legend.css b/src/assets/legends/legend.css deleted file mode 100644 index 040e88e7..00000000 --- a/src/assets/legends/legend.css +++ /dev/null @@ -1,66 +0,0 @@ -body { - margin: 0!important; -} - -.legend-items { - flex-wrap: nowrap; - flex-direction: column; - width: 100%; - max-height: 100%; - display:flex; - align-content: flex-start; - align-items: flex-start; - align-self: flex-start; -} - -.legend-items div { - font: 14px/1.3rem 'Open Sans', sans-serif; - width: max-content; /*auto: max-content;*/ - margin-right: 16px; - line-height: 1.6em; - vertical-align: middle; -} - -.legend-items img { - width: 16px; - vertical-align: middle; - padding: 0 5px 3px 0; -} - -::ng-deep .iframe-legend-container { - width: 100%; - overflow: hidden; - height: 100%; -} - -::ng-deep .iframe-legend-container iframe { - width: 100%; - overflow: hidden; - height: 100%; -} - -::ng-deep .iframe-legend { - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - width: 100%; - height: 100%; - border: none; -} - -::ng-deep .layer-legend-list-container { - display: flex; - flex-direction: row; - flex-wrap: nowrap; -} - -::ng-deep igo-layer-legend-list .mat-list-item { - font-size: 1rem; - height: 1.5rem!important; -} - -::ng-deep igo-layer-legend-list .mat-list-item-content { - align-items: flex-start!important; -} diff --git a/src/assets/legends/legend/legende.html b/src/assets/legends/legend/legende.html deleted file mode 100644 index 0d5db90d..00000000 --- a/src/assets/legends/legend/legende.html +++ /dev/null @@ -1,11 +0,0 @@ - - - -
-
classe1
-
classe2
-
From 4d172499aaa65a69681e9c83844bfd758f1ab79f Mon Sep 17 00:00:00 2001 From: Marie-Neige <90412486+mneige@users.noreply.github.com> Date: Mon, 25 Sep 2023 11:37:14 -0400 Subject: [PATCH 10/10] Delete src/wiki --- src/wiki | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/wiki diff --git a/src/wiki b/src/wiki deleted file mode 100644 index e69de29b..00000000