Skip to content

Commit cd2b2df

Browse files
megaxkhurshid-alam
authored andcommitted
Fix Firefox menu item separator color & optimize separator margin. Fixes #537
1 parent e86ef11 commit cd2b2df

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

gtk-3.20/scss/widgets/_menu.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@
5454
&:selected { background-color: $selected_bg_color; }
5555

5656
// A little hack to get some extra space above/below menuitem separators
57-
separator {
58-
border-style: none;
59-
background-color: transparent;
60-
min-height: 5px;
61-
border-bottom-style: solid;
62-
border-bottom-width: 1px;
63-
border-bottom-color: shade($menu_bg_color, ($contrast + .1));
64-
padding: 0;
57+
separator,
58+
.csd & separator {
59+
background-color: shade($menu_bg_color, ($contrast + .1));
60+
margin: ($spacing - 2px) 0;
6561
}
6662

63+
// Firefox workaround
64+
.separator,
65+
.csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); }
66+
6767
menuitem {
6868
min-height: 16px;
6969
min-width: 40px;

0 commit comments

Comments
 (0)