gtk-4: menus

This commit is contained in:
He4eT 2024-08-10 11:02:07 +02:00
commit ab61488c07
3 changed files with 10 additions and 4 deletions

View file

@ -51,8 +51,11 @@ infobar > revealer > box { padding: 8px; border-spacing: 10px; }
popover.background{ background-color: transparent; border: none;}
popover.background > arrow,
popover.background > contents
{ border: 1px solid @gtk_transparent_borders; box-shadow: 0 1px 2px @gtk_menu_shadow; }
popover.background > contents {
border: 0px solid @gtk_transparent_borders;
/* box-shadow: 0 1px 2px @gtk_menu_shadow; */
box-shadow: none;
}
popover.background > arrow,
popover.background > contents

View file

@ -29,7 +29,7 @@
@define-color content_view_bg @gtk_base_color;
@define-color insensitive_bg_color transparent;
@define-color insensitive_fg_color alpha(@gtk_fg_color,0.5);
@define-color insensitive_fg_color alpha(@gtk_fg_color,0.9);
@define-color insensitive_base_color @gtk_base_color;
@define-color unfocused_insensitive_color @insensitive_fg_color;

View file

@ -1414,7 +1414,10 @@ menubar.chromium {background-color: @gtk_bg_color; color:@gtk_fg_color;}
.context-menu { font: initial; }
accelerator { color: alpha(currentColor,0.5); }
accelerator {
color: alpha(currentColor,0.5);
margin-left: 24px;
}
.background.popup { background-color: transparent; border-radius: 0.0px;}