mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-30 14:10:23 -08:00
Clean: Icons - Other context menu
This commit is contained in:
parent
b2d4038556
commit
b101d743b4
3 changed files with 50 additions and 70 deletions
|
|
@ -6909,8 +6909,7 @@
|
|||
.pageActionContextMenuItem.extensionPinned.extensionUnpinned.manageExtensionItem {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
}
|
||||
|
||||
.pageActionContextMenuItem.extensionPinned.extensionUnpinned.removeExtensionItem {
|
||||
.pageActionContextMenuItem.extensionPinned.extensionUnpinned .removeExtensionItem {
|
||||
--menuitem-image: url("chrome://global/skin/icons/delete.svg");
|
||||
}
|
||||
|
||||
|
|
@ -6982,7 +6981,6 @@
|
|||
#downloadsContextMenu > menuitem[command="downloadsCmd_openReferrer"] {
|
||||
--menuitem-image: url("../icons/link-square.svg");
|
||||
}
|
||||
|
||||
#downloadsContextMenu > menuitem[command="downloadsCmd_copyLocation"] {
|
||||
--menuitem-image: url("../icons/link.svg");
|
||||
}
|
||||
|
|
@ -7123,38 +7121,25 @@
|
|||
}
|
||||
|
||||
/*= context_sendTabToDevicePopupMenu =========================================*/
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="phone"] {
|
||||
.sync-menuitem.sendtab-target[clientType="phone"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-phone.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="tablet"] {
|
||||
.sync-menuitem.sendtab-target[clientType="tablet"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-tablet.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="desktop"] {
|
||||
.sync-menuitem.sendtab-target[clientType="desktop"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-desktop.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="tv"] {
|
||||
.sync-menuitem.sendtab-target[clientType="tv"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-tv.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="vr"] {
|
||||
.sync-menuitem.sendtab-target[clientType="vr"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-vr.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType=""] {
|
||||
.sync-menuitem.sendtab-target[clientType=""] {
|
||||
--menuitem-image: url("../icons/send-to-device.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target:not([clientType]) {
|
||||
.sync-menuitem.sendtab-target:not([clientType]) {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,11 +26,13 @@
|
|||
}
|
||||
|
||||
/*= pageActionContextMenu ====================================================*/
|
||||
.pageActionContextMenuItem.extensionPinned.extensionUnpinned.manageExtensionItem {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
}
|
||||
.pageActionContextMenuItem.extensionPinned.extensionUnpinned.removeExtensionItem {
|
||||
--menuitem-image: url("chrome://global/skin/icons/delete.svg");
|
||||
.pageActionContextMenuItem.extensionPinned.extensionUnpinned {
|
||||
&.manageExtensionItem {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
}
|
||||
.removeExtensionItem {
|
||||
--menuitem-image: url("chrome://global/skin/icons/delete.svg");
|
||||
}
|
||||
}
|
||||
|
||||
/*= customizationPanelItemContextMenu ========================================*/
|
||||
|
|
@ -88,11 +90,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
#downloadsContextMenu > menuitem[command="downloadsCmd_openReferrer"] {
|
||||
--menuitem-image: url("../icons/link-square.svg");
|
||||
}
|
||||
#downloadsContextMenu > menuitem[command="downloadsCmd_copyLocation"] {
|
||||
--menuitem-image: url("../icons/link.svg");
|
||||
#downloadsContextMenu > menuitem {
|
||||
&[command="downloadsCmd_openReferrer"] {
|
||||
--menuitem-image: url("../icons/link-square.svg");
|
||||
}
|
||||
&[command="downloadsCmd_copyLocation"] {
|
||||
--menuitem-image: url("../icons/link.svg");
|
||||
}
|
||||
}
|
||||
|
||||
.downloadDeleteFileMenuItem {
|
||||
|
|
@ -101,9 +105,11 @@
|
|||
.downloadRemoveFromHistoryMenuItem {
|
||||
--menuitem-image: url("../icons/eraser.svg");
|
||||
}
|
||||
#downloadsContextMenu > menuitem[command="downloadsCmd_clearList"],
|
||||
#downloadsContextMenu > menuitem[command="downloadsCmd_clearDownloads"] {
|
||||
--menuitem-image: url("../icons/broom.svg");
|
||||
#downloadsContextMenu > menuitem {
|
||||
&[command="downloadsCmd_clearList"],
|
||||
&[command="downloadsCmd_clearDownloads"] {
|
||||
--menuitem-image: url("../icons/broom.svg");
|
||||
}
|
||||
}
|
||||
|
||||
/*= SyncedTabsSidebarContext =================================================*/
|
||||
|
|
@ -219,37 +225,26 @@ menuitem.searchbar-clear-history {
|
|||
}
|
||||
|
||||
/*= context_sendTabToDevicePopupMenu =========================================*/
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="phone"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-phone.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="tablet"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-tablet.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="desktop"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-desktop.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="tv"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-tv.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType="vr"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-vr.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target[clientType=""] {
|
||||
--menuitem-image: url("../icons/send-to-device.svg");
|
||||
}
|
||||
|
||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||
> .sync-menuitem.sendtab-target:not([clientType]) {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
.sync-menuitem.sendtab-target {
|
||||
&[clientType="phone"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-phone.svg");
|
||||
}
|
||||
&[clientType="tablet"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-tablet.svg");
|
||||
}
|
||||
&[clientType="desktop"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-desktop.svg");
|
||||
}
|
||||
&[clientType="tv"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-tv.svg");
|
||||
}
|
||||
&[clientType="vr"] {
|
||||
--menuitem-image: url("chrome://browser/skin/device-vr.svg");
|
||||
}
|
||||
&[clientType=""] {
|
||||
--menuitem-image: url("../icons/send-to-device.svg");
|
||||
}
|
||||
&:not([clientType]) {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
}
|
||||
|
||||
#context_sendTabToDevice:is([disabled="true"]) + #context_shareTabURL, /* Legacy */
|
||||
#context_sendTabToDevice:is([disabled="true"]) + menuitem.share-tab-url-item {
|
||||
#context_sendTabToDevice:is([disabled="true"]) + menuitem.share-tab-url-item {
|
||||
/* At windows */
|
||||
--menuitem-image: url("../icons/share.svg");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue