vendor/assets/stylesheets/ustyle/utilities/_spacing.scss in ustyle-1.3.6 vs vendor/assets/stylesheets/ustyle/utilities/_spacing.scss in ustyle-1.3.12
- old
+ new
@@ -38,11 +38,22 @@
// <div class='class-goes-here {$modifiers}'>Sample content</div>
$positions: "top", "right", "bottom", "left";
$spacing: "small" .5em, "large" 1.5em;
+.us-reset--padding {
+ padding: 0;
+}
+.us-reset--margin {
+ margin: 0;
+}
+
+.us-reset {
+ @extend %reset-box-model;
+}
+
@each $position in $positions {
.us-margin-#{$position} {
margin-#{$position}: 1em;
}
@@ -57,18 +68,6 @@
.us-padding-#{$position}--#{nth($space,1)} {
padding-#{$position}: nth($space,2);
}
}
-}
-
-.us-reset--padding {
- padding: 0;
-}
-
-.us-reset--margin {
- margin: 0;
-}
-
-.us-reset {
- @extend %reset-box-model;
}