-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- GB3-1623: AX: Bilder Alt Text - GB3-1626: Add custom page title to each page - GB3-1593: Bugfix: Wrong update of dpi settings upon format change - Gb3-1640: Close basemap selection list on selection change - GB3-1656 Keep url params on search error - GB3-1645: add aria labels to the navigation - GB3-1647: Add CNAME file to deployment step - GB3-1628: Add skip links to all pages except map page - GB3-1669 fix data-download input - GB3-1665: Show error for invalid inital maps - Gb3-1666: Zoom To Coordinate Input - GB3-1665: Slight refactoring - GB3-1658: Renovate adjustments
- Loading branch information
Showing
48 changed files
with
842 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
<main class="app"> | ||
<navbar-mobile *ngIf="screenMode === 'mobile' && !isHeadlessPage && !mapUiState?.hideUiElements"></navbar-mobile> | ||
<navbar *ngIf="!isHeadlessPage && screenMode !== 'mobile'" class="app__navbar" [isSimplifiedPage]="isSimplifiedPage"></navbar> | ||
<dev-mode-banner *ngIf="isDevModeActive" class="app__dev-mode-banner"></dev-mode-banner> | ||
@if (!isHeadlessPage && !isSimplifiedPage) { | ||
<skip-link [skipLinks]="skipLinks" (skipToLocationEvent)="skipToDomElement($event)"></skip-link> | ||
} | ||
@if (screenMode === 'mobile' && !isHeadlessPage && !mapUiState?.hideUiElements) { | ||
<navbar-mobile #navigation [id]="templateVariable.Navigation"></navbar-mobile> | ||
} @else if (!isHeadlessPage && screenMode !== 'mobile') { | ||
<navbar class="app__navbar" [isSimplifiedPage]="isSimplifiedPage" #navigation [id]="templateVariable.Navigation"></navbar> | ||
} | ||
@if (isDevModeActive) { | ||
<dev-mode-banner class="app__dev-mode-banner"></dev-mode-banner> | ||
} | ||
<article [ngClass]="{'app__headless-page': isHeadlessPage}"> | ||
<router-outlet></router-outlet> | ||
<main-footer *ngIf="!isSimplifiedPage && !isHeadlessPage"></main-footer> | ||
<router-outlet #mainContent [id]="templateVariable.MainContent"></router-outlet> | ||
@if (!isHeadlessPage && !isSimplifiedPage) { | ||
<main-footer #footer [id]="templateVariable.Footer"></main-footer> | ||
} | ||
</article> | ||
<scrollbar-width-calculation class="app__scrollbar-width-calculation" *ngIf="scrollbarWidth === undefined"></scrollbar-width-calculation> | ||
@if (scrollbarWidth === undefined) { | ||
<scrollbar-width-calculation class="app__scrollbar-width-calculation"></scrollbar-width-calculation> | ||
} | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
src/app/map/components/map-controls/basemap-selector/basemap-selector.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
<div class="basemap-selector" #basemapSelector typedTourAnchor="map.background"> | ||
<button | ||
#basemapSelectorButton | ||
mat-flat-button | ||
(click)="toggleSelection()" | ||
class="basemap-selector__active" | ||
[ngStyle]="{'background-image': 'url(' + (activeBasemap?.id | basemapImageLink) + ')'}" | ||
></button> | ||
<basemap-selection-list *ngIf="isSelectionOpen"></basemap-selection-list> | ||
<basemap-selection-list | ||
*ngIf="isSelectionOpen" | ||
(basemapChangedEvent)="toggleSelectionAndFocusBasemapSelectorButton()" | ||
></basemap-selection-list> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@for (skipLink of skipLinks; track skipLink.id) { | ||
<a class="skip-link" tabindex="0" (keydown.enter)="skipToLocation(skipLink.id)" (click)="skipToLocation(skipLink.id)"> | ||
{{ skipLink.label }} | ||
</a> | ||
} |
18 changes: 18 additions & 0 deletions
18
src/app/shared/components/skip-link/skip-link.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@use 'variables/ktzh-design-variables' as ktzh-variables; | ||
|
||
.skip-link { | ||
position: absolute; | ||
left: max(24px, calc((100% - #{ktzh-variables.$zh-layout-max-content-width}) / 2)); | ||
top: -100px; | ||
padding: 24px 12px; | ||
background-color: white; | ||
font-weight: bold; | ||
font-size: 16px; | ||
pointer-events: none; | ||
} | ||
|
||
.skip-link:focus { | ||
top: 0; | ||
z-index: 1000; | ||
pointer-events: all; | ||
} |
Oops, something went wrong.