Pagination Molecule

This commit is contained in:
2021-03-03 18:27:35 +01:00
parent 2b2e87ab06
commit 3c1cde82d1
5 changed files with 111 additions and 7 deletions

View File

@@ -13,6 +13,16 @@ RV-FlexRow--vertical()
+RV-Block__Modifier--name('vertical')
flex-direction column
RV-FlexRow__Item--outsideBreakPoint()
+RV-Element__Modifier--name('outsideBreakPoint')
margin-bottom -100vh
height max-content
flex-shrink 999
RV-FlexRow__Item--insideBreakPoint()
+RV-Element__Modifier--name('insideBreakPoint')
flex-grow 0
/*
* Breaks from row to column orientation at the given breakpoint
* breaks when the container is smaller than $-localBreakPoint or when the viewport is smaller than $-mediaBreakPoint.
@@ -33,13 +43,11 @@ RV-FlexRow--breakPoint(localBreakPoint, mediaBreakPoint)
flex-basis 'calc(%s * 999 - 100% * 999)' % localBreakPoint
overflow hidden
+RV-Element__Modifier('outsideBreakPoint')
margin-bottom -100vh
height max-content
flex-shrink 999
+RV-Element__Modifier()
RV-FlexRow__Item--outsideBreakPoint()
+RV-Element__Modifier('insideBreakPoint')
flex-grow 0
+RV-Element__Modifier()
RV-FlexRow__Item--insideBreakPoint()
@media(max-width mediaBreakPoint)
flex-direction row