[ADF-924] Upload Component enhancements (#2115)

* changed logic/design

* restored dialog component spec

* revert changes

* update upload dialog documentation

* public over private

* component close method
This commit is contained in:
Cilibiu Bogdan
2017-07-24 18:50:20 +03:00
committed by Eugenio Romano
parent 4d0d0b3457
commit aad7164042
20 changed files with 560 additions and 411 deletions

View File

@@ -0,0 +1,67 @@
@import 'theming';
:host {
display: flex;
align-items: center;
padding: 0.5em 1em 0.5em 1em;
&:not(:first-child) {
border-top: 1px solid $alfresco-dark-color--hue-1;
}
.list-row {
cursor: default;
&__name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 1 auto;
padding: 0 1em 0 0.5em;
}
&__group, &__block {
min-width: 200px;
display: flex;
justify-content: flex-end;
}
&__group--toggle {
cursor: pointer;
.list-row__status {
display: flex;
}
.list-row__action {
display: none;
}
&:hover {
.list-row__status {
display: none;
}
.list-row__action {
display: flex;
}
}
}
&__status--done {
color: $alfresco-secondary-accent--default;
}
&__status--error {
color: $alfresco-warn-color--default;
}
&__action--cancel {
color: $alfresco-warn-color--default;
}
&__action--remove {
color: $alfresco-secondary-accent--default;
}
}
}