Skip to content

Commit

Permalink
only desaturate when logged in and not fully
Browse files Browse the repository at this point in the history
  • Loading branch information
MattDHill authored and dr-bonez committed Nov 29, 2022
1 parent ad14503 commit 0511680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/projects/ui/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<ion-router-outlet
id="main-content"
class="container"
[class.container_offline]="!(connection.connected$ | async)"
[class.container_offline]="
(authService.isVerified$ | async) && !(connection.connected$ | async)
"
></ion-router-outlet>
</ion-split-pane>

Expand Down
2 changes: 1 addition & 1 deletion frontend/projects/ui/src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ ion-split-pane {
transition: filter 0.3s;

&_offline {
filter: saturate(0) contrast(0.85);
filter: saturate(0.75) contrast(0.85);
}
}

0 comments on commit 0511680

Please sign in to comment.