summaryrefslogtreecommitdiffstats
path: root/mobile/android/themes/core/aboutDownloads.css
blob: 2e3097fd99a844708c7a683ac2cb9bae14efa10b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

include "defines.css"

.list-item > a {
  color: inherit;
  text-decoration: none;
}

#private-downloads-list .list-item {
  background-color: #393e43;
  color: #ddd;
}

.details {
  margin-inline-start: calc(var(--icon-size) + var(--icon-margin) * 2 - 1em);
  padding: 1em;
}

.date {
  color: gray;
  margin-inline-start: 0.5em;
}

.domain,
.size {
  display: inline;
}

.state {
  color: gray;
  margin-bottom: -3px; /* Prevent overflow that hides bottom border */
}

.size:after {
  content: " - ";
  white-space: pre;
}

#no-downloads-indicator {
  display: none;
}

#private-downloads-list:empty + #public-downloads-list:empty + #no-downloads-indicator {
  display: block;
  text-align: center;
  padding-top: 3.9em;
}