Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Commit

Permalink
Fixed z-index of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Niclas Kaufmann committed Mar 31, 2020
1 parent 04323eb commit d666e90
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions SAKPaaS/src/app/components/footer/footer.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
bottom: 5px;
left: 5px;
flex-wrap: wrap;
z-index: 2;
}

.footer * {
Expand Down
2 changes: 1 addition & 1 deletion SAKPaaS/src/app/components/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<app-logo></app-logo>
<app-map (locationEmitted)="onLocationEmitted($event, true)" style="z-index: 1;"></app-map>
<app-search-bar style="z-index: 2;" (locationEmitted)="onLocationEmitted($event, false)"></app-search-bar>
<app-locate-button style="z-index: 2;"></app-locate-button>
<app-locate-button></app-locate-button>
<app-footer></app-footer>
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ button {
color: white;
padding: 0;
box-shadow: 0 5px 20px 0 rgba(11, 0, 51, 0.2);
z-index: 3;
::ng-deep * {
padding: 3.75px;
font-size: 20px;
Expand Down
5 changes: 5 additions & 0 deletions SAKPaaS/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
}
}

div.ol-overlaycontainer-stopevent {
z-index: auto !important;
}

div.ol-zoom {
top: auto;
left: auto;
Expand All @@ -67,6 +71,7 @@ div.ol-rotate {
background-color: transparent;
color: white;
border-radius: 7px;
z-index: 3;
}

div.ol-control:hover {
Expand Down

0 comments on commit d666e90

Please sign in to comment.