mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
180 lines
4.2 KiB
SCSS
180 lines
4.2 KiB
SCSS
@mixin adf-document-list-theme($theme) {
|
|
$foreground: map-get($theme, foreground);
|
|
$accent: map-get($theme, accent);
|
|
|
|
.adf-datatable-selected > svg {
|
|
fill: mat-color($accent);
|
|
margin-top: -4px;
|
|
margin-left: -4px;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.document-list_empty_template {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.adf-no-permission__template {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 300px;
|
|
|
|
mat-icon {
|
|
font-size: 52px;
|
|
height: 52px;
|
|
width: 52px;
|
|
direction: rtl;
|
|
}
|
|
|
|
&--text {
|
|
color: mat-color($foreground, text);
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
.document-list__this-space-is-empty {
|
|
height: 32px;
|
|
opacity: 0.26;
|
|
font-size: 24px;
|
|
line-height: 1.33;
|
|
letter-spacing: -1px;
|
|
color: mat-color($foreground, text);
|
|
}
|
|
|
|
.document-list__drag-drop {
|
|
height: 56px;
|
|
opacity: 0.54;
|
|
font-size: 56px;
|
|
line-height: 1;
|
|
letter-spacing: -2px;
|
|
color: mat-color($foreground, text);
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.document-list__any-files-here-to-add {
|
|
height: 24px;
|
|
opacity: 0.54;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
letter-spacing: -0.4px;
|
|
color: mat-color($foreground, text)0;
|
|
margin-top: 17px;
|
|
}
|
|
|
|
.document-list__empty_doc_lib {
|
|
width: 565px;
|
|
height: 161px;
|
|
object-fit: contain;
|
|
margin-top: 17px;
|
|
}
|
|
|
|
.adf-document-list-loading-margin {
|
|
margin: auto;
|
|
}
|
|
|
|
.adf-document-list-loading-container {
|
|
min-height: 300px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 100%;
|
|
}
|
|
|
|
.adf-empty-list-header {
|
|
height: 32px;
|
|
opacity: 0.26 !important;
|
|
font-size: 24px;
|
|
line-height: 1.33;
|
|
letter-spacing: -1px;
|
|
color: mat-color($foreground, text);
|
|
}
|
|
|
|
.adf-documentlist-pagination {
|
|
color: mat-color($foreground, text);
|
|
|
|
.adf-pagination__block {
|
|
border-right: none;
|
|
}
|
|
}
|
|
|
|
.adf-empty-folder {
|
|
|
|
&-this-space-is-empty {
|
|
height: 32px;
|
|
opacity: 0.26;
|
|
font-size: 24px;
|
|
line-height: 1.33;
|
|
letter-spacing: -1px;
|
|
color: mat-color($foreground, text);
|
|
}
|
|
|
|
&-drag-drop {
|
|
min-height: 56px;
|
|
opacity: 0.54;
|
|
font-size: 53px;
|
|
line-height: 1;
|
|
letter-spacing: -2px;
|
|
color: mat-color($foreground, text);
|
|
margin-top: 40px;
|
|
word-break: break-all;
|
|
white-space: pre-line;
|
|
|
|
@media screen and ($mat-xsmall) {
|
|
font-size: 48px;
|
|
}
|
|
}
|
|
|
|
&-any-files-here-to-add {
|
|
min-height: 24px;
|
|
opacity: 0.54;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
letter-spacing: -0.4px;
|
|
color: mat-color($foreground, text);
|
|
margin-top: 17px;
|
|
word-break: break-all;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
&-image {
|
|
width: 565px;
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
margin-top: 17px;
|
|
|
|
@media screen and ($mat-xsmall) {
|
|
width: 250px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.adf-datatable-gallery-thumbnails {
|
|
.adf-data-table-card .adf-datatable-row {
|
|
height: 300px !important;
|
|
|
|
img {
|
|
height: 100px;
|
|
}
|
|
|
|
:first-child .cell-container .cell-value {
|
|
display: flex;
|
|
width: 265px;
|
|
flex: 0 0 auto;
|
|
justify-content: center;
|
|
}
|
|
|
|
.adf-data-table-cell.adf-datatable-table-cell.adf-data-table-cell--image {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
}
|
|
}
|