Bug 823095 - Better pinstripe theme-ing for new Downloads View in Places. r=Mano.
authorMike Conley <mconley@mozilla.com>
Wed, 26 Dec 2012 15:25:15 -0500
changeset 126165 3de40b952c58fcbfd329d3f1cfbbd9680b65ce45
parent 126164 c0adf89b103babdb9339b9615eceaf54d0e1b93b
child 126166 0e917dc864c26cca4750542dc8a9e0fd62f63e26
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMano
bugs823095
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 823095 - Better pinstripe theme-ing for new Downloads View in Places. r=Mano.
browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css
browser/themes/pinstripe/downloads/allDownloadsViewOverlay.css
browser/themes/winstripe/downloads/allDownloadsViewOverlay.css
--- a/browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css
+++ b/browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css
@@ -1,13 +1,14 @@
 /* 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/. */
 
 #downloadsRichListBox {
+  /** The default listbox appearance comes with an unwanted margin. **/
   -moz-appearance: none;
   margin: 0;
 }
 
 #downloadsRichListBox > richlistitem.download {
   height: 5em;
   padding: 5px 8px;
 }
--- a/browser/themes/pinstripe/downloads/allDownloadsViewOverlay.css
+++ b/browser/themes/pinstripe/downloads/allDownloadsViewOverlay.css
@@ -1,59 +1,56 @@
-richlistitem.download {
-  height: 7em;
+/* 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/. */
+
+#downloadsRichListBox {
+  /** The default listbox appearance comes with an unwanted margin. **/
+  -moz-appearance: none;
   margin: 0;
-  padding: 8px;
-  -moz-padding-end: 0;
 }
 
-richlistitem.download:first-child {
-  border-top: 1px solid transparent;
-}
-
-richlistitem.download:last-child {
-  border-bottom: 1px solid transparent;
+#downloadsRichListBox > richlistitem.download {
+  height: 6em;
+  padding: 5px 8px;
 }
 
 .downloadTypeIcon {
   -moz-margin-end: 8px;
   /* Prevent flickering when changing states. */
   min-height: 32px;
   min-width: 32px;
 }
 
 .blockedIcon {
   list-style-image: url("chrome://global/skin/icons/Error.png");
 }
 
 .downloadTarget {
-  margin-bottom: 6px;
+  margin-bottom: 3px;
   cursor: inherit;
 }
 
 .downloadDetails {
   opacity: 0.7;
   font-size: 95%;
   cursor: inherit;
 }
 
 .downloadButton {
   -moz-appearance: none;
+  background: transparent;
   min-width: 0;
   min-height: 0;
   margin: 3px;
   border: none;
   padding: 5px;
   list-style-image: url("chrome://browser/skin/downloads/buttons.png");
 }
 
-.downloadButton > .button-box {
-  padding: 0;
-}
-
 /*** Button icons ***/
 
 .downloadButton.downloadCancel {
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
 .downloadButton.downloadShow {
   -moz-image-region: rect(16px, 16px, 32px, 0px);
--- a/browser/themes/winstripe/downloads/allDownloadsViewOverlay.css
+++ b/browser/themes/winstripe/downloads/allDownloadsViewOverlay.css
@@ -1,13 +1,14 @@
 /* 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/. */
 
 #downloadsRichListBox {
+  /** The default listbox appearance comes with an unwanted margin. **/
   -moz-appearance: none;
   margin: 0;
 }
 
 #downloadsRichListBox > richlistitem.download {
   height: 6em;
 %ifndef WINSTRIPE_AERO
   padding: 5px 8px;