alfresco-content-app/src/app/dialogs/node-versions/node-versions.dialog.theme.scss
Urse Daniel 42d3d5cd6f
[ACA-45] Drag and Drop a new version (#1477)
* added functionality to import a file from drag&drop

* handle dropping a file over another and triggering the dialog for manage versions while passing the dropped file

* handle receiving and passing a file to version manager

* handle dropping a file over another.

* refactoring the component by using 2 ADF components and showing them by a specific view case.

* updated the dialog ref based on how the version dialog should behave in order to change/view a file's versions

* handle the new drag&drop to upload a file's version functionality

* removed the custom previous version upload component

* added payload constructor

* added unit test, fixed some misstypes

* fix failing travis unit tests

* fix failing travis unit tests

* added translate module

* added last version and fix failing test

* small fixes and change type workflow to customevent.

* small fix

* fix flaky test

* deleted flaky merge

* ACA-45: Take drag'n'drop pop-up title from ACA rather than the ADF component

* fixed a logical issue

* ACA-45: Fix failing e2e tests

* unit testing error fixing

* unit testing error fixing

* fix unknown word travis

* unlock node after upload success

* unlock node after cancelling upload

* ACA-45: Introduce back fileUnlock asserts

* added unit test for checking if the locked node is unlocked when uploading successfully a new version

* added type of event and small update to unit test

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
2020-06-09 21:48:03 +01:00

86 lines
1.6 KiB
SCSS

@mixin aca-node-versions-dialog-theme($theme) {
$foreground: map-get($theme, foreground);
$accent: map-get($theme, accent);
.adf-version-manager-dialog-panel-list {
height: 400px;
}
.adf-version-manager-dialog-panel-upload {
height: 280px;
}
.aca-node-versions-dialog {
.mat-dialog-title {
flex: 0 0 auto;
}
.mat-dialog-content {
flex: 1 1 auto;
position: relative;
overflow-y: auto;
}
.mat-dialog-actions {
flex: 0 0 auto;
}
.mat-dialog-title {
font-size: 20px;
font-weight: 600;
font-style: normal;
font-stretch: normal;
line-height: 1.6;
margin: 0;
letter-spacing: -0.5px;
color: mat-color($foreground, text, 0.87);
}
.mat-dialog-actions {
padding: 8px 8px 24px 8px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
color: mat-color($foreground, text, 0.54);
button {
text-transform: uppercase;
font-weight: normal;
&:enabled {
color: mat-color($accent);
}
}
}
.adf-new-version-container {
height: 350px !important;
}
.mat-dialog-content {
max-height: 36vh;
overflow: hidden;
}
.mat-list-item-content {
padding: 0;
margin: 0 16px;
}
.adf-version-list-container {
.adf-version-list {
height: 250px;
overflow: hidden;
padding: 0;
}
.mat-list.adf-version-list {
overflow: auto;
}
}
}
}