2021-03-10 18:06:32 +01:00
|
|
|
RV-BreakPoint__Item(breakPoint)
|
2021-03-09 20:42:22 +01:00
|
|
|
+RV-Element()
|
|
|
|
RV-FlexRow__Item()
|
2021-03-10 18:06:32 +01:00
|
|
|
flex-basis 'calc(%s * 999 - 100% * 999)' % breakPoint
|
2021-03-09 20:42:22 +01:00
|
|
|
overflow: hidden;
|
|
|
|
--outer-spacing 0
|
|
|
|
--inner-spacing 0
|
|
|
|
|
|
|
|
RV-BreakPoint__Item--outside()
|
|
|
|
+RV-Element--modifier()
|
|
|
|
flex-shrink 999
|
|
|
|
|
|
|
|
RV-BreakPoint__Item--inside()
|
|
|
|
+RV-Element--modifier()
|
|
|
|
flex-grow 0
|
|
|
|
|
2021-03-10 18:06:32 +01:00
|
|
|
RV-BreakPoint(breakPoint)
|
2021-03-09 20:42:22 +01:00
|
|
|
RV-FlexRow()
|
|
|
|
+RV-Squash()
|
|
|
|
RV-FlexRow--wrap()
|
|
|
|
|
|
|
|
overflow-y hidden
|
|
|
|
|
|
|
|
RV-Reset()
|
|
|
|
gap 0px
|
|
|
|
|
|
|
|
RV-Utils__ElementAmount--range(0, 20, @(index, total){
|
2021-03-10 18:06:32 +01:00
|
|
|
min-width "calc((%s - (var(--spacing-inner) * (%s - 1))) / %s - (2 * var(--spacing-inner)))" % (breakPoint index index)
|
2021-03-09 20:42:22 +01:00
|
|
|
}
|
|
|
|
)
|
|
|
|
|
2021-03-10 18:06:32 +01:00
|
|
|
RV-BreakPoint--wrap()
|
|
|
|
+RV-Block--modifier()
|
|
|
|
+RV-Element('Item')
|
|
|
|
+RV-Element--modifier('outside')
|
|
|
|
margin-bottom -100vh
|
|
|
|
|
2021-03-09 20:42:22 +01:00
|
|
|
RV-BreakPoint--horizontal()
|
|
|
|
+RV-Block--modifier()
|
|
|
|
flex-wrap nowrap
|
2021-03-10 00:55:04 +01:00
|
|
|
min-width min-content
|
2021-03-09 20:42:22 +01:00
|
|
|
|
|
|
|
+RV-Element('Item')
|
|
|
|
+RV-Element--modifier('outside')
|
|
|
|
margin-bottom unset
|
2021-03-10 00:55:04 +01:00
|
|
|
height unset
|
2021-03-09 20:42:22 +01:00
|
|
|
|
|
|
|
RV-BreakPoint--vertical()
|
|
|
|
+RV-Block--modifier()
|
|
|
|
flex-direction column
|
|
|
|
flex-wrap nowrap
|
|
|
|
height 100%
|
|
|
|
|
|
|
|
+RV-Element('Item')
|
|
|
|
+RV-Element--modifier('outside')
|
|
|
|
margin-bottom unset
|
|
|
|
height unset
|
|
|
|
|
|
|
|
+RV-Block('RV-BreakPoint')
|
|
|
|
RV-CSSParameter({
|
2021-03-10 18:06:32 +01:00
|
|
|
breakPoint: 500px
|
2021-03-10 00:55:04 +01:00
|
|
|
fixedSize: 100px
|
2021-03-09 20:42:22 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
&&
|
|
|
|
--inner-spacing 0
|
|
|
|
|
2021-03-10 18:06:32 +01:00
|
|
|
RV-BreakPoint(--breakPoint)
|
2021-03-09 20:42:22 +01:00
|
|
|
|
|
|
|
+RV-Element()
|
2021-03-10 18:06:32 +01:00
|
|
|
RV-BreakPoint__Item(--breakPoint)
|
2021-03-09 20:42:22 +01:00
|
|
|
RV-BreakPoint__Item--outside()
|
|
|
|
RV-BreakPoint__Item--inside()
|
2021-03-10 00:55:04 +01:00
|
|
|
RV-BreakPoint__Item--fixedSize(--fixedSize)
|
2021-03-09 20:42:22 +01:00
|
|
|
|
2021-03-10 18:06:32 +01:00
|
|
|
RV-BreakPoint--wrap()
|
2021-03-09 20:42:22 +01:00
|
|
|
RV-BreakPoint--horizontal()
|
|
|
|
RV-BreakPoint--vertical()
|
|
|
|
|
|
|
|
|
|
|
|
|