Skip to content

Commit

Permalink
theme: Clean up some start menu styling
Browse files Browse the repository at this point in the history
Use the same hover colors as used in other menus. Add some spacing between
the apps and categories columns. Add some spacing and padding in the
favorites bar
  • Loading branch information
JosephMcc committed Sep 16, 2024
1 parent abe80cc commit b81add2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions data/theme/cinnamon-sass/widgets/_startmenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,30 @@ $menu_outer_border_radius: $base_border_radius * 1.25;
}

&-favorites-button {
padding: $base_padding;
padding: $base_padding * 1.5;
border-radius: $base_border_radius;

&:hover { background-color: $lightest_bg_color; }
}

&-categories-box { padding: $menu_outer_padding; }
&-categories-box { padding: $menu_outer_padding $base_padding * 2; }
&-applications-box { padding: $menu_outer_padding; }
&-applications-inner-box {
&:ltr { padding-left: $base_padding * 2; }
&:rtl { padding-right: $base_padding * 2; }
}

&-application-button {
@extend %start_menu_button;

&-label { padding: 0 }
&-label { padding: 0; }

&:highlighted { font-weight: bold; }

&-selected {
@extend %start_menu_button;

background-color: $lighter_bg_color;
background-color: $light_bg_color;

&:highlighted { font-weight: bold; }
}
Expand All @@ -48,14 +52,14 @@ $menu_outer_border_radius: $base_border_radius * 1.25;
&-category-button {
@extend %start_menu_button;

&-label { padding: 0 }
&-label { padding: 0; }

&:hover { background-color: $lighter_bg_color; }

&-selected {
@extend %start_menu_button;

background-color: $lighter_bg_color;
background-color: $light_bg_color;
}

&-greyed {
Expand Down

0 comments on commit b81add2

Please sign in to comment.