Fix Firefox menu item separator color & optimize separator margin. Fixes #537

pull/539/merge
Csaba Jakosa 2016-08-29 08:55:26 +02:00 committed by Khurshid Alam
parent e86ef119eb
commit cd2b2df3f0
1 changed files with 8 additions and 8 deletions

View File

@ -54,16 +54,16 @@
&:selected { background-color: $selected_bg_color; }
// A little hack to get some extra space above/below menuitem separators
separator {
border-style: none;
background-color: transparent;
min-height: 5px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: shade($menu_bg_color, ($contrast + .1));
padding: 0;
separator,
.csd & separator {
background-color: shade($menu_bg_color, ($contrast + .1));
margin: ($spacing - 2px) 0;
}
// Firefox workaround
.separator,
.csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); }
menuitem {
min-height: 16px;
min-width: 40px;