Merge branch 'master' into VM/RED-6510
This commit is contained in:
commit
87c221a007
@ -5,13 +5,14 @@
|
||||
</ng-template>
|
||||
|
||||
<ng-container *ngIf="((fileAttributesService.isEditingFileAttribute$ | async) === false || isInEditMode) && !file.isProcessing">
|
||||
<div *ngIf="!isInEditMode; else input" class="edit-button">
|
||||
<div *ngIf="!isInEditMode; else input" class="action-buttons edit-button">
|
||||
<iqser-circle-button
|
||||
(action)="editFileAttribute()"
|
||||
*ngIf="permissionsService.canEditFileAttributes(file, dossier)"
|
||||
[disabled]="!fileAttribute.editable"
|
||||
[icon]="'iqser:edit'"
|
||||
[tooltip]="'file-attribute.actions.edit' | translate"
|
||||
[attr.help-mode-key]="'edit-file-attributes'"
|
||||
id="edit-attribute-button"
|
||||
></iqser-circle-button>
|
||||
</div>
|
||||
|
||||
@ -6,26 +6,19 @@
|
||||
|
||||
.edit-button {
|
||||
position: absolute;
|
||||
display: none;
|
||||
background: radial-gradient(var(--iqser-side-nav) 10%, rgba(244, 245, 247, 0) 60%);
|
||||
height: 100%;
|
||||
width: 150%;
|
||||
transform: translate(-25%);
|
||||
right: 10%;
|
||||
width: 90%;
|
||||
background: linear-gradient(to left, var(--iqser-side-nav) 20%, rgba(244, 245, 247, 0) 60%);
|
||||
|
||||
iqser-circle-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
left: 80%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.edit-button {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-input {
|
||||
cursor: default;
|
||||
display: flex;
|
||||
|
||||
@ -367,5 +367,9 @@
|
||||
"elementKey": "editor_document_features",
|
||||
"documentKey": "editor_document_features",
|
||||
"overlappingElements": ["USER_MENU"]
|
||||
},
|
||||
{
|
||||
"elementKey": "edit-file-attributes",
|
||||
"documentKey": "edit-file-attributes"
|
||||
}
|
||||
]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "redaction",
|
||||
"version": "4.49.0",
|
||||
"version": "4.50.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user