Adapting flex values
This commit is contained in:
parent
adefd4c8d2
commit
01b3714505
@ -27,26 +27,32 @@ RV-FlexRow--wrap()
|
|||||||
|
|
||||||
RV-FlexRow__Item--narrower()
|
RV-FlexRow__Item--narrower()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 1
|
flex-grow 2
|
||||||
|
flex-shrink 10
|
||||||
|
|
||||||
RV-FlexRow__Item--narrow()
|
RV-FlexRow__Item--narrow()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 2
|
flex-grow 4
|
||||||
|
flex-shrink 8
|
||||||
|
|
||||||
RV-FlexRow__Item--wide()
|
RV-FlexRow__Item--wide()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 4
|
flex-grow 8
|
||||||
|
flex-shrink 4
|
||||||
|
|
||||||
RV-FlexRow__Item--wider()
|
RV-FlexRow__Item--wider()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 5
|
flex-grow 10
|
||||||
|
flex-shrink 2
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Item has always the given width
|
* Item has always the given width
|
||||||
*/
|
*/
|
||||||
RV-FlexRow__Item--fixedSize(width)
|
RV-FlexRow__Item--fixedSize(width)
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
RV-Sizes--fixedSize(width)
|
flex-basis width
|
||||||
|
flex-grow 0
|
||||||
|
flex-shrink 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Item width relativ to the container
|
* Item width relativ to the container
|
||||||
@ -83,7 +89,9 @@ RV-FlexRow__Item--content()
|
|||||||
########### */
|
########### */
|
||||||
RV-FlexRow__Item(fixedSize=100px)
|
RV-FlexRow__Item(fixedSize=100px)
|
||||||
+RV-Element()
|
+RV-Element()
|
||||||
flex-grow 3
|
flex-basis 20px
|
||||||
|
flex-grow 5
|
||||||
|
flex-shrink 5
|
||||||
|
|
||||||
RV-FlexRow__Item--narrower()
|
RV-FlexRow__Item--narrower()
|
||||||
RV-FlexRow__Item--narrow()
|
RV-FlexRow__Item--narrow()
|
||||||
|
Loading…
Reference in New Issue
Block a user