mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Icons - Mac addon overflow menu
This commit is contained in:
parent
6f4f8d6e09
commit
627dfbb8ae
3 changed files with 107 additions and 0 deletions
56
css/leptonChrome.css
generated
56
css/leptonChrome.css
generated
|
|
@ -11766,6 +11766,32 @@
|
|||
list-style-image: var(--menuitem-image, url("../icons/blank.svg")) !important;
|
||||
}
|
||||
}
|
||||
/* Exeptions */
|
||||
#unified-extensions-context-menu > menuitem::before {
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic, .bookmark-item, .in-menulist, [checked="true"]) {
|
||||
padding-inline-start: 0 !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked] {
|
||||
padding-left: 4px !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked="true"] {
|
||||
padding-left: calc(var(--context-menu-mac-padding) - 8px) !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked="true"]
|
||||
.menu-iconic-text {
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
}
|
||||
/*= Bookmark Menu - Layout ===================================================*/
|
||||
/* #goPopup(Legacy of historyMenuPopup), #historyMenuPopup, #bookmarksMenuPopup: looks like global menu
|
||||
|
|
@ -26323,6 +26349,7 @@
|
|||
padding-inline-start: calc(var(--context-menu-background-padding) + var(--context-menu-mac-padding)) !important;
|
||||
}
|
||||
/* Global Menu */
|
||||
/* Exeptions */
|
||||
}
|
||||
@media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") and (-moz-bool-pref: "layout.css.osx-font-smoothing.enabled") and (-moz-bool-pref: "userChrome.icon.global_menu.mac") {
|
||||
menupopup:is(
|
||||
|
|
@ -26354,6 +26381,35 @@
|
|||
list-style-image: var(--menuitem-image, url("../icons/blank.svg")) !important;
|
||||
}
|
||||
}
|
||||
@media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") and (-moz-bool-pref: "layout.css.osx-font-smoothing.enabled") {
|
||||
#unified-extensions-context-menu > menuitem::before {
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
}
|
||||
@media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") and (-moz-bool-pref: "layout.css.osx-font-smoothing.enabled") {
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic, .bookmark-item, .in-menulist, [checked="true"]) {
|
||||
padding-inline-start: 0 !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked] {
|
||||
padding-left: 4px !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked="true"] {
|
||||
padding-left: calc(var(--context-menu-mac-padding) - 8px) !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked="true"]
|
||||
.menu-iconic-text {
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
}
|
||||
@media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") {
|
||||
menupopup menupopup[emptyplacesresult] .menu-text,
|
||||
#PersonalToolbar menupopup[emptyplacesresult] .menu-text {
|
||||
|
|
|
|||
26
css/leptonChromeESR.css
generated
26
css/leptonChromeESR.css
generated
|
|
@ -12361,6 +12361,32 @@
|
|||
list-style-image: var(--menuitem-image, url("../icons/blank.svg")) !important;
|
||||
}
|
||||
}
|
||||
/* Exeptions */
|
||||
#unified-extensions-context-menu > menuitem::before {
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic, .bookmark-item, .in-menulist, [checked="true"]) {
|
||||
padding-inline-start: 0 !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked] {
|
||||
padding-left: 4px !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked="true"] {
|
||||
padding-left: calc(var(--context-menu-mac-padding) - 8px) !important;
|
||||
}
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation)
|
||||
> menupopup:not(.in-menulist)
|
||||
> menuitem:not(.menuitem-iconic):has(.menu-iconic-left)[checked="true"]
|
||||
.menu-iconic-text {
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
}
|
||||
/*= Bookmark Menu - Layout ===================================================*/
|
||||
/* #goPopup(Legacy of historyMenuPopup), #historyMenuPopup, #bookmarksMenuPopup: looks like global menu
|
||||
|
|
|
|||
|
|
@ -146,4 +146,29 @@ $_layoutCommonMenus: (
|
|||
list-style-image: var(--menuitem-image, url("../icons/blank.svg")) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Exeptions */
|
||||
// Mac unified extenstions #847
|
||||
#unified-extensions-context-menu > menuitem::before {
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
|
||||
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup:not(.in-menulist) > menuitem {
|
||||
&:not(.menuitem-iconic, .bookmark-item, .in-menulist, [checked="true"]) {
|
||||
padding-inline-start: 0 !important;
|
||||
}
|
||||
|
||||
&:not(.menuitem-iconic):has(.menu-iconic-left) {
|
||||
&[checked] {
|
||||
padding-left: 4px !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
&[checked="true"] {
|
||||
padding-left: calc(var(--context-menu-mac-padding) - 8px) !important;
|
||||
.menu-iconic-text {
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue