mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-4122] Add sticky header feature to datatable and refactor styles (#4370)
* [ADF-4122] Add sticky header config to datatable and refactor styles * [ADF-4122] Fix core unit tests * [ADF-4122] Commit requested changes * [ADF-4122] Fix e2e tests * Update docs/core/datatable.component.md Co-Authored-By: davidcanonieto <david.cano@alfresco.com>
This commit is contained in:
committed by
Eugenio Romano
parent
a7d058fd2e
commit
7da9bd89cb
@@ -38,9 +38,13 @@
|
||||
|
||||
adf-document-list ::ng-deep .adf-datatable-selected > svg {
|
||||
fill: #00bcd4 !important;
|
||||
margin-top: -4px;
|
||||
margin-left: -4px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.adf-data-table-card .adf-lock-button {
|
||||
.adf-datatable-card .adf-lock-button {
|
||||
top: -10px;
|
||||
}
|
||||
|
||||
@@ -129,15 +133,15 @@
|
||||
}
|
||||
|
||||
@media (max-device-width: $minimumDocumentListWidth) {
|
||||
adf-document-list .adf-data-table {
|
||||
.adf-data-table-cell,
|
||||
.adf-file-list-container .adf-datatable-list {
|
||||
.adf-datatable-cell,
|
||||
.adf-datatable-table-cell-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.adf-data-table-cell:first-child,
|
||||
.adf-datatable-cell:first-child,
|
||||
.adf-datatable-table-cell-header:first-child,
|
||||
.adf-data-table-cell:nth-child(2),
|
||||
.adf-datatable-cell:nth-child(2),
|
||||
.adf-datatable-table-cell-header:nth-child(2) {
|
||||
display: table-cell;
|
||||
}
|
||||
@@ -163,9 +167,9 @@
|
||||
}
|
||||
|
||||
@media (max-device-width: 1024px) {
|
||||
adf-document-list .adf-data-table {
|
||||
.adf-file-list-container .adf-datatable-list {
|
||||
|
||||
.adf-data-table-cell:nth-child(5),
|
||||
.adf-datatable-cell:nth-child(5),
|
||||
.adf-datatable-table-cell-header:nth-child(5) {
|
||||
display: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user