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

26 lines
465 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;
2017-08-18 07:37:35 +02:00
box-shadow: var(--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 {
2017-08-18 07:37:35 +02:00
background: var(--color-bg-alt);
}
2017-08-18 07:37:35 +02:00
}