Skip to content

Commit

Permalink
Improve main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 29, 2024
1 parent a87011e commit 292dfe6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions data/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,21 @@ button.flat label {
}

.menu-button {
border-radius: 8px;
border-radius: 0;
box-shadow: none;
background: none;
min-height: 48px;
padding: 0 12px 0 12px;
margin: 8px 0 8px 0;
color: @view_fg_color;
}

.menu-button:hover {
background: linear-gradient(0deg, alpha(@accent_bg_color, 0.08), alpha(@accent_bg_color, 0.08)), image(@view_bg_color);
color: @accent_color;
background: alpha(@view_fg_color, 0.14);
}

.menu-button:active {
background: linear-gradient(0deg, alpha(@accent_bg_color, 0.05), alpha(@accent_bg_color, 0.05)), image(@view_bg_color);
color: @accent_color;
background: alpha(@view_fg_color, 0.15);
}

spinbutton.flat {
Expand Down
1 change: 1 addition & 0 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ namespace Fusebox {
};
menu_popover_grid.attach (about_menu_item, 0, 0, 1, 1);
menu_popover.child = menu_popover_grid;
menu_popover.has_arrow = false;

var menu_button = new Gtk.MenuButton () {
popover = menu_popover,
Expand Down

0 comments on commit 292dfe6

Please sign in to comment.