scss-library/components/05_Components/menu/_menu.scss

39 lines
779 B
SCSS
Raw Normal View History

2020-12-27 23:49:06 +01:00
@mixin RV-Menu {
&--vertical &__List {
@include RV-FlexRow__Container--vertical;
width: 100%;
}
&--horizontal &__List {
@include RV-FlexRow__Container--horizontal;
2020-12-29 19:11:14 +01:00
@include RV-FlexRow__Container--breakPoint;
2020-12-27 23:49:06 +01:00
}
&--spaced &__List {
gap: $-spacing-medium;
}
&__List {
@include RV-FlexRow__Container($-prefix: '.RV-Menu');
@include RV-ElementList;
padding: $-spacing-small;
}
&__Item {
@include RV-FlexRow__Item;
@include RV-FlexRow__Item--shorthands;
.RV-Link {
padding: $-spacing-small;
background-color: beige;
display: block;
white-space: nowrap;
}
}
}
.RV-Menu {
@include RV-Menu;
}