From 036af1d3a00bc57defb92a1ca59ede1311d22031 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 11 Jan 2023 10:53:23 +0200 Subject: [PATCH] Small improvements to context_menus_more_proton.css This increases menupop corner rounding to match arrowpanels and makes context-navigation hover color match other menuitem backgrounds --- chrome/context_menus_more_proton.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/chrome/context_menus_more_proton.css b/chrome/context_menus_more_proton.css index 310fb3f..d31c537 100644 --- a/chrome/context_menus_more_proton.css +++ b/chrome/context_menus_more_proton.css @@ -11,7 +11,7 @@ See the above repository for updates as well as full license text. */ --panel-separator-margin-vertical: 4px; --button-hover-bgcolor: rgb(82, 82, 94); } -/* Set custom context menu colors below */ +/* OPTIONAL Set custom context menu colors below */ /* menupopup:not(.in-menulist){ --panel-background: #eb2a33 !important; @@ -20,7 +20,8 @@ menupopup:not(.in-menulist){ */ menupopup{ - --panel-item-hover-bgcolor: var(--button-hover-bgcolor) + --panel-item-hover-bgcolor: var(--button-hover-bgcolor); + --panel-border-radius: var(--arrowpanel-border-radius) !important; } menupopup > menuitem, menupopup > menu{ @@ -34,7 +35,9 @@ menupopup > menu{ #context-navigation{ padding-inline: var(--arrowpanel-menuitem-padding-inline) !important; } - +.menu-right{ + margin-inline-end: initial !important; +} menupopup:not(.in-menulist){ --panel-padding: var(--arrowpanel-menuitem-padding-block) 0 !important; } @@ -45,6 +48,7 @@ menuseparator:not(.in-menulist){ #context-navigation > menuitem[_moz-menuactive] .menu-iconic-icon{ border-radius: var(--arrowpanel-menuitem-border-radius) !important; } +#context-navigation > menuitem[_moz-menuactive] .menu-iconic-icon, menupopup > menuitem[_moz-menuactive], menupopup > menu[_moz-menuactive]{ background-color: var(--panel-item-hover-bgcolor) !important; @@ -52,4 +56,4 @@ menupopup > menu[_moz-menuactive]{ menupopup > menuitem[disabled][_moz-menuactive], menupopup > menu[disabled][_moz-menuactive]{ background-color: var(--menuitem-disabled-hover-background-color) !important; -} +} \ No newline at end of file