mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACA-2143] clean-up css overrides for pagination (#1063)
* [ACA-2143] clean-up css overrides for pagination - add back borders - upgrade to 7.0.0-beta24 for the flex Layout media query mixin to work as expected
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
@import './overrides/adf-search-filter.theme';
|
||||
@import './overrides/adf-info-drawer.theme';
|
||||
@import './overrides/adf-upload-dialog.theme';
|
||||
@import './overrides/adf-pagination.theme';
|
||||
@import './overrides/adf-sidenav-layout.theme';
|
||||
@import './overrides/adf-document-list.theme';
|
||||
@import './overrides/adf-upload-drag-area.theme';
|
||||
@@ -66,12 +65,12 @@ $custom-theme-primary: mat-palette($grey-scale, A400);
|
||||
$custom-theme-accent: mat-palette($alfresco-accent-orange);
|
||||
$custom-theme-warn: mat-palette($alfresco-warn);
|
||||
$custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent);
|
||||
$foreground: map-get($custom-theme, foreground);
|
||||
|
||||
@mixin custom-theme($theme) {
|
||||
@include adf-toolbar-theme($theme);
|
||||
@include adf-search-filter-theme($theme);
|
||||
@include adf-info-drawer-theme($theme);
|
||||
@include adf-pagination-theme($theme);
|
||||
@include adf-sidenav-layout-theme($theme);
|
||||
@include adf-document-list-theme($theme);
|
||||
@include adf-upload-drag-area-theme($theme);
|
||||
@@ -97,3 +96,6 @@ $custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent);
|
||||
$document-list-selection-color: mat-color($alfresco-ecm-blue, 500);
|
||||
$document-list-background: white;
|
||||
$document-list-thumbnail-width: 35px;
|
||||
|
||||
$adf-pagination--border: 1px solid mat-color($foreground, text, 0.07);
|
||||
$adf-pagination__empty--height: 0;
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
@mixin adf-pagination-theme($theme) {
|
||||
.adf-pagination {
|
||||
&.adf-pagination__empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 599px) {
|
||||
.adf-pagination {
|
||||
padding: 0;
|
||||
|
||||
&__range-block,
|
||||
&__perpage-block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&__actualinfo-block {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user