Skip to content

Commit

Permalink
Merge branch 'uiux' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwu1105 committed Feb 3, 2021
2 parents f65b5cd + b1ebbb4 commit e7d9198
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 27 deletions.
5 changes: 3 additions & 2 deletions src/app/features/home/onboarding/tutorial/tutorial.page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ion-content {
height: 100vh;

svg {
padding-top: 5vh;
padding-bottom: 5vh;
padding-top: 8vh;
padding-bottom: calc(12vh + env(safe-area-inset-bottom));
}

button {
Expand All @@ -18,6 +18,7 @@ ion-content {
right: 20px;
color: white;
font-size: 20px;
padding-bottom: calc(5vh + env(safe-area-inset-bottom));
}
}
}
Expand Down
Binary file modified src/assets/image/tutorial-capture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/image/tutorial-post-capture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/image/tutorial-tabs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 20 additions & 25 deletions src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@
// @import "~@ionic/angular/css/text-transformation.css";
// @import "~@ionic/angular/css/flex-utils.css";

html {
background-color: var(--ion-color-primary);

--ion-safe-area-top: env(safe-area-inset-top);
--ion-safe-area-bottom: env(safe-area-inset-bottom);
--ion-safe-area-left: env(safe-area-inset-left);
--ion-safe-area-right: env(safe-area-inset-right);
}

.ios-bottom-safe-area {
padding-bottom: var(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: var(--ion-color-secondary);
}

ion-app {
margin-top: env(safe-area-inset-top);
margin-bottom: env(safe-area-inset-bottom);
}

.ion-page {
background-color: white;
}
Expand All @@ -43,31 +63,6 @@ mat-toolbar {
}
}

// avoid overlapping with the status bar on most iOS devices
@media (min-width: 380px) {
.ios mat-toolbar {
padding-top: 30px;
min-height: 90px;
height: 90px;
}
}

// avoid overlapping with the status bar on iPhone 6s plus/7plus/ 8 plus series
@media (min-height: 736px) and (max-width: 750px) {
.ios mat-toolbar {
padding-top: 0;
}
}

// avoid overlapping with the status bar on iPhone 12 mini & iPhone 12 series
@media (min-height: 750px) {
.ios mat-toolbar {
padding-top: 30px;
min-height: 90px;
height: 90px;
}
}

button.expand {
width: calc(100vw - 16px);
margin: 0 8px;
Expand Down

0 comments on commit e7d9198

Please sign in to comment.