More Scaffold and first layouts
This commit is contained in:
22
components/01_Layouts/flexRow/_flexRow.scss
Normal file
22
components/01_Layouts/flexRow/_flexRow.scss
Normal file
@@ -0,0 +1,22 @@
|
||||
RV-FlexRow {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 10px;
|
||||
justify-content: space-around;
|
||||
|
||||
&--wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
* {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.RV-FlexRow__Container {
|
||||
@extend RV-FlexRow;
|
||||
|
||||
.RV-FlexRow__Item {
|
||||
@include align-content;
|
||||
}
|
||||
}
|
||||
1
components/01_Layouts/flexRow/flexRow.config.json
Normal file
1
components/01_Layouts/flexRow/flexRow.config.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
12
components/01_Layouts/flexRow/flexRow.hbs
Normal file
12
components/01_Layouts/flexRow/flexRow.hbs
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="RV-FlexRow__Container">
|
||||
<div class="red RV-FlexRow__Item">Im normal</div>
|
||||
<div class="green RV-FlexRow__Item RV-FlexRow__Item--right">Right</div>
|
||||
<div class="red RV-FlexRow__Item RV-FlexRow__Item--center">Center</div>
|
||||
<div class="green RV-FlexRow__Item RV-FlexRow__Item--left"><span>wrapped content left</span></div>
|
||||
<div class="red RV-FlexRow__Item RV-FlexRow__Item--fixedSize">Fixed</div>
|
||||
</div>
|
||||
<br></br>
|
||||
<div class="RV-FlexRow__Container">
|
||||
<div class="red RV-FlexRow__Item">Im normal</div>
|
||||
<div class="green RV-FlexRow__Item RV-FlexRow__Item--right RV-FlexRow__Item--fixedSize">Right</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user