瀏覽代碼

Varia: Change general spacing unit to veritcal spacing unit to meet 32px default

Allan Cole 6 年之前
父節點
當前提交
92350dc7be
共有 3 個文件被更改,包括 12 次插入12 次删除
  1. 4 4
      varia/sass/blocks/utilities/_spacing-overrides.scss
  2. 4 4
      varia/style-rtl.css
  3. 4 4
      varia/style.css

+ 4 - 4
varia/sass/blocks/utilities/_spacing-overrides.scss

@@ -7,11 +7,11 @@
 }
 }
 
 
 .margin-top-half {
 .margin-top-half {
-	margin-top: (0.5 * map-deep-get($config-global, "spacing", "unit")) !important;
+	margin-top: (0.5 * map-deep-get($config-global, "spacing", "vertical")) !important;
 }
 }
 
 
 .margin-top-default {
 .margin-top-default {
-	margin-top: map-deep-get($config-global, "spacing", "unit") !important;
+	margin-top: map-deep-get($config-global, "spacing", "vertical") !important;
 }
 }
 
 
 .margin-bottom-zero {
 .margin-bottom-zero {
@@ -19,9 +19,9 @@
 }
 }
 
 
 .margin-bottom-half {
 .margin-bottom-half {
-	margin-bottom: (0.5 * map-deep-get($config-global, "spacing", "unit")) !important;
+	margin-bottom: (0.5 * map-deep-get($config-global, "spacing", "vertical")) !important;
 }
 }
 
 
 .margin-bottom-default {
 .margin-bottom-default {
-	margin-bottom: map-deep-get($config-global, "spacing", "unit") !important;
+	margin-bottom: map-deep-get($config-global, "spacing", "vertical") !important;
 }
 }

+ 4 - 4
varia/style-rtl.css

@@ -2065,11 +2065,11 @@ table th,
 }
 }
 
 
 .margin-top-half {
 .margin-top-half {
-	margin-top: 8px !important;
+	margin-top: 16px !important;
 }
 }
 
 
 .margin-top-default {
 .margin-top-default {
-	margin-top: 16px !important;
+	margin-top: 32px !important;
 }
 }
 
 
 .margin-bottom-zero {
 .margin-bottom-zero {
@@ -2077,11 +2077,11 @@ table th,
 }
 }
 
 
 .margin-bottom-half {
 .margin-bottom-half {
-	margin-bottom: 8px !important;
+	margin-bottom: 16px !important;
 }
 }
 
 
 .margin-bottom-default {
 .margin-bottom-default {
-	margin-bottom: 16px !important;
+	margin-bottom: 32px !important;
 }
 }
 
 
 /**
 /**

+ 4 - 4
varia/style.css

@@ -2070,11 +2070,11 @@ table th,
 }
 }
 
 
 .margin-top-half {
 .margin-top-half {
-	margin-top: 8px !important;
+	margin-top: 16px !important;
 }
 }
 
 
 .margin-top-default {
 .margin-top-default {
-	margin-top: 16px !important;
+	margin-top: 32px !important;
 }
 }
 
 
 .margin-bottom-zero {
 .margin-bottom-zero {
@@ -2082,11 +2082,11 @@ table th,
 }
 }
 
 
 .margin-bottom-half {
 .margin-bottom-half {
-	margin-bottom: 8px !important;
+	margin-bottom: 16px !important;
 }
 }
 
 
 .margin-bottom-default {
 .margin-bottom-default {
-	margin-bottom: 16px !important;
+	margin-bottom: 32px !important;
 }
 }
 
 
 /**
 /**