Skip to content

Commit

Permalink
Display horizontal separators
Browse files Browse the repository at this point in the history
  • Loading branch information
1earch committed Sep 2, 2018
1 parent 95b39e0 commit 3ff7a88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions common/gtk-3.0/3.20/sass/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $selected_fg_color: #ffffff;
$selected_bg_color: #5294e2;
$selected_borders_color: darken($selected_bg_color, 20%);
$borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%));
$horizontal_separators_color: if($variant == 'light', $borders_color, darken($fg_color,50%));

$link_color: if($variant == 'light', darken($selected_bg_color,10%),
lighten($selected_bg_color,20%));
Expand Down
7 changes: 1 addition & 6 deletions common/gtk-3.0/3.20/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1616,14 +1616,9 @@ menu,
separator,
.csd & separator {
margin: 2px 0;
background-color: $_menu_bg;
background-color: $horizontal_separators_color;
}

// Firefox workaround
.separator:not(label),
.csd & .separator:not(label) { color: $_menu_bg; }
// Firefox workaround end

menuitem {
min-height: 16px;
min-width: 40px;
Expand Down
1 change: 1 addition & 0 deletions common/gtk-3.0/_colors.scss.thpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $selected_fg_color: %SEL_FG%;
$selected_bg_color: %SEL_BG%;
$selected_borders_color: darken($selected_bg_color, 20%);
$borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%));
$horizontal_separators_color: if($variant == 'light', $borders_color, darken($fg_color,50%));

$link_color: if($variant == 'light', darken($selected_bg_color,10%),
lighten($selected_bg_color,20%));
Expand Down

0 comments on commit 3ff7a88

Please sign in to comment.