From 38aa341796f55e6d0b4155196b28201c0dd8c68c Mon Sep 17 00:00:00 2001
From: datguypiko <61329159+datguypiko@users.noreply.github.com>
Date: Fri, 22 Dec 2023 19:17:39 +0200
Subject: [PATCH] Linux context menu fixes

---
 userChrome.css | 47 +++++++++++++++++++++++++++++------------------
 1 file changed, 29 insertions(+), 18 deletions(-)

diff --git a/userChrome.css b/userChrome.css
index e6dbf83..a3abbbc 100644
--- a/userChrome.css
+++ b/userChrome.css
@@ -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"]
@@ -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) {
@@ -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{