alfresco-ng2-components/lib/content-services/upload/components/file-uploading-list-row.component.scss
Suzana Dirla e656cc6977 [ADF-4323] Add style fixes from ACA (#4546)
* [ADF-4323] add style fix for adf-search-sorting-picker

- moved from ACA

* [ADF-4323] use Flex Layout's media query mixin

* [ADF-4323] add style fix for adf-pagination

- moved from ACA

* [ADF-4323] add style fix for adf-version-manager

- which fixed issue [ACA-1750]

* [ADF-4323] remove not used property

* [ADF-4323] remove extra bottom-border

* [ADF-4323] upload-drag-area refactor to scss

* [ADF-4323] add style fix for adf file upload

- from ACA

* [ADF-4323] add style fix for adf-info-drawer

- from ACA

* [ADF-4323] add style fix for adf-toolbar

- from ACA

* [ADF-4323] add style fix for adf-sidenav-layout

- from ACA

* [ADF-4323] add style fix for adf-search-filter

- from ACA

* [ADF-4323] add style fix for adf-upload-drag-area

- from ACA

* [ADF-4323] add style fix for adf-info-drawer

- from ACA

* [ADF-4323] move style fix for adf-manage-versions from demo-shell

* [ADF-4323] use Flex Layout's media query mixin

* [ADF-4323] small fix to remove scrolling

* [ADF-4323] add adf-sidenav-layout host element class

* [ADF-4323] change 'inline' class name to 'adf-toolbar--inline'

- css lint was failing because of old naming

* [ADF-4323] set pagination empty state styling

* [ADF-4323] set pagination border to none
2019-04-05 14:05:21 +01:00

78 lines
1.8 KiB
SCSS

@mixin adf-file-uploading-row-theme($theme) {
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
$warn: map-get($theme, warn);
$file-uploading-row-hover-color: #eeeeee !default;
adf-file-uploading-list-row:not(:first-child) {
display: block;
border-top: 1px solid mat-color($foreground, text, 0.14);
}
.adf-file-uploading-row {
display: flex;
align-items: center;
padding: 0.5em 1em;
cursor: default;
&:hover {
background: $file-uploading-row-hover-color;
}
&__name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 1 auto;
padding: 0 1em 0 0.5em;
}
&__group, &__block {
min-width: 100px;
display: flex;
justify-content: flex-end;
}
&__group--toggle {
cursor: pointer;
.adf-file-uploading-row__status {
display: flex;
}
.adf-file-uploading-row__action {
display: none;
}
&:hover {
.adf-file-uploading-row__status {
display: none;
}
.adf-file-uploading-row__action {
display: flex;
}
}
}
&__status--done {
color: mat-color($accent);
}
&__status--error {
color: mat-color($warn);
}
&__action--cancel {
color: mat-color($warn);
}
&__action--remove {
color: mat-color($warn);
}
}
}