mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-09 18:04:20 +01:00
Add ripple effects to controls across application
This commit is contained in:
parent
6c81379740
commit
7ac5287e55
34 changed files with 284 additions and 180 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<ngx-legend-chart [legendItems]="chartLegend"></ngx-legend-chart>
|
||||
|
||||
<nb-select class="period-select" [selected]="type" (selectedChange)="changePeriod($event)">
|
||||
<nb-option *ngFor="let period of types" [value]="period">
|
||||
<nb-select matRipple class="period-select" [selected]="type" (selectedChange)="changePeriod($event)">
|
||||
<nb-option matRipple *ngFor="let period of types" [value]="period">
|
||||
{{ period }}
|
||||
</nb-option>
|
||||
</nb-select>
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
ngx-legend-chart,
|
||||
.period-select {
|
||||
padding-top: 1rem;
|
||||
@include nb-ltr(padding-left, 0.5rem);
|
||||
@include nb-rtl(padding-right, 0.5rem);
|
||||
margin-top: 1rem;
|
||||
@include nb-ltr(margin-left, 0.5rem);
|
||||
@include nb-rtl(margin-right, 0.5rem);
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<nb-card-header>
|
||||
<nb-select [selected]="selectedCurrency" (selectedChange)="changeCurrency($event)">
|
||||
<nb-option *ngFor="let currency of currencies" [value]="currency">{{ currency }}</nb-option>
|
||||
<nb-select matRipple [selected]="selectedCurrency" (selectedChange)="changeCurrency($event)">
|
||||
<nb-option matRipple *ngFor="let currency of currencies" [value]="currency">{{ currency }}</nb-option>
|
||||
</nb-select>
|
||||
</nb-card-header>
|
||||
<nb-card-body>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<nb-card-header>
|
||||
<span>Traffic</span>
|
||||
<nb-select [selected]="type" (selectedChange)="changePeriod($event)">
|
||||
<nb-option *ngFor="let period of types" [value]="period">{{ period }}</nb-option>
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
<nb-card-header>
|
||||
<span>User Activity</span>
|
||||
<nb-select [selected]="type" (selectedChange)="getUserActivity($event); type = $event">
|
||||
<nb-option *ngFor="let t of types" [value]="t">{{ t }}</nb-option>
|
||||
<nb-select matRipple [selected]="type" (selectedChange)="getUserActivity($event); type = $event">
|
||||
<nb-option matRipple *ngFor="let t of types" [value]="t">{{ t }}</nb-option>
|
||||
</nb-select>
|
||||
</nb-card-header>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue