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
This commit is contained in:
parent
76867a5f57
commit
036af1d3a0
1 changed files with 8 additions and 4 deletions
|
@ -11,7 +11,7 @@ See the above repository for updates as well as full license text. */
|
||||||
--panel-separator-margin-vertical: 4px;
|
--panel-separator-margin-vertical: 4px;
|
||||||
--button-hover-bgcolor: rgb(82, 82, 94);
|
--button-hover-bgcolor: rgb(82, 82, 94);
|
||||||
}
|
}
|
||||||
/* Set custom context menu colors below */
|
/* OPTIONAL Set custom context menu colors below */
|
||||||
/*
|
/*
|
||||||
menupopup:not(.in-menulist){
|
menupopup:not(.in-menulist){
|
||||||
--panel-background: #eb2a33 !important;
|
--panel-background: #eb2a33 !important;
|
||||||
|
@ -20,7 +20,8 @@ menupopup:not(.in-menulist){
|
||||||
*/
|
*/
|
||||||
|
|
||||||
menupopup{
|
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 > menuitem,
|
||||||
menupopup > menu{
|
menupopup > menu{
|
||||||
|
@ -34,7 +35,9 @@ menupopup > menu{
|
||||||
#context-navigation{
|
#context-navigation{
|
||||||
padding-inline: var(--arrowpanel-menuitem-padding-inline) !important;
|
padding-inline: var(--arrowpanel-menuitem-padding-inline) !important;
|
||||||
}
|
}
|
||||||
|
.menu-right{
|
||||||
|
margin-inline-end: initial !important;
|
||||||
|
}
|
||||||
menupopup:not(.in-menulist){
|
menupopup:not(.in-menulist){
|
||||||
--panel-padding: var(--arrowpanel-menuitem-padding-block) 0 !important;
|
--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{
|
#context-navigation > menuitem[_moz-menuactive] .menu-iconic-icon{
|
||||||
border-radius: var(--arrowpanel-menuitem-border-radius) !important;
|
border-radius: var(--arrowpanel-menuitem-border-radius) !important;
|
||||||
}
|
}
|
||||||
|
#context-navigation > menuitem[_moz-menuactive] .menu-iconic-icon,
|
||||||
menupopup > menuitem[_moz-menuactive],
|
menupopup > menuitem[_moz-menuactive],
|
||||||
menupopup > menu[_moz-menuactive]{
|
menupopup > menu[_moz-menuactive]{
|
||||||
background-color: var(--panel-item-hover-bgcolor) !important;
|
background-color: var(--panel-item-hover-bgcolor) !important;
|
||||||
|
@ -52,4 +56,4 @@ menupopup > menu[_moz-menuactive]{
|
||||||
menupopup > menuitem[disabled][_moz-menuactive],
|
menupopup > menuitem[disabled][_moz-menuactive],
|
||||||
menupopup > menu[disabled][_moz-menuactive]{
|
menupopup > menu[disabled][_moz-menuactive]{
|
||||||
background-color: var(--menuitem-disabled-hover-background-color) !important;
|
background-color: var(--menuitem-disabled-hover-background-color) !important;
|
||||||
}
|
}
|
Loading…
Reference in a new issue