-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
eugene-sinitsyn
committed
Mar 11, 2020
1 parent
497c7cc
commit b00da0d
Showing
6 changed files
with
38 additions
and
39 deletions.
There are no files selected for viewing
11 changes: 5 additions & 6 deletions
11
src/app/pages/e-commerce/traffic-reveal-card/back-side/traffic-back-card.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,6 +1,5 @@ | ||
<nb-card-body> | ||
<ngx-traffic-bar-chart [data]="trafficBarData.data" | ||
[labels]="trafficBarData.labels" | ||
[formatter]="trafficBarData.formatter"> | ||
</ngx-traffic-bar-chart> | ||
</nb-card-body> | ||
<ngx-traffic-bar-chart | ||
[data]="trafficBarData.data" | ||
[labels]="trafficBarData.labels" | ||
[formatter]="trafficBarData.formatter" | ||
></ngx-traffic-bar-chart> |
14 changes: 4 additions & 10 deletions
14
src/app/pages/e-commerce/traffic-reveal-card/back-side/traffic-back-card.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
10 changes: 4 additions & 6 deletions
10
...s/e-commerce/traffic-reveal-card/traffic-cards-header/traffic-cards-header.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,6 +1,4 @@ | ||
<nb-card-header> | ||
<span>Traffic</span> | ||
<nb-select matRipple [selected]="type" (selectedChange)="changePeriod($event)"> | ||
<nb-option matRipple *ngFor="let period of types" [value]="period">{{ period }}</nb-option> | ||
</nb-select> | ||
</nb-card-header> | ||
<span>Traffic</span> | ||
<nb-select matRipple [selected]="type" (selectedChange)="changePeriod($event)"> | ||
<nb-option matRipple *ngFor="let period of types" [value]="period">{{ period }}</nb-option> | ||
</nb-select> |
17 changes: 4 additions & 13 deletions
17
...s/e-commerce/traffic-reveal-card/traffic-cards-header/traffic-cards-header.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 |
---|---|---|
@@ -1,14 +1,5 @@ | ||
@import '../../../../@theme/styles/themes'; | ||
|
||
@include nb-install-component() { | ||
nb-card-header { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding-top: nb-theme(card-header-with-select-padding-top); | ||
padding-bottom: nb-theme(card-header-with-select-padding-bottom); | ||
|
||
@include nb-ltr(padding-right, 4rem); | ||
@include nb-rtl(padding-left, 4rem); | ||
} | ||
:host { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} |
18 changes: 14 additions & 4 deletions
18
src/app/pages/e-commerce/traffic-reveal-card/traffic-reveal-card.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
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