Creating Layout/Semantic component
This commit is contained in:
parent
d9b6543998
commit
b2b32b190f
19
components/04_Molecules/elementList/_elementList.scss
Normal file
19
components/04_Molecules/elementList/_elementList.scss
Normal file
@ -0,0 +1,19 @@
|
||||
@mixin RV-ElementList__Item {
|
||||
@include RV-FlexRow__Item;
|
||||
}
|
||||
|
||||
@mixin RV-ElementList($-break_width: 500px, $prefix: '&') {
|
||||
@include RV-FlexRow__Container;
|
||||
@include RV-FlexRow__Container--shorthands;
|
||||
@include RV-Reset;
|
||||
|
||||
list-style-type: none;
|
||||
|
||||
#{$prefix}__Item {
|
||||
@include RV-ElementList__Item;
|
||||
}
|
||||
}
|
||||
|
||||
.RV-ElementList {
|
||||
@include RV-ElementList;
|
||||
}
|
@ -0,0 +1 @@
|
||||
{}
|
22
components/04_Molecules/elementList/elementList.hbs
Normal file
22
components/04_Molecules/elementList/elementList.hbs
Normal file
@ -0,0 +1,22 @@
|
||||
<ul class="RV-ElementList RV-ElementList--vertical">
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
</ul>
|
||||
|
||||
<br><br>
|
||||
|
||||
<ul class="RV-ElementList RV-ElementList--horizontal">
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
</ul>
|
||||
<br><br>
|
||||
<ul class="RV-ElementList RV-ElementList--auto">
|
||||
<li class="RV-ElementList__Item">ItemItem</li>
|
||||
<li class="RV-ElementList__Item">ItemItemItem</li>
|
||||
<li class="RV-ElementList__Item">ItemItem</li>
|
||||
<li class="RV-ElementList__Item">Item</li>
|
||||
</ul>
|
Loading…
Reference in New Issue
Block a user