Skip to content

Commit

Permalink
Linux context menu fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
datguypiko authored Dec 22, 2023
1 parent ee3c4b9 commit 38aa341
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,15 @@ menupopup :-moz-any(menu, menuitem) {
padding-bottom: 4px !important;
}

#context-navigation > .menuitem-iconic {
& > .menu-iconic-left {
& > .menu-iconic-icon {
width: 16px !important;
height: 16px !important;
}
}
}

@media (-moz-platform: windows) {
#context-navigation
> .menuitem-iconic[_moz-menuactive="true"]
Expand All @@ -848,6 +857,24 @@ menupopup :-moz-any(menu, menuitem) {
transparent
) !important;
}
#context-navigation > .menuitem-iconic[_moz-menuactive] {
&:not([disabled]) {
background-color: transparent !important;

}
&[disabled] {
background-color: transparent !important;
}
}

#context-navigation > .menuitem-iconic {
& > .menu-iconic-left {
& > .menu-iconic-icon {
width: 42px !important;
height: 32px !important;
}
}
}
}

menupopup :-moz-any(menu:first-child, menuitem:first-child) {
Expand Down Expand Up @@ -904,24 +931,8 @@ menupopup
padding-block: 0px !important;
}

#context-navigation > .menuitem-iconic[_moz-menuactive] {
&:not([disabled]) {
background-color: transparent !important;

}

&[disabled] {
background-color: transparent !important;
}
}

#context-navigation > .menuitem-iconic {
& > .menu-iconic-left {
& > .menu-iconic-icon {
width: 42px !important;
height: 32px !important;
}
}
#context-navigation #context-back[disabled="true"] .menu-iconic-left .menu-iconic-icon{
opacity: 0.5 !important;
}

#context-navigation #context-forward[disabled="true"] .menu-iconic-left .menu-iconic-icon{
Expand Down

0 comments on commit 38aa341

Please sign in to comment.