diff --git a/components/05_Components/menu/_menu.scss b/components/05_Components/menu/_menu.scss new file mode 100644 index 0000000..0fb06cb --- /dev/null +++ b/components/05_Components/menu/_menu.scss @@ -0,0 +1,38 @@ +@mixin RV-Menu { + + &--vertical &__List { + @include RV-FlexRow__Container--vertical; + width: 100%; + } + + &--horizontal &__List { + @include RV-FlexRow__Container--horizontal; + } + + &--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; +} \ No newline at end of file diff --git a/components/05_Components/menu/menu.hbs b/components/05_Components/menu/menu.hbs new file mode 100644 index 0000000..0082ec7 --- /dev/null +++ b/components/05_Components/menu/menu.hbs @@ -0,0 +1,41 @@ +
+ +