-
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.
Merge pull request #49 from Gaviil/record
Record
- Loading branch information
Showing
10 changed files
with
246 additions
and
43 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,39 @@ | ||
<ion-content> | ||
<div class="record-box"> | ||
<div class="icon"> | ||
<img class="reward" src="assets/img/reward.svg"> | ||
</div> | ||
<div class="record-number" *ngIf="recordEasy">{{recordEasy}}</div> | ||
<div class="record-number" *ngIf="!recordEasy">0</div> | ||
</div> | ||
<div class="record-box"> | ||
<div class="icon"> | ||
<img class="reward" src="assets/img/reward.svg" *ngIf="recordEasy >= 15"> | ||
<img class='lock' src="assets/img/lock.svg" *ngIf="recordEasy < 15"> | ||
</div> | ||
<div class="record-number" *ngIf="recordEasy >= 15">{{recordNormal}}</div> | ||
<div class="record-number" *ngIf="!recordEasy && recordEasy >= 15">0</div> | ||
</div> | ||
<div class="record-box"> | ||
<div class="icon"> | ||
<img class="reward" src="assets/img/reward.svg" *ngIf="recordNormal >= 15"> | ||
<img class='lock' src="assets/img/lock.svg" *ngIf="recordNormal < 15"> | ||
</div> | ||
<div class="record-number" *ngIf="recordNormal >= 15">{{recordHard}}</div> | ||
<div class="record-number" *ngIf="!recordNormal && recordNormal >= 15">0</div> | ||
</div> | ||
<div class="record-box" *ngIf="recordHard >= 15"> | ||
<div class="icon"> | ||
<img class="reward" src="assets/img/reward.svg"> | ||
</div> | ||
<div class="record-number" *ngIf="recordHard >= 15">{{recordDoom}}</div> | ||
<div class="record-number" *ngIf="!recordHard && recordHard >= 15">0</div> | ||
</div> | ||
|
||
<button class='reward_home' ion-button block (click)="goToNavPage()"> | ||
<ion-icon ios="ios-home" md="md-home"></ion-icon> | ||
</button> | ||
<div> | ||
|
||
</div> | ||
</ion-content> |
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,74 @@ | ||
page-record { | ||
|
||
ion-content { | ||
background-color: $primary-color; | ||
background: url("../assets/img/background.jpg"); | ||
background-size: cover; | ||
} | ||
.scroll-content{ | ||
display: flex; | ||
align-items: center; | ||
flex-wrap:wrap; | ||
align-content: flex-start; | ||
padding-top: 70px !important; | ||
justify-content:center; | ||
|
||
.record-box{ | ||
width: 100%; | ||
align-content:space-around; | ||
display: inline-block; | ||
height: 60px; | ||
line-height: 60px; | ||
display: flex; | ||
flex-wrap:nowrap; | ||
margin: 15px 0; | ||
|
||
.icon { | ||
width: 30%; | ||
border-right: 1px solid rgba(0,0,0,0.1); | ||
display: inline-block; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
|
||
img.reward { | ||
height: 60%; | ||
} | ||
img.lock { | ||
height: 60%; | ||
} | ||
} | ||
|
||
.record-number { | ||
text-align: right; | ||
width: 70%; | ||
display: inline-block; | ||
padding:0px 20px; | ||
color: $secondary-color; | ||
font-size: 30px; | ||
font-weight: bold; | ||
} | ||
} | ||
.record-box:nth-child(1){ | ||
@include button-mode($easy-color-primary, $easy-color-secondary); | ||
} | ||
.record-box:nth-child(2){ | ||
@include button-mode($normal-color-primary, $normal-color-secondary); | ||
} | ||
.record-box:nth-child(3){ | ||
@include button-mode($hard-color-primary, $hard-color-secondary); | ||
} | ||
.record-box:nth-child(4){ | ||
@include button-mode($doom-color-primary, $doom-color-secondary); | ||
} | ||
} | ||
|
||
.button-block { | ||
width:45%; | ||
margin-top:50px; | ||
@include button-mode($normal-color-primary, $normal-color-secondary); | ||
} | ||
ion-icon{ | ||
font-size: 2em; | ||
} | ||
} |
Oops, something went wrong.