alfresco-ng2-components/lib/content-services/upload/components/file-uploading-list-row.component.scss
davidcanonieto 1a21f234b6 [ADF-3746] Add style lint rules (#3975)
* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
2018-11-28 14:43:18 +00:00

79 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: 200px;
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($accent);
}
}
}