mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-01 15:00:32 -08:00
Add: Context Menu - Icons layout
This commit is contained in:
parent
8a6407ea99
commit
930cb763ae
1 changed files with 41 additions and 0 deletions
|
|
@ -886,6 +886,47 @@
|
|||
}
|
||||
|
||||
/** Context Menu - Icons ****************************************************/
|
||||
/*= Layout =================================================================*/
|
||||
menupopup menuitem,
|
||||
menupopup menu {
|
||||
-moz-appearance: none !important; /* Linux: menulist */
|
||||
}
|
||||
|
||||
/* Icon */
|
||||
:not(menu, #ContentSelectDropdown) > menupopup > menuitem:not(.menuitem-iconic, [type="checkbox"], .in-menulist),
|
||||
:not(menu, #ContentSelectDropdown) > menupopup > menu:not(.menu-iconic, [type="checkbox"], .in-menulist),
|
||||
#blockedPopupDontShowMessage {
|
||||
-moz-context-properties: fill, fill-opacity !important;
|
||||
fill: currentColor !important;
|
||||
background-size: 16px !important;
|
||||
background-repeat: no-repeat !important;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
:root {
|
||||
--context-menu-background-padding-default: 5px;
|
||||
--context-menu-background-padding: var(--context-menu-background-padding-default);
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown) > menupopup > menuitem,
|
||||
:not(menu, #ContentSelectDropdown) > menupopup > menu,
|
||||
#blockedPopupDontShowMessage {
|
||||
background-position: left var(--context-menu-background-padding) center !important;
|
||||
padding-inline-start: var(--context-menu-background-padding) !important;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win7 ),
|
||||
(-moz-os-version: windows-win8 ),
|
||||
(-moz-os-version: windows-win10) {
|
||||
:not(menu, #ContentSelectDropdown) > menupopup > menuitem:not(.menuitem-iconic, [type="checkbox"], .in-menulist),
|
||||
:not(menu, #ContentSelectDropdown) > menupopup > menu:not(.menu-iconic, [type="checkbox"], .in-menulist),
|
||||
:root {
|
||||
--context-menu-background-padding: 1em;
|
||||
}
|
||||
#blockedPopupDontShowMessage {
|
||||
padding-inline-start: calc(var(--context-menu-background-padding) + var(--menu-padding) + var(--context-menu-background-padding-default) + 16px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*= tabContextMenu =========================================================*/
|
||||
#context_openANewTab {
|
||||
background-image: url(chrome://browser/skin/new-tab.svg) !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue