disable context menu icons on macOS

This commit is contained in:
bmFtZQ 2022-01-26 01:33:22 +08:00
parent b18cd671f2
commit c38d13bba4

View file

@ -35,18 +35,38 @@ and 11 so applied to both) */
fill: currentColor !important; fill: currentColor !important;
} }
#back-button, /* disable context menu icons on macOS */
#context-back { @supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
#context-back {
list-style-image: url("back.svg") !important;
}
#context-forward {
list-style-image: url("forward.svg") !important;
}
#context-reload {
list-style-image: url("reload.svg") !important;
}
#context-bookmarkpage {
list-style-image: url("bookmark-hollow.svg") !important;
}
#context-bookmarkpage[starred] {
list-style-image: url("bookmark.svg") !important;
}
}
#back-button {
list-style-image: url("back.svg") !important; list-style-image: url("back.svg") !important;
} }
#forward-button, #forward-button {
#context-forward {
list-style-image: url("forward.svg") !important; list-style-image: url("forward.svg") !important;
} }
#reload-button, #reload-button {
#context-reload {
list-style-image: url("reload.svg") !important; list-style-image: url("reload.svg") !important;
} }
@ -328,14 +348,12 @@ and 11 so applied to both) */
} }
#pageAction-panel-bookmark, #pageAction-panel-bookmark,
#star-button, #star-button {
#context-bookmarkpage {
list-style-image: url("bookmark-hollow.svg") !important; list-style-image: url("bookmark-hollow.svg") !important;
} }
#pageAction-panel-bookmark[starred], #pageAction-panel-bookmark[starred],
#star-button[starred], #star-button[starred] {
#context-bookmarkpage[starred="true"] {
list-style-image: url("bookmark.svg") !important; list-style-image: url("bookmark.svg") !important;
} }