[ADF-5129][ADF-5130] Fix Lock in Gallery view and Lock Dialog (#5646)

This commit is contained in:
davidcanonieto 2020-04-28 08:50:06 +01:00 committed by GitHub
parent 13e17f8673
commit b6072f806a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 13 deletions

View File

@ -29,8 +29,9 @@
} }
} }
.app-datatable-card .app-lock-button { .adf-datatable-card .app-lock-button {
top: -10px; top: -10px;
position: absolute;
} }
.app-site-container-style { .app-site-container-style {

View File

@ -5,7 +5,7 @@
<mat-dialog-content> <mat-dialog-content>
<br /> <br />
<form [formGroup]="form" (submit)="submit()"> <form [formGroup]="form" (submit)="submit()">
<mat-checkbox data-automation-id="adf-lock-node-checkbox" class="adf-lock-file-name" [formControl]="form.controls['isLocked']" ngDefaultControl> <mat-checkbox data-automation-id="adf-lock-node-checkbox" class="adf-lock-file-name" matTooltip="{{ nodeName }}" [formControl]="form.controls['isLocked']" ngDefaultControl>
{{ 'CORE.FILE_DIALOG.FILE_LOCK_CHECKBOX' | translate }} <strong>"{{ nodeName }}"</strong> {{ 'CORE.FILE_DIALOG.FILE_LOCK_CHECKBOX' | translate }} <strong>"{{ nodeName }}"</strong>
</mat-checkbox> </mat-checkbox>

View File

@ -25,10 +25,22 @@
overflow-y: auto; overflow-y: auto;
} }
.adf-datatable-selected > svg { .adf-datatable-card {
fill: $document-list-selection-color; .adf-datatable-selected > svg {
width: 32px; fill: $document-list-selection-color;
height: 32px; width: 30px;
height: 30px;
position: absolute;
top: 10px;
}
}
.adf-datatable-list {
.adf-datatable-selected > svg {
fill: $document-list-selection-color;
width: 30px;
height: 30px;
}
} }
.adf-document-list_empty_template { .adf-document-list_empty_template {
@ -175,21 +187,23 @@
height: 300px !important; height: 300px !important;
img { img {
height: 100px; height: 130px;
} }
:first-child .adf-cell-container .adf-cell-value { .adf-datatable-cell {
display: flex; overflow: visible;
width: 265px;
flex: 0 0 auto;
justify-content: center;
} }
.adf-datatable-cell.adf-datatable-table-cell.adf-datatable-cell--image { .adf-datatable-cell.adf-datatable-cell--image {
flex: 0 0 auto; flex: 0 0 auto;
display: flex; display: flex;
flex-direction: column-reverse; flex-direction: column-reverse;
justify-content: space-between; justify-content: space-between;
.adf-cell-value {
display: flex;
justify-content: center;
}
} }
} }
} }

View File

@ -111,6 +111,10 @@
} }
} }
.adf-datatable-cell--image {
margin-left: 8px;
}
.adf-datatable-cell { .adf-datatable-cell {
text-align: left; text-align: left;
flex: 0 1 24%; flex: 0 1 24%;
@ -144,6 +148,7 @@
height: 42px !important; height: 42px !important;
width: 42px !important; width: 42px !important;
right: 0; right: 0;
top: 4px;
} }
.adf-image-table-cell { .adf-image-table-cell {