Browse Source
Task/reset background color of paginators (#6800)
* Reset background color of paginators
* Hide page size
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
pull/6803/head^2
Matt Van Horn
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with
12 additions and
15 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-market-data/admin-market-data.html
-
apps/client/src/app/components/admin-users/admin-users.html
-
apps/client/src/styles.scss
-
apps/client/src/styles/theme.scss
-
libs/ui/src/lib/activities-table/activities-table.component.html
-
libs/ui/src/lib/holdings-table/holdings-table.component.html
-
libs/ui/src/lib/top-holdings/top-holdings.component.html
|
|
|
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Modernized the layout of the overview tab in the admin control panel |
|
|
|
- Improved the styling of the paginator across various table components |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
|
|
@ -309,6 +309,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<mat-paginator |
|
|
|
[hidePageSize]="true" |
|
|
|
[length]="totalItems" |
|
|
|
[ngClass]="{ |
|
|
|
'd-none': (isLoading && totalItems === 0) || totalItems <= pageSize |
|
|
|
|
|
|
|
@ -273,6 +273,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<mat-paginator |
|
|
|
[hidePageSize]="true" |
|
|
|
[length]="totalItems" |
|
|
|
[ngClass]="{ |
|
|
|
'd-none': (isLoading && totalItems === 0) || totalItems <= pageSize |
|
|
|
|
|
|
|
@ -258,10 +258,6 @@ body { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.mat-mdc-paginator { |
|
|
|
background-color: rgba(var(--palette-foreground-base-dark), 0.02); |
|
|
|
} |
|
|
|
|
|
|
|
.mdc-button { |
|
|
|
&.mat-accent, |
|
|
|
&.mat-primary { |
|
|
|
@ -459,15 +455,6 @@ ngx-skeleton-loader { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.mat-mdc-paginator { |
|
|
|
background-color: rgba(var(--palette-foreground-base-light), 0.02); |
|
|
|
|
|
|
|
.mat-mdc-paginator-page-size, |
|
|
|
.mat-mdc-paginator-page-size { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.mat-stepper-vertical, |
|
|
|
.mat-stepper-horizontal { |
|
|
|
background: transparent !important; |
|
|
|
|
|
|
|
@ -359,6 +359,12 @@ $_tertiary: map.merge(map.get($_palettes, tertiary), $_rest); |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
@include mat.paginator-overrides( |
|
|
|
( |
|
|
|
container-background-color: transparent |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
@include mat.progress-bar-overrides( |
|
|
|
( |
|
|
|
active-indicator-color: var(--gf-theme-primary-500) |
|
|
|
|
|
|
|
@ -536,6 +536,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
<mat-paginator |
|
|
|
[hidePageSize]="true" |
|
|
|
[length]="totalItems" |
|
|
|
[ngClass]="{ |
|
|
|
'd-none': (isLoading() && !totalItems) || totalItems <= pageSize |
|
|
|
|
|
|
|
@ -193,7 +193,7 @@ |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
|
|
|
|
<mat-paginator class="d-none" [pageSize]="pageSize()" /> |
|
|
|
<mat-paginator class="d-none" [hidePageSize]="true" [pageSize]="pageSize()" /> |
|
|
|
|
|
|
|
@if (isLoading()) { |
|
|
|
<ngx-skeleton-loader |
|
|
|
|
|
|
|
@ -155,7 +155,7 @@ |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
|
|
|
|
<mat-paginator class="d-none" [pageSize]="pageSize" /> |
|
|
|
<mat-paginator class="d-none" [hidePageSize]="true" [pageSize]="pageSize" /> |
|
|
|
|
|
|
|
@if (isLoading) { |
|
|
|
<ngx-skeleton-loader |
|
|
|
|