Bug 1244473 - Part 2 - Share simple rules for the panel and the outer controls. r=jaws
--- a/browser/themes/linux/downloads/downloads.css
+++ b/browser/themes/linux/downloads/downloads.css
@@ -1,39 +1,16 @@
/* 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 ../../shared/downloads/downloads.inc.css
/*** Panel and outer controls ***/
-#downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent {
- padding: 0;
-}
-
-#downloadsListBox {
- background: transparent;
- padding: 4px;
- color: inherit;
-}
-
-#downloadsPanel:not([hasdownloads]) > #downloadsListBox {
- display: none;
-}
-
-#downloadsPanel[hasdownloads] > #emptyDownloads {
- display: none;
-}
-
-#emptyDownloads {
- padding: 10px 20px;
- max-width: 40ch;
-}
-
#downloadsHistory {
background: transparent;
color: -moz-nativehyperlinktext;
cursor: pointer;
}
#downloadsFooter {
border-top: 1px solid ThreeDShadow;
--- a/browser/themes/osx/downloads/downloads.css
+++ b/browser/themes/osx/downloads/downloads.css
@@ -5,39 +5,16 @@
%include ../../shared/downloads/downloads.inc.css
/*** Panel and outer controls ***/
#downloadsPanel {
margin-top: -1px;
}
-#downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent {
- padding: 0;
-}
-
-#downloadsListBox {
- background: transparent;
- padding: 4px;
- color: inherit;
-}
-
-#downloadsPanel:not([hasdownloads]) > #downloadsListBox {
- display: none;
-}
-
-#downloadsPanel[hasdownloads] > #emptyDownloads {
- display: none;
-}
-
-#emptyDownloads {
- padding: 10px 20px;
- max-width: 40ch;
-}
-
#downloadsFooter {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
#downloadsHistory {
background: transparent;
color: hsl(210,100%,75%);
--- a/browser/themes/shared/downloads/downloads.inc.css
+++ b/browser/themes/shared/downloads/downloads.inc.css
@@ -1,3 +1,28 @@
/* 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/. */
+
+/*** Panel and outer controls ***/
+
+#downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 0;
+}
+
+#downloadsListBox {
+ background: transparent;
+ padding: 4px;
+ color: inherit;
+}
+
+#downloadsPanel:not([hasdownloads]) > #downloadsListBox {
+ display: none;
+}
+
+#downloadsPanel[hasdownloads] > #emptyDownloads {
+ display: none;
+}
+
+#emptyDownloads {
+ padding: 10px 20px;
+ max-width: 40ch;
+}
--- a/browser/themes/windows/downloads/downloads.css
+++ b/browser/themes/windows/downloads/downloads.css
@@ -1,39 +1,16 @@
/* 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 ../../shared/downloads/downloads.inc.css
/*** Panel and outer controls ***/
-#downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent {
- padding: 0;
-}
-
-#downloadsListBox {
- background-color: transparent;
- padding: 4px;
- color: inherit;
-}
-
-#downloadsPanel:not([hasdownloads]) > #downloadsListBox {
- display: none;
-}
-
-#downloadsPanel[hasdownloads] > #emptyDownloads {
- display: none;
-}
-
-#emptyDownloads {
- padding: 10px 20px;
- max-width: 40ch;
-}
-
#downloadsHistory {
background: transparent;
cursor: pointer;
}
@media (-moz-os-version: windows-xp),
(-moz-os-version: windows-vista),
(-moz-os-version: windows-win7) {