Refactoring
This commit is contained in:
parent
d78c978f4d
commit
f6ef585087
@ -22,10 +22,10 @@ RV-Fan--horizontal(base-height, base-width)
|
|||||||
RV-BreakPoint(--localBreakPoint)
|
RV-BreakPoint(--localBreakPoint)
|
||||||
|
|
||||||
+RV-Element('Surface')
|
+RV-Element('Surface')
|
||||||
RV-BreakPoint__Item()
|
RV-BreakPoint__Item(--localBreakPoint)
|
||||||
|
|
||||||
+RV-Element('Base')
|
+RV-Element('Base')
|
||||||
RV-BreakPoint__Item()
|
RV-BreakPoint__Item(--localBreakPoint)
|
||||||
+RV-Squash()
|
+RV-Squash()
|
||||||
RV-BreakPoint__Item--outside()
|
RV-BreakPoint__Item--outside()
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ RV-FlexRow--wrap()
|
|||||||
RV-FlexRow__Item()
|
RV-FlexRow__Item()
|
||||||
+RV-Element()
|
+RV-Element()
|
||||||
flex-grow 3
|
flex-grow 3
|
||||||
flex-shrink 3
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Varios relative width of items to each other
|
* Varios relative width of items to each other
|
||||||
@ -37,22 +36,18 @@ RV-FlexRow__Item()
|
|||||||
RV-FlexRow__Item--narrower()
|
RV-FlexRow__Item--narrower()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 1
|
flex-grow 1
|
||||||
flex-shrink 5
|
|
||||||
|
|
||||||
RV-FlexRow__Item--narrow()
|
RV-FlexRow__Item--narrow()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 2
|
flex-grow 2
|
||||||
flex-shrink 4
|
|
||||||
|
|
||||||
RV-FlexRow__Item--wide()
|
RV-FlexRow__Item--wide()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 4
|
flex-grow 4
|
||||||
flex-shrink 2
|
|
||||||
|
|
||||||
RV-FlexRow__Item--wider()
|
RV-FlexRow__Item--wider()
|
||||||
+RV-Element--modifier()
|
+RV-Element--modifier()
|
||||||
flex-grow 5
|
flex-grow 5
|
||||||
flex-shrink 1
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Item has always the given width
|
* Item has always the given width
|
||||||
|
Loading…
Reference in New Issue
Block a user