2286fc992e
Prevents elements with position stacking on top
22 lines
No EOL
439 B
SCSS
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;
|
|
}
|
|
} |