lbry-desktop/ui/scss/component/_menu.scss

25 lines
452 B
SCSS
Raw Normal View History

@import "../global";
$border-radius-menu: 2px;
.menu-container {
display: inline-block;
}
.menu {
position: absolute;
white-space: nowrap;
background-color: white;
box-shadow: $box-shadow-layer;
border-radius: $border-radius-menu;
2017-02-24 09:02:32 +01:00
padding-top: ($spacing-vertical / 5) 0px;
z-index: 1;
}
.menu__menu-item {
display: block;
2017-02-24 09:02:32 +01:00
padding: ($spacing-vertical / 4) ($spacing-vertical / 2);
&:hover {
background: $color-bg-alt;
}
}