Bug 812343 - Empty Downloads Panel on Windows needs downloads richlistbox collapsed. r=mak.
authorMike Conley <mconley@mozilla.com>
Fri, 16 Nov 2012 16:27:28 -0500
changeset 113571 410afbab72787bf6b22cf5077dd1a3122190d2f7
parent 113570 66450aee9446ea1492c899769e0cf54c497b6ac8
child 113572 b527670b672874f0a4f6f7f4822b2808c6671237
push id18235
push userryanvm@gmail.com
push dateFri, 16 Nov 2012 23:34:32 +0000
treeherdermozilla-inbound@410afbab7278 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs812343
milestone19.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 812343 - Empty Downloads Panel on Windows needs downloads richlistbox collapsed. r=mak.
browser/themes/winstripe/downloads/downloads.css
--- a/browser/themes/winstripe/downloads/downloads.css
+++ b/browser/themes/winstripe/downloads/downloads.css
@@ -9,16 +9,20 @@
 }
 
 #downloadsListBox {
   background-color: transparent;
   padding: 4px;
   color: inherit;
 }
 
+#downloadsPanel:not([hasdownloads]) > #downloadsListBox {
+  display: none;
+}
+
 #downloadsHistory {
   background: transparent;
   color: -moz-nativehyperlinktext;
   cursor: pointer;
 }
 
 #downloadsHistory > .button-box {
   margin: 1em;