Bug 1527572 - Properly style the download panel summary. r=Felipe a=lizzard FIREFOX_RELEASE_66_BASE
authorDão Gottwald <dao@mozilla.com>
Fri, 08 Mar 2019 02:55:20 +0000
changeset 516344 4ed0c8d33336c4c811f85396b4233c54d782d766
parent 516343 0b7f3caba2aa08835a4f252c6805c0224f029d98
child 516345 9c40d87d4fe54be1394461636de5484bc5a9c51b
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFelipe, lizzard
bugs1527572
milestone66.0
Bug 1527572 - Properly style the download panel summary. r=Felipe a=lizzard 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;
 }