Fix Firefox menu item separator color & optimize separator margin. Fixes #537
parent
e86ef119eb
commit
cd2b2df3f0
|
@ -54,16 +54,16 @@
|
||||||
&:selected { background-color: $selected_bg_color; }
|
&:selected { background-color: $selected_bg_color; }
|
||||||
|
|
||||||
// A little hack to get some extra space above/below menuitem separators
|
// A little hack to get some extra space above/below menuitem separators
|
||||||
separator {
|
separator,
|
||||||
border-style: none;
|
.csd & separator {
|
||||||
background-color: transparent;
|
background-color: shade($menu_bg_color, ($contrast + .1));
|
||||||
min-height: 5px;
|
margin: ($spacing - 2px) 0;
|
||||||
border-bottom-style: solid;
|
|
||||||
border-bottom-width: 1px;
|
|
||||||
border-bottom-color: shade($menu_bg_color, ($contrast + .1));
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Firefox workaround
|
||||||
|
.separator,
|
||||||
|
.csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); }
|
||||||
|
|
||||||
menuitem {
|
menuitem {
|
||||||
min-height: 16px;
|
min-height: 16px;
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
|
|
Loading…
Reference in New Issue