mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
Fix: Icons - Native Menu apply at context menu
This commit is contained in:
parent
81553581a5
commit
6fbecef401
6 changed files with 8 additions and 6 deletions
|
|
@ -6725,7 +6725,7 @@
|
|||
/* iconic */
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
@supports -moz-bool-pref("widget.macos.native-context-menus") or -moz-bool-pref("widget.gtk.native-context-menus") {
|
||||
#context-back {
|
||||
--menuitem-image: url("chrome://browser/skin/back.svg");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2038,8 +2038,8 @@
|
|||
background-image: var(--menuitem-image);
|
||||
}
|
||||
|
||||
/* For native context menus on macOS */
|
||||
@supports -moz-bool-pref("widget.macos.native-context-menus") {
|
||||
/* For native context menus */
|
||||
@supports -moz-bool-pref("widget.macos.native-context-menus") or -moz-bool-pref("widget.gtk.native-context-menus") {
|
||||
:not(menu, #ContentSelectDropdown)
|
||||
> menupopup
|
||||
> menuitem:not(.menuitem-iconic, .in-menulist, [type="checkbox"], [checked="true"]),
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@
|
|||
/* iconic */
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
@include NativeMenu {
|
||||
#context-back {
|
||||
--menuitem-image: url("chrome://browser/skin/back.svg");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
@use "utils/option" as *;
|
||||
@use "utils/color_scheme" as *;
|
||||
@use "utils/theme" as *;
|
||||
@use "utils/native_menu" as *;
|
||||
@use "utils/proton_elements" as Proton;
|
||||
@use "sass:selector";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
@use "utils/os" as *;
|
||||
@use "utils/option" as *;
|
||||
@use "utils/color_scheme" as *;
|
||||
@use "utils/native_menu" as *;
|
||||
@use "utils/proton_elements" as Proton;
|
||||
|
||||
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@ $_library_menuSelector: _library_iconTargetSelector("menu");
|
|||
background-image: var(--menuitem-image);
|
||||
}
|
||||
|
||||
/* For native context menus on macOS */
|
||||
@supports -moz-bool-pref("widget.macos.native-context-menus") {
|
||||
/* For native context menus */
|
||||
@include NativeMenu {
|
||||
@include _library_nativeContextMenu {
|
||||
list-style-image: var(--menuitem-image) !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue