Add: Context Menu - Download menu icons

This commit is contained in:
alstjr7375 2021-06-23 10:37:29 +09:00
parent bfeb3a3dbb
commit 82846dc3dc
3 changed files with 42 additions and 4 deletions

View file

@ -1,3 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.8536 1.14639C14.6583 0.951123 14.3417 0.951123 14.1465 1.14639L9.47596 5.81688C8.02361 4.71413 5.96894 4.87994 4.65264 6.19021L3.96853 6.82872L1.29311 8.04475C1.14382 8.11261 1.03729 8.24936 1.00803 8.41072C0.978769 8.57208 1.03049 8.73753 1.14645 8.85349L7.14645 14.8535C7.26241 14.9695 7.42787 15.0212 7.58923 14.9919C7.75058 14.9627 7.88734 14.8561 7.9552 14.7068L9.16755 12.0395L9.85344 11.3536C11.1784 10.0287 11.2884 7.97029 10.1835 6.52353L14.8536 1.85349C15.0488 1.65823 15.0488 1.34165 14.8536 1.14639ZM4.14134 7.84862L8.15132 11.8586L7.34337 13.6362L2.36375 8.65658L4.14134 7.84862ZM8.74989 11.043L4.96939 7.26246L5.34104 6.91559L5.35344 6.90362C6.41819 5.83887 8.10209 5.80937 9.14633 6.85361C10.2007 7.90803 10.2007 9.59209 9.14633 10.6465L8.74989 11.043Z" fill="#212121"/>
<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="M14.8536 1.14639C14.6583 0.951123 14.3417 0.951123 14.1465 1.14639L9.47596 5.81688C8.02361 4.71413 5.96894 4.87994 4.65264 6.19021L3.96853 6.82872L1.29311 8.04475C1.14382 8.11261 1.03729 8.24936 1.00803 8.41072C0.978769 8.57208 1.03049 8.73753 1.14645 8.85349L7.14645 14.8535C7.26241 14.9695 7.42787 15.0212 7.58923 14.9919C7.75058 14.9627 7.88734 14.8561 7.9552 14.7068L9.16755 12.0395L9.85344 11.3536C11.1784 10.0287 11.2884 7.97029 10.1835 6.52353L14.8536 1.85349C15.0488 1.65823 15.0488 1.34165 14.8536 1.14639ZM4.14134 7.84862L8.15132 11.8586L7.34337 13.6362L2.36375 8.65658L4.14134 7.84862ZM8.74989 11.043L4.96939 7.26246L5.34104 6.91559L5.35344 6.90362C6.41819 5.83887 8.10209 5.80937 9.14633 6.85361C10.2007 7.90803 10.2007 9.59209 9.14633 10.6465L8.74989 11.043Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 902 B

After

Width:  |  Height:  |  Size: 931 B

Before After
Before After

View file

@ -1,3 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3ZM7.24953 9.04242L10.1203 6.16398C10.3153 5.96846 10.6319 5.96803 10.8274 6.16304C11.0012 6.33637 11.0208 6.60577 10.8861 6.80082L10.8283 6.87014L7.60403 10.1031C7.43053 10.277 7.16082 10.2965 6.96576 10.1615L6.89645 10.1036L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645C5.32001 7.47288 5.58944 7.4536 5.78431 7.58859L5.85355 7.64645L7.24953 9.04242L10.1203 6.16398L7.24953 9.04242Z" fill="#212121"/>
<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="M8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3ZM7.24953 9.04242L10.1203 6.16398C10.3153 5.96846 10.6319 5.96803 10.8274 6.16304C11.0012 6.33637 11.0208 6.60577 10.8861 6.80082L10.8283 6.87014L7.60403 10.1031C7.43053 10.277 7.16082 10.2965 6.96576 10.1615L6.89645 10.1036L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645C5.32001 7.47288 5.58944 7.4536 5.78431 7.58859L5.85355 7.64645L7.24953 9.04242L10.1203 6.16398L7.24953 9.04242Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 773 B

Before After
Before After

View file

@ -1397,4 +1397,42 @@
#customizationPanelContextMenu > menuitem[command="cmd_CustomizeToolbars"] {
background-image: url(chrome://browser/skin/customize.svg);
}
/*= downloads-button-autohide-panel ========================================*/
#downloads-button-autohide-checkbox { /* checkbox */
}
/*= downloadsContextMenu ===================================================*/
.downloadPauseMenuItem {
background-image: url(chrome://global/skin/media/pause-fill.svg);
}
.downloadResumeMenuItem {
background-image: url(chrome://global/skin/media/play-fill.svg);
}
.downloadUnblockMenuItem {
background-image: url(./icons/checkmark-circle.svg);
}
.downloadUseSystemDefaultMenuItem {
background-image: url(chrome://browser/skin/open.svg);
}
.downloadAlwaysUseSystemDefaultMenuItem { /* checkbox */
}
.downloadShowMenuItem {
background-image: url(chrome://global/skin/icons/folder.svg);
}
#downloadsContextMenu > menuitem[command="downloadsCmd_openReferrer"] {
background-image: url(./icons/link-square.svg);
}
#downloadsContextMenu > menuitem[command="downloadsCmd_copyLocation"] {
background-image: url(chrome://browser/skin/link.svg);
}
.downloadRemoveFromHistoryMenuItem {
background-image: url(chrome://global/skin/icons/delete.svg);
}
#downloadsContextMenu > menuitem[command="downloadsCmd_clearList"],
#downloadsContextMenu > menuitem[command="downloadsCmd_clearDownloads"] {
background-image: url(./icons/broom.svg);
}
}