mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* access upload dialog information by keyboard * upload files actions keyboard accessibility * aria labels translation keys * refractor styling * toggle action icons * update docs * e2e * e2e update action reference
65 lines
1.5 KiB
SCSS
65 lines
1.5 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.3em 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, &__file-version {
|
|
min-width: 100px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
line-height: 40px;
|
|
}
|
|
|
|
&__group--toggle {
|
|
cursor: pointer;
|
|
display:flex;
|
|
align-items: center;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
&__status--done {
|
|
color: mat-color($accent);
|
|
}
|
|
|
|
&__status--error {
|
|
color: mat-color($warn);
|
|
}
|
|
|
|
&__action--cancel {
|
|
color: mat-color($warn);
|
|
}
|
|
|
|
&__action--remove {
|
|
color: mat-color($warn);
|
|
}
|
|
}
|
|
}
|