Converting the rest to stylus
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
@mixin RV-Menu {
|
||||
|
||||
&--vertical &__List {
|
||||
@include RV-FlexRow__Container--vertical;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&--horizontal &__List {
|
||||
@include RV-FlexRow__Container--horizontal;
|
||||
@include RV-FlexRow__Container--breakPoint(400px);
|
||||
}
|
||||
|
||||
&__List {
|
||||
@include RV-FlexRow__Container($-prefix: '.RV-Menu');
|
||||
@include RV-ElementList;
|
||||
}
|
||||
|
||||
&__Item {
|
||||
@include RV-FlexRow__Item;
|
||||
@include RV-FlexRow__Item--shorthands;
|
||||
width: 100px;
|
||||
|
||||
.RV-Link {
|
||||
padding: $-spacing-small;
|
||||
background-color: beige;
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.RV-Menu {
|
||||
@include RV-Menu;
|
||||
}
|
26
components/05_Components/menu/_menu.styl
Normal file
26
components/05_Components/menu/_menu.styl
Normal file
@@ -0,0 +1,26 @@
|
||||
RV-Menu()
|
||||
&--vertical &__List
|
||||
RV-FlexRow__Container--vertical()
|
||||
width 100%
|
||||
|
||||
&--horizontal &__List
|
||||
RV-FlexRow__Container--horizontal()
|
||||
RV-FlexRow__Container--breakPoint(400px)
|
||||
|
||||
&__List
|
||||
RV-FlexRow__Container(prefix='.RV-Menu')
|
||||
RV-ElementList()
|
||||
|
||||
&__Item
|
||||
RV-FlexRow__Item()
|
||||
RV-FlexRow__Item--shorthands()
|
||||
width 100px
|
||||
|
||||
.RV-Link
|
||||
padding spacing-small
|
||||
background-color beige
|
||||
display block
|
||||
white-space nowrap
|
||||
|
||||
.RV-Menu
|
||||
RV-Menu()
|
Reference in New Issue
Block a user