Add: Download Popup - Add delete file menu icon, Replace remove from history icon

This commit is contained in:
alstjr7375 2022-02-25 09:26:25 +09:00
parent a8020e5888
commit f1f82fc29b
2 changed files with 7 additions and 1 deletions

3
icons/eraser.svg Normal file
View file

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
<path d="M9.197.439a1.501 1.501 0 0 1 2.121 0l4.243 4.243a1.501 1.501 0 0 1 0 2.121L7.364 15H12.5a.5.5 0 0 1 0 1H5.819a1.494 1.494 0 0 1-1.139-.437L.437 11.32a1.5 1.5 0 0 1 0-2.121l8.76-8.76Zm1.414.707a.5.5 0 0 0-.707 0L3.538 7.512l4.95 4.95 6.366-6.366a.5.5 0 0 0 0-.707l-4.243-4.243Zm-2.83 12.023-4.95-4.95-1.687 1.687a.5.5 0 0 0 0 .707l4.243 4.243a.5.5 0 0 0 .707 0l1.687-1.687Z"/>
</svg>

After

Width:  |  Height:  |  Size: 532 B

View file

@ -5355,9 +5355,12 @@ menuitem.viewCustomizeToolbar {
--menuitem-image: url("./icons/link.svg");
}
.downloadRemoveFromHistoryMenuItem {
.downloadDeleteFileMenuItem {
--menuitem-image: url("chrome://global/skin/icons/delete.svg");
}
.downloadRemoveFromHistoryMenuItem {
--menuitem-image: url("./icons/eraser.svg");
}
#downloadsContextMenu > menuitem[command="downloadsCmd_clearList"],
#downloadsContextMenu > menuitem[command="downloadsCmd_clearDownloads"] {
--menuitem-image: url("./icons/broom.svg");