commit 63e4337382178837b4633b667c3f32442efd0bd3
parent 4312c9e8845f5141aac34e324d8a131d44b6be51
Author: Lootyhoof <lootyhoofer@gmail.com>
Date: Sun, 9 Oct 2016 15:59:48 +0100
Support PM27's downloads panel
Diffstat:
3 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/src/chrome/appver/26/downloads.css b/src/chrome/appver/26/downloads.css
@@ -0,0 +1,4 @@
+#downloadsPanel[hasdownloads] > #downloadsFooter {
+ background: rgb(75,75,75);
+ border-top: 1px solid rgb(75,75,75);
+}
+\ No newline at end of file
diff --git a/src/chrome/appver/27/downloads.css b/src/chrome/appver/27/downloads.css
@@ -0,0 +1,13 @@
+#downloadsPanel[hasdownloads] > #emptyDownloads {
+ display: none;
+}
+
+#emptyDownloads {
+ padding: 10px 20px;
+ max-width: 40ch;
+}
+
+#downloadsFooter {
+ background: rgb(75,75,75);
+ border-top: 1px solid rgb(75,75,75);
+}
+\ No newline at end of file
diff --git a/src/chrome/browser/downloads/downloads.css b/src/chrome/browser/downloads/downloads.css
@@ -2,9 +2,7 @@
* 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/. */
-/* 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/. */
+@import url("chrome://appver/skin/downloads.css");
/*** Panel and outer controls ***/
@@ -32,11 +30,6 @@
margin: 1em;
}
-#downloadsPanel[hasdownloads] > #downloadsFooter {
- background: rgb(75,75,75);
- border-top: 1px solid rgb(75,75,75);
-}
-
/*** Downloads Summary and List items ***/
#downloadsSummary,