Remove dependence on --menu-x variables
Firefox 105 won't have these anymore as per https://bugzilla.mozilla.org/show_bug.cgi?id=1782858
This commit is contained in:
parent
3c7a4cd0f2
commit
3f5bc73e69
2 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,7 @@ See the above repository for updates as well as full license text. */
|
||||||
menupopup[placespopup="true"]{
|
menupopup[placespopup="true"]{
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
--arrowpanel-background: var(--menu-background-color) !important;
|
--arrowpanel-background: var(--menu-background-color,Menu) !important;
|
||||||
border-radius: var(--panel-border-radius) !important;
|
border-radius: var(--panel-border-radius) !important;
|
||||||
}
|
}
|
||||||
.menupopup-arrowscrollbox{
|
.menupopup-arrowscrollbox{
|
||||||
|
|
|
@ -14,6 +14,8 @@ See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
@supports -moz-bool-pref("userchrome.menupopups.force-light"){
|
@supports -moz-bool-pref("userchrome.menupopups.force-light"){
|
||||||
menupopup{
|
menupopup{
|
||||||
|
color-scheme: light !important;
|
||||||
|
/* variables for pre-fx105 */
|
||||||
--menuitem-hover-background-color: #e0e0e6 !important;
|
--menuitem-hover-background-color: #e0e0e6 !important;
|
||||||
--menu-background-color: #f9f9fb !important;
|
--menu-background-color: #f9f9fb !important;
|
||||||
--menu-color: #15141a !important;
|
--menu-color: #15141a !important;
|
||||||
|
@ -25,6 +27,8 @@ See the above repository for updates as well as full license text. */
|
||||||
}
|
}
|
||||||
@supports -moz-bool-pref("userchrome.menupopups.force-dark"){
|
@supports -moz-bool-pref("userchrome.menupopups.force-dark"){
|
||||||
menupopup{
|
menupopup{
|
||||||
|
color-scheme: dark !important;
|
||||||
|
/* variables for pre-fx105 */
|
||||||
--menuitem-hover-background-color: #52525e !important;
|
--menuitem-hover-background-color: #52525e !important;
|
||||||
--menu-background-color: #2b2a33 !important;
|
--menu-background-color: #2b2a33 !important;
|
||||||
--menu-color: #fbfbfe !important;
|
--menu-color: #fbfbfe !important;
|
||||||
|
|
Loading…
Reference in a new issue