Fix: Icons - Mac's context menu align(blank.svg), undo.svg

This commit is contained in:
alstjr7375 2022-04-13 09:14:29 +09:00
parent 6eed376fa7
commit 95685f8de9
4 changed files with 20 additions and 12 deletions

2
icons/blank.svg Normal file
View file

@ -0,0 +1,2 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
</svg>

After

Width:  |  Height:  |  Size: 91 B

6
icons/undo.svg Normal file
View file

@ -0,0 +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="M16,11 C16,11.5522847 15.5522847,12 15,12 C14.4477153,12 14,11.5522847 14,11 C14,8.23857625 11.7614237,6 9,6 C6.94968096,6 5.18760031,7.23409522 4.41604369,9 L7.0043326,9 C7.55661734,9 8.0043326,9.44771525 8.0043326,10 C8.0043326,10.5522847 7.55661734,11 7.0043326,11 L2,11 C1.44771525,11 1,10.5522847 1,10 L1,5 C1,4.44771525 1.44771525,4 2,4 C2.55228475,4 3,4.44771525 3,5 L3,7.39241339 C4.22489715,5.35958217 6.45367486,4 9,4 C12.8659932,4 16,7.13400675 16,11 Z"/>
</svg>

After

Width:  |  Height:  |  Size: 801 B

View file

@ -4450,7 +4450,7 @@ panelMenuBookmarkThisPage[starred] {
/*= Tabbar - All Tab Menu ====================================================*/
#allTabsMenu-undoCloseTab {
list-style-image: url("chrome://global/skin/icons/undo.svg");
list-style-image: url("./icons/undo.svg");
}
#allTabsMenu-searchTabs {
list-style-image: url("chrome://global/skin/icons/search-glass.svg");
@ -4590,7 +4590,7 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
:not(menu, #ContentSelectDropdown)
> menupopup
> menu:not(.menu-iconic, [type="checkbox"], [checked="true"], .in-menulist) {
list-style-image: var(--menuitem-image) !important;
list-style-image: var(--menuitem-image, url("./icons/blank.svg")) !important;
}
}
@ -4902,7 +4902,7 @@ menupopup menupopup[emptyplacesresult] .menu-text,
#context_closeTabOptions {
}
#context_undoCloseTab {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
/*= new-tab-button-popup =====================================================*/
@ -4952,7 +4952,7 @@ menupopup menupopup[emptyplacesresult] .menu-text,
--menuitem-image: url("./icons/tab-multiple.svg");
}
#toolbar-context-undoCloseTab {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#toggle_toolbar-menubar {
@ -5010,7 +5010,7 @@ menuitem.viewCustomizeToolbar {
--menuitem-image: url("./icons/book-add.svg");
}
#spell-undo-add-to-dictionary {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#context-openlinkincurrent {
@ -5158,7 +5158,7 @@ menuitem.viewCustomizeToolbar {
}
#context-undo {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#context-redo {
}
@ -5436,7 +5436,7 @@ menuitem.viewCustomizeToolbar {
/*= SyncedTabsSidebarTabsFilterContext =======================================*/
#SyncedTabsSidebarTabsFilterContext > menuitem[cmd="cmd_undo"] {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#SyncedTabsSidebarTabsFilterContext > menuitem[cmd="cmd_cut"] {
--menuitem-image: url("chrome://browser/skin/edit-cut.svg");
@ -5461,7 +5461,7 @@ menuitem.viewCustomizeToolbar {
/*= urlbar-input-container ===================================================*/
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_undo"] {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_redo"] {
}
@ -5487,7 +5487,7 @@ menuitem.viewCustomizeToolbar {
/*= textbox-contextmenu ======================================================*/
/* Browser's Searchbar, Libray's Searchbar, Page Info */
.textbox-contextmenu > menuitem[data-l10n-id="text-action-undo"] {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
.textbox-contextmenu > menuitem[data-l10n-id="text-action-redo"] {
}
@ -5631,7 +5631,7 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
/*= menu_EditPopup ===========================================================*/
#menu_undo {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#menu_redo {
}
@ -5865,7 +5865,7 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
}
#orgUndo {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#orgRedo {
}

View file

@ -1862,7 +1862,7 @@ video {
}
#orgUndo {
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
--menuitem-image: url("./icons/undo.svg");
}
#orgRedo {
}