lbry-desktop/scss/component/_menu.scss
Alex Liebowitz 2286fc992e Add z-index to menus
Prevents elements with position stacking on top
2017-01-23 23:52:20 -05:00

22 lines
No EOL
439 B
SCSS

@import "../global";
$border-radius-menu: 2px;
.menu {
position: absolute;
white-space: nowrap;
background-color: white;
box-shadow: $default-box-shadow;
border-radius: $border-radius-menu;
padding-top: $spacing-vertical / 2;
padding-bottom: $spacing-vertical / 2;
z-index: 1;
}
.menu__menu-item {
display: block;
padding: $spacing-vertical / 4 $spacing-vertical / 2;
&:hover {
background: $color-bg-alt;
}
}