Bug 1527572 - Properly style the download panel summary. r=Felipe
authorDão Gottwald <dao@mozilla.com>
Fri, 08 Mar 2019 02:55:20 +0000
changeset 521035 affd43bd1637
parent 521034 a299cc84703a
child 521036 cdd6695cfad8
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFelipe
bugs1527572
milestone67.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 1527572 - Properly style the download panel summary. r=Felipe Differential Revision: https://phabricator.services.mozilla.com/D22096
browser/components/downloads/content/downloadsPanel.inc.xul
browser/themes/shared/downloads/downloads.inc.css
--- a/browser/components/downloads/content/downloadsPanel.inc.xul
+++ b/browser/components/downloads/content/downloadsPanel.inc.xul
@@ -110,18 +110,17 @@
                      onmouseover="DownloadsView.onDownloadMouseOver(event);"
                      onmouseout="DownloadsView.onDownloadMouseOut(event);"
                      oncontextmenu="DownloadsView.onDownloadContextMenu(event);"
                      ondragstart="DownloadsView.onDownloadDragStart(event);"/>
         <description id="emptyDownloads"
                      mousethrough="always"
                      value="&downloadsPanelEmpty.label;"/>
       </vbox>
-      <vbox id="downloadsFooter"
-            class="downloadsPanelFooter">
+      <vbox id="downloadsFooter">
         <stack>
           <hbox id="downloadsSummary"
                 align="center"
                 orient="horizontal"
                 onkeydown="DownloadsSummary.onKeyDown(event);"
                 onclick="DownloadsSummary.onClick(event);">
             <image class="downloadTypeIcon" />
             <vbox pack="center"
@@ -154,17 +153,17 @@
                class="PanelUI-subView"
                title="&downloadDetails.label;">
       <vbox class="panel-view-body-unscrollable">
         <description id="downloadsPanel-blockedSubview-title"/>
         <description id="downloadsPanel-blockedSubview-details1"/>
         <description id="downloadsPanel-blockedSubview-details2"/>
       </vbox>
       <hbox id="downloadsPanel-blockedSubview-buttons"
-            class="panel-footer downloadsPanelFooter"
+            class="panel-footer"
             align="stretch">
         <button id="downloadsPanel-blockedSubview-openButton"
                 class="downloadsPanelFooterButton"
                 command="downloadsCmd_unblockAndOpen"
                 flex="1"/>
         <button id="downloadsPanel-blockedSubview-deleteButton"
                 class="downloadsPanelFooterButton"
                 oncommand="DownloadsBlockedSubview.confirmBlock();"
--- a/browser/themes/shared/downloads/downloads.inc.css
+++ b/browser/themes/shared/downloads/downloads.inc.css
@@ -47,16 +47,18 @@
   outline: 1px solid var(--arrowpanel-dimmed-further);
 }
 
 @notKeyfocus@ .downloadsPanelFooterButton:-moz-focusring {
   outline: none;
 }
 
 #downloadsSummary {
+  background: var(--arrowpanel-dimmed);
+  border-top: 1px solid var(--panel-separator-color);
   /* Reserve the same space as the button and separator in download items. */
   padding-inline-end: 59px;
 }
 
 #downloadsHistory {
   padding-inline-start: 14px;
   padding-inline-end: 14px;
 }