scss-library/components/01_Layouts/sizes/_sizes.styl

51 lines
883 B
Stylus
Raw Normal View History

2021-01-03 12:36:12 +01:00
RV-Sizes--half()
+RV-Block__Modifier--name('half')
flex-grow 0
flex-shrink 0
flex-basis 50%
width 50%
2021-01-03 12:36:12 +01:00
RV-Sizes--third()
+RV-Block__Modifier--name('third')
flex-grow 0
flex-shrink 0
flex-basis (100/3)%
width (100/3)%
2021-01-03 12:36:12 +01:00
RV-Sizes--quarter()
+RV-Block__Modifier--name('quarter')
flex-grow 0
flex-shrink 0
flex-basis 25%
width 25%
2021-01-03 12:36:12 +01:00
RV-Sizes--fixedSize(width=100px)
+RV-Block__Modifier--name('fixedSize')
flex-grow 0
flex-shrink 0
width min-content
flex-basis width
2021-01-03 12:36:12 +01:00
RV-Sizes--content()
+RV-Block__Modifier--name('content')
flex-grow 0
flex-shrink 0
width max-content
flex-basis max-content
2021-01-03 12:36:12 +01:00
+RV-Block('RV-Sizes')
2021-01-03 12:36:12 +01:00
+RV-Block__Modifier()
2021-01-03 12:36:12 +01:00
RV-Sizes--half()
+RV-Block__Modifier()
2021-01-03 12:36:12 +01:00
RV-Sizes--third()
+RV-Block__Modifier()
2021-01-03 12:36:12 +01:00
RV-Sizes--quarter()
+RV-Block__Modifier()
RV-Sizes--fixedSize()
2021-01-03 12:36:12 +01:00
+RV-Block__Modifier()
RV-Sizes--content()