Files
alfresco-content-app/src/app/ui/overrides/_alfresco-document-list.scss
2018-02-28 08:06:01 +00:00

102 lines
2.3 KiB
SCSS

@import '../variables';
adf-document-list {
display: flex;
flex-direction: column;
flex: 1;
overflow: auto;
& > adf-datatable {
height: 100%;
}
}
.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;
}
.app-location-link,
.adf-location-cell {
a {
text-decoration: none;
color: $alfresco-primary-text-color;
&:hover {
color: #2196F3;
text-decoration: underline;
}
}
}
.adf-datatable-header:first-of-type, .adf-datatable-header.adf-data-table-cell--image,
.adf-data-table-cell:first-of-type, .adf-data-table-cell.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);
}
}
.empty-list {
.adf-data-table {
height: 100%;
.adf-datatable-row:hover, .adf-datatable-row:focus {
background-color: unset;
cursor: default;
}
}
}