Skip to content

Commit

Permalink
Improvement: GTK3&4 - menu background color
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Feb 10, 2022
1 parent 9b377ae commit d82b0a0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
5 changes: 2 additions & 3 deletions gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3047,7 +3047,7 @@ menu,
font: initial;
margin: 4px;
padding: 2px 0px;
background: linear-gradient(to bottom, #111524, #0b0d16);
background: linear-gradient(to bottom, #090b13, #030305);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 5px; }
.csd menu, .csd
Expand Down Expand Up @@ -4780,8 +4780,7 @@ window.background {
border-radius: 0 0 8px 8px; }

headerbar.titlebar {
border-radius: 10px 10px 0 0;
border-color: #512508; }
border-radius: 10px 10px 0 0; }

/**********************
* Window Decorations *
Expand Down
5 changes: 2 additions & 3 deletions gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -3047,7 +3047,7 @@ menu,
font: initial;
margin: 4px;
padding: 2px 0px;
background: linear-gradient(to bottom, #111524, #0b0d16);
background: linear-gradient(to bottom, #090b13, #030305);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 5px; }
.csd menu, .csd
Expand Down Expand Up @@ -4780,8 +4780,7 @@ window.background {
border-radius: 0 0 8px 8px; }

headerbar.titlebar {
border-radius: 10px 10px 0 0;
border-color: #512508; }
border-radius: 10px 10px 0 0; }

/**********************
* Window Decorations *
Expand Down
2 changes: 1 addition & 1 deletion gtk-3.0/widgets/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ menu,
font: initial;
margin: 4px;
padding: 2px 0px;
background: if( $variant == 'light', linear-gradient(to bottom, #fff 20%, #fff), linear-gradient(to bottom, lighten($bg_color, 2%), darken($bg_color, 2%)));
background: if( $variant == 'light', linear-gradient(to bottom, #fff 20%, #fff), linear-gradient(to bottom, lighten($headerbar_color, 2%), darken($headerbar_color, 2%)));
border: 1px solid $borders_color; // adds borders in a non composited env
border-radius: 5px;

Expand Down
2 changes: 1 addition & 1 deletion gtk-4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2981,7 +2981,7 @@ menu,
font: initial;
margin: 4px;
padding: 2px 0px;
background: linear-gradient(to bottom, #111524, #0b0d16);
background: linear-gradient(to bottom, #090b13, #030305);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 5px; }
.csd menu, .csd
Expand Down
2 changes: 1 addition & 1 deletion gtk-4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -2981,7 +2981,7 @@ menu,
font: initial;
margin: 4px;
padding: 2px 0px;
background: linear-gradient(to bottom, #111524, #0b0d16);
background: linear-gradient(to bottom, #090b13, #030305);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 5px; }
.csd menu, .csd
Expand Down
2 changes: 1 addition & 1 deletion gtk-4.0/widgets/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ menu,
font: initial;
margin: 4px;
padding: 2px 0px;
background: if( $variant == 'light', linear-gradient(to bottom, #fff 20%, #fff), linear-gradient(to bottom, lighten($bg_color, 2%), darken($bg_color, 2%)));
background: if( $variant == 'light', linear-gradient(to bottom, #fff 20%, #fff), linear-gradient(to bottom, lighten($headerbar_color, 2%), darken($headerbar_color, 2%)));
border: 1px solid $borders_color; // adds borders in a non composited env
border-radius: 5px;

Expand Down

0 comments on commit d82b0a0

Please sign in to comment.