mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Icons - Redo icon, icon.context_menu.share -> icon.context_menu.full #418
This commit is contained in:
parent
a5d6ad9fcb
commit
f891bbe2d5
5 changed files with 25 additions and 3 deletions
|
|
@ -6377,7 +6377,7 @@
|
|||
--menuitem-image: url("../icons/share.svg");
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("userChrome.icon.context_menu.share") {
|
||||
@supports -moz-bool-pref("userChrome.icon.context_menu.full") {
|
||||
#context_shareTabURL,
|
||||
menuitem.share-tab-url-item {
|
||||
--menuitem-image: url("../icons/share.svg");
|
||||
|
|
@ -7087,6 +7087,12 @@
|
|||
--menuitem-image: url("../icons/undo.svg");
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("userChrome.icon.context_menu.full") {
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_redo"] {
|
||||
--menuitem-image: url("../icons/redo.svg");
|
||||
}
|
||||
}
|
||||
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_cut"] {
|
||||
--menuitem-image: url("chrome://browser/skin/edit-cut.svg");
|
||||
}
|
||||
|
|
@ -7113,6 +7119,12 @@
|
|||
--menuitem-image: url("../icons/undo.svg");
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("userChrome.icon.context_menu.full") {
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-redo"] {
|
||||
--menuitem-image: url("../icons/redo.svg");
|
||||
}
|
||||
}
|
||||
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-cut"] {
|
||||
--menuitem-image: url("chrome://browser/skin/edit-cut.svg");
|
||||
}
|
||||
|
|
|
|||
4
icons/redo.svg
Normal file
4
icons/redo.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!-- 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="M0 11a1 1 0 0 0 2 0 5 5 0 0 1 9.584-2H8.996a1 1 0 0 0 0 2H14a1 1 0 0 0 1-1V5a1 1 0 1 0-2 0v2.392A7 7 0 0 0 0 11z"/></svg>
|
||||
|
After Width: | Height: | Size: 445 B |
|
|
@ -173,6 +173,9 @@
|
|||
--menuitem-image: url("../icons/undo.svg");
|
||||
}
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_redo"] {
|
||||
@include Option("userChrome.icon.context_menu.full") {
|
||||
--menuitem-image: url("../icons/redo.svg");
|
||||
}
|
||||
}
|
||||
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_cut"] {
|
||||
|
|
@ -199,6 +202,9 @@
|
|||
--menuitem-image: url("../icons/undo.svg");
|
||||
}
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-redo"] {
|
||||
@include Option("userChrome.icon.context_menu.full") {
|
||||
--menuitem-image: url("../icons/redo.svg");
|
||||
}
|
||||
}
|
||||
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-cut"] {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
/* At windows */
|
||||
--menuitem-image: url("../icons/share.svg");
|
||||
}
|
||||
@include Option("userChrome.icon.context_menu.share") {
|
||||
@include Option("userChrome.icon.context_menu.full") {
|
||||
#context_shareTabURL, /* Legacy */
|
||||
menuitem.share-tab-url-item {
|
||||
--menuitem-image: url("../icons/share.svg");
|
||||
|
|
|
|||
2
user.js
2
user.js
|
|
@ -108,7 +108,7 @@ user_pref("userChrome.tab.bottom_rounded_corner", true);
|
|||
|
||||
// user_pref("userChrome.icon.account_image_to_right", true);
|
||||
// user_pref("userChrome.icon.account_label_to_right", true);
|
||||
// user_pref("userChrome.icon.context_menu.share", true);
|
||||
// user_pref("userChrome.icon.context_menu.full", true);
|
||||
|
||||
// -- User Content -------------------------------------------------------------
|
||||
// user_pref("userContent.player.ui.twoline", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue