summaryrefslogtreecommitdiffstats
path: root/mobile/android/themes/core/aboutDownloads.css
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/themes/core/aboutDownloads.css')
-rw-r--r--mobile/android/themes/core/aboutDownloads.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/mobile/android/themes/core/aboutDownloads.css b/mobile/android/themes/core/aboutDownloads.css
new file mode 100644
index 000000000..2e3097fd9
--- /dev/null
+++ b/mobile/android/themes/core/aboutDownloads.css
@@ -0,0 +1,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;
+}