scss-library/components/02_Styles/spacing/_spacing.styl

63 lines
1.3 KiB
Stylus
Raw Normal View History

2021-01-03 12:36:12 +01:00
RV-Spacing__Outer--small()
2021-03-07 20:38:25 +01:00
+RV-Element--modifier()
--outer-spacing spacing-small
2021-01-20 11:41:41 +01:00
margin var(--outer-spacing)
* > {
--outer-spacing 0
}
2021-01-03 12:36:12 +01:00
RV-Spacing__Outer--medium()
2021-03-07 20:38:25 +01:00
+RV-Element--modifier()
--outer-spacing spacing-medium
2021-01-20 11:41:41 +01:00
margin var(--outer-spacing)
* > {
--outer-spacing 0
}
2021-01-03 12:36:12 +01:00
RV-Spacing__Outer--large()
2021-03-07 20:38:25 +01:00
+RV-Element--modifier()
--outer-spacing spacing-large
2021-01-20 11:46:37 +01:00
margin var(--outer-spacing)
2021-01-20 11:41:41 +01:00
* > {
--outer-spacing 0
}
2021-01-03 12:36:12 +01:00
RV-Spacing__Inner--small()
2021-03-07 20:38:25 +01:00
+RV-Element--modifier()
--inner-spacing spacing-small
2021-01-20 11:41:41 +01:00
padding var(--inner-spacing)
gap var(--inner-spacing)
column-gap var(--inner-spacing)
* > {
--inner-spacing 0
}
2021-01-03 12:36:12 +01:00
RV-Spacing__Inner--medium()
2021-03-07 20:38:25 +01:00
+RV-Element--modifier()
--inner-spacing spacing-medium
2021-01-20 11:41:41 +01:00
padding var(--inner-spacing)
gap var(--inner-spacing)
column-gap var(--inner-spacing)
* > {
--inner-spacing 0
}
2021-01-03 12:36:12 +01:00
RV-Spacing__Inner--large()
2021-03-07 20:38:25 +01:00
+RV-Element--modifier()
--inner-spacing spacing-large
2021-01-20 11:41:41 +01:00
padding var(--inner-spacing)
gap var(--inner-spacing)
column-gap var(--inner-spacing)
* > {
--inner-spacing 0
}
+RV-Block('RV-Spacing')
+RV-Element('Outer')
2021-03-07 20:38:25 +01:00
RV-Spacing__Outer--small()
RV-Spacing__Outer--medium()
RV-Spacing__Outer--large()
+RV-Element('Inner')
2021-03-07 20:38:25 +01:00
RV-Spacing__Inner--small()
RV-Spacing__Inner--medium()
RV-Spacing__Inner--large()