Bug 1398290 - use folder icon and fix small issue with the path, r?mikedeboer
MozReview-Commit-ID: 92a8eCatd99
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -2060,17 +2060,21 @@ photonpanelmultiview #panelMenu_pocket {
color: GrayText;
font-size: .7em;
}
.subviewbutton.download > .action-button {
-moz-appearance: none; /* To avoid native Windows hover styling */
-moz-context-properties: fill;
fill: currentColor;
+%ifdef XP_MACOSX
list-style-image: url("chrome://browser/skin/find.svg");
+%else
+ list-style-image: url("chrome://browser/skin/folder.svg");
+%endif
/* Measurement to vertically center this button: 1 line of text minus half of 4px top margin. */
margin: calc(1em - 2px) 0 0;
padding: 4px;
}
.subviewbutton.download[retryLabel] > .action-button {
list-style-image: url("chrome://browser/skin/reload.svg");
}
--- a/browser/themes/shared/icons/folder.svg
+++ b/browser/themes/shared/icons/folder.svg
@@ -1,6 +1,6 @@
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
- <path fill="context-fill" d="M14 3H8.151L6.584 1.538A2 2 0 0 0 5.219 1H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V5a2 2 0 0 -2-2zM5.219 3l1.072 1H2V3zM14 13H2V5h6v-.014c.05 0 .1.014.151.014H14z"/>
+ <path fill="context-fill" d="M14 3H8.151L6.584 1.538A2 2 0 0 0 5.219 1H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM5.219 3l1.072 1H2V3zM14 13H2V5h6v-.014c.05 0 .1.014.151.014H14z"/>
</svg>