Files
alfresco-content-app/src/app/ui/overrides/_alfresco-document-list.scss
Denys Vuika 8a222bcb89 latest adf alpha (#353)
* latest adf alpha

* fix test

* try using instant translation for page titles

* upgrade to latest alpha

* update app config

* upgrade to adf app config pipe

* update libs

* update libs

* update config file

* fix code after upgrade

* upgrade e2e

* upgrade libs

* update libs

* fix e2e
2018-05-10 22:07:02 +01:00

87 lines
2.0 KiB
SCSS

@import 'variables';
@import 'mixins';
adf-document-list {
@include flex-column;
background-color: white; // TODO: remove when ADF 2.4.0 is out.
}
adf-datatable {
@include flex-column;
overflow-y: scroll;
}
.adf-data-table {
border: none !important;
.adf-datatable-header, .adf-datatable-row, .adf-data-table-cell {
color: $alfresco-secondary-text-color;
&:focus {
outline: none !important;
}
}
.adf-datatable-table-cell-header:focus {
outline: none !important;
}
.adf-datatable-body .adf-datatable-row {
&:hover, &:focus {
background-color: $alfresco-app-color--hue-1;
}
&.is-selected, &.is-selected:hover {
background-color: $alfresco-app-color--hue-1;
}
}
.adf-data-table-cell, .adf-datatable-header {
width: 100%;
text-align: left;
}
.adf-datatable-body .adf-data-table-cell--image {
padding-left: 24px;
padding-right: 0;
width: 10px;
}
.adf-data-table-cell--ellipsis .cell-value,
.adf-data-table-cell--ellipsis__name .cell-value {
display: flex;
align-items: center;
}
.adf-data-table-cell--ellipsis .adf-datatable-cell,
.adf-data-table-cell--ellipsis__name .adf-datatable-cell {
white-space: nowrap;
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
.adf-data-table-cell--ellipsis .adf-datatable-cell {
max-width: 7vw;
}
.adf-data-table-cell--ellipsis__name .adf-datatable-cell {
position: absolute;
max-width: calc(100% - 2em);
}
.adf-datatable-row:last-child .adf-datatable-table-cell {
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
}
.adf-document-list--empty {
.adf-data-table .adf-datatable-row:hover,
.adf-data-table .adf-datatable-row:focus {
background-color: unset;
}
}
.adf-pagination__empty {
display: none;
}