2 @import '~@proton/styles/scss/lib';
7 z-index: map.get($z-indexes, 'transfer-manager');
8 box-shadow: var(--shadow-lifted);
9 color: var(--text-norm);
10 transition: 0.15s cubic-bezier(0.22, 1, 0.36, 1);
11 background: var(--background-norm);
13 @include media('height<=xsmall') {
17 @include media('<=small') {
18 inset-inline-start: 0;
22 @include media('>small') {
23 margin-inline-end: inherit;
25 // Make rounded border for both manager and header to not include
26 // background color of the manager in the corner.
29 border-start-start-radius: var(--border-radius-md);
30 border-start-end-radius: 0;
31 border-end-start-radius: 0;
32 border-end-end-radius: 0;
37 background: var(--background-strong);
38 color: var(--text-norm);
43 justify-content: stretch;
52 background-color: var(--background-norm);
53 color: var(--text-norm);
56 margin-block-start: -0.5em;
60 &--minimized &-list-placeholder {
66 @include media('height<=xsmall') {
67 max-block-size: initial;
74 grid-template-rows: 1fr auto;
75 grid-template-areas: 'name size status controls' 'progress progress progress progress';
78 block-size: 5em; // To avoid height blinking on status changing
79 @extend .border-bottom;
81 @include media('<=small') {
82 grid-template-columns: 4fr minmax(5em, 2fr) 2.5em minmax(4.5em, 1fr);
85 @include media('>small') {
86 grid-template-columns: 4fr 2.5fr minmax(6em, 2fr) minmax(4.5em, 1fr);
89 @include media('height>xsmall') {
91 border-block-end: none;
95 @each $place in (name, size, status, controls, progress) {
100 @if $place != controls and $place != progress {
101 &--canceled &-#{$place} {
108 @include media('<=#{em(420, 16)}') {
115 font-variant-numeric: tabular-nums;
117 @include media('<=small') {
126 font-variant-numeric: tabular-nums;
133 margin-inline-start: 0.5em;
137 .transfers-manager-list-item-controls-button {
139 will-change: opacity;
143 .transfers-manager-list-item-controls-button {
150 background-color: var(--background-weak);
154 background-color: var(--background-norm);
159 grid-template-columns: minmax(min-content, 1fr) auto;
160 grid-template-areas: 'status controls';