mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4323] Add style fixes from ACA (#4546)
* [ADF-4323] add style fix for adf-search-sorting-picker - moved from ACA * [ADF-4323] use Flex Layout's media query mixin * [ADF-4323] add style fix for adf-pagination - moved from ACA * [ADF-4323] add style fix for adf-version-manager - which fixed issue [ACA-1750] * [ADF-4323] remove not used property * [ADF-4323] remove extra bottom-border * [ADF-4323] upload-drag-area refactor to scss * [ADF-4323] add style fix for adf file upload - from ACA * [ADF-4323] add style fix for adf-info-drawer - from ACA * [ADF-4323] add style fix for adf-toolbar - from ACA * [ADF-4323] add style fix for adf-sidenav-layout - from ACA * [ADF-4323] add style fix for adf-search-filter - from ACA * [ADF-4323] add style fix for adf-upload-drag-area - from ACA * [ADF-4323] add style fix for adf-info-drawer - from ACA * [ADF-4323] move style fix for adf-manage-versions from demo-shell * [ADF-4323] use Flex Layout's media query mixin * [ADF-4323] small fix to remove scrolling * [ADF-4323] add adf-sidenav-layout host element class * [ADF-4323] change 'inline' class name to 'adf-toolbar--inline' - css lint was failing because of old naming * [ADF-4323] set pagination empty state styling * [ADF-4323] set pagination border to none
This commit is contained in:
committed by
Eugenio Romano
parent
ec9d2785fa
commit
e656cc6977
@@ -1,10 +1,11 @@
|
||||
|
||||
@mixin adf-pagination-theme($theme) {
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
$adf-pagination--height: 48px;
|
||||
$adf-pagination--icon-button-size: 32px;
|
||||
$adf-pagination--border: 1px solid mat-color($foreground, text, 0.07);
|
||||
$adf-pagination--height: 48px !default;
|
||||
$adf-pagination--icon-button-size: 32px !default;
|
||||
$adf-pagination--border: none !default;
|
||||
$adf-pagination__empty--height: 48px !default;
|
||||
$adf-pagination__empty--border: none !default;
|
||||
|
||||
.adf-pagination {
|
||||
display: flex;
|
||||
@@ -33,42 +34,24 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
|
||||
@include layout-bp(lt-sm) {
|
||||
& {
|
||||
flex-wrap: wrap;
|
||||
padding-bottom: 24px;
|
||||
padding-top: 8px;
|
||||
padding: 0 16px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&__range-block.adf-pagination__block:first-child {
|
||||
order: 1;
|
||||
flex: 0 0 auto;
|
||||
box-sizing: border-box;
|
||||
padding-left: 16px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
&__range-block,
|
||||
&__perpage-block {
|
||||
order: 3;
|
||||
box-sizing: border-box;
|
||||
padding-left: 16px;
|
||||
justify-content: flex-start;
|
||||
display: none;
|
||||
}
|
||||
|
||||
&__actualinfo-block {
|
||||
order: 2;
|
||||
box-sizing: border-box;
|
||||
padding-right: 16px;
|
||||
justify-content: flex-end;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
&__controls-block {
|
||||
order: 4;
|
||||
box-sizing: border-box;
|
||||
padding-right: 16px;
|
||||
justify-content: flex-end;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,6 +79,11 @@
|
||||
max-height: 250px !important;
|
||||
}
|
||||
|
||||
&.adf-pagination__empty {
|
||||
border-top: $adf-pagination__empty--border;
|
||||
height: $adf-pagination__empty--height;
|
||||
}
|
||||
|
||||
button[mat-icon-button] {
|
||||
width: $adf-pagination--icon-button-size;
|
||||
height: $adf-pagination--icon-button-size;
|
||||
|
Reference in New Issue
Block a user