DownloadManager.css
⎇
Raw
1.downloadmanager-header {
2 display: flex;
3 gap: 1.5rem;
4 @media (max-width: 750px) {
5 gap: 1rem; /*allows the title to fit with the buttons at min width*/
6 }
7 & > span {
8 min-width: 0;
9 overflow: hidden;
10 margin-right: auto;
11 }
12}
13
14.downloadmanager-counters {
15 display: flex;
16 justify-content: space-between;
17 gap: 0.5rem;
18}
19
20.downloadmanager-content {
21 display: flex;
22 flex-direction: column;
23 gap: 0.25rem;
24 overflow: auto;
25 position: relative;
26 & > .downloadmanager-item {
27 display: flex;
28 flex-direction: column;
29 gap: 0.2rem;
30 padding: 0.5rem;
31 background-color: var(--color-c);
32 &:hover {
33 background-color: var(--color-c-highlight);
34 }
35
36 & > span {
37 overflow: hidden;
38 text-overflow: ellipsis;
39 text-wrap: nowrap;
40 direction: rtl;
41 max-width: 100%;
42 align-self: start;
43 }
44
45 & > .downloadmanager-buttons {
46 display: flex;
47 gap: 0.5rem;
48 justify-content: end;
49 align-items: center;
50 }
51
52 &.downloadmanager-item-failed {
53 background-color: oklch(0.35 0.137 30);
54 &:hover {
55 background-color: oklch(0.4 0.137 30);
56 }
57 }
58 &.downloadmanager-item-aborted {
59 background-color: oklch(0.48 0.085 102);
60 &:hover {
61 background-color: oklch(0.53 0.085 102);
62 }
63 }
64 }
65}
66