Bug 1402126 - Change the icon size of Download items in the Library's Downloads panel view to 32px. r?Gijs draft
authorMike de Boer <mdeboer@mozilla.com>
Thu, 05 Oct 2017 18:06:05 +0200
changeset 675602 6d9a96c494983eda5b25c9551692fd38ee7145cc
parent 675526 ca85011a368e044980f5becbcbcc1b2dc0a4fdb1
child 734653 a7874e1fd8fb0443deb4023fada47c0e0848b5ef
push id83183
push usermdeboer@mozilla.com
push dateThu, 05 Oct 2017 16:12:09 +0000
reviewersGijs
bugs1402126
milestone58.0a1
Bug 1402126 - Change the icon size of Download items in the Library's Downloads panel view to 32px. r?Gijs MozReview-Commit-ID: FE1EftZWmzV
browser/themes/osx/customizableui/panelUI.css
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/osx/customizableui/panelUI.css
+++ b/browser/themes/osx/customizableui/panelUI.css
@@ -11,16 +11,20 @@
 .restoreallitem > .toolbarbutton-icon {
   display: none;
 }
 
 .subviewbutton {
   padding-inline-start: 18px;
 }
 
+.subviewbutton.download {
+  padding-inline-start: 14px;
+}
+
 photonpanelmultiview .toolbaritem-combined-buttons > label {
   padding-inline-start: 42px; /* 18px toolbarbutton padding + 16px icon + 8px label padding start */
 }
 
 #appMenu-mainView > .panel-subview-body > .panel-banner-item {
   padding-inline-start: 18px;
 }
 
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -2097,23 +2097,29 @@ photonpanelmultiview .cui-widget-panelvi
 
 photonpanelmultiview #panelMenu_pocket {
   display: none;
 }
 
 .subviewbutton.download {
   -moz-box-align: start;
   min-height: 48px;
+  padding-inline-start: 8px;
 }
 
 .subviewbutton.download > .toolbarbutton-icon,
 .subviewbutton.download > .toolbarbutton-text > label {
   margin: 4px 0 0;
 }
 
+.subviewbutton.download > .toolbarbutton-icon {
+  width: 32px;
+  height: 32px;
+}
+
 .subviewbutton.download > .toolbarbutton-text > .status-text {
   color: GrayText;
   font-size: .9em;
 }
 
 .subviewbutton.download > .action-button {
   -moz-appearance: none; /* To avoid native Windows hover styling */
   -moz-context-properties: fill;