Kaynağa Gözat

Brompton: Compile new spacing override utility classes from Varia, update package files

Allan Cole 6 yıl önce
ebeveyn
işleme
6f201f170b
3 değiştirilmiş dosya ile 66 ekleme ve 6 silme
  1. 6 6
      brompton/package-lock.json
  2. 30 0
      brompton/style-rtl.css
  3. 30 0
      brompton/style.css

+ 6 - 6
brompton/package-lock.json

@@ -558,7 +558,7 @@
       "requires": {
         "bluebird": "3.5.3",
         "chokidar": "2.1.1",
-        "lodash": "4.17.13",
+        "lodash": "4.17.11",
         "yargs": "12.0.5"
       },
       "dependencies": {
@@ -1221,7 +1221,7 @@
           }
         },
         "lodash": {
-          "version": "4.17.13",
+          "version": "4.17.11",
           "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.13.tgz",
           "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
           "dev": true
@@ -2640,7 +2640,7 @@
       "dev": true,
       "requires": {
         "glob": "~7.1.1",
-        "lodash": "~4.17.13",
+        "lodash": "~4.17.10",
         "minimatch": "~3.0.2"
       }
     },
@@ -3461,7 +3461,7 @@
         "get-stdin": "^4.0.1",
         "glob": "^7.0.3",
         "in-publish": "^2.0.0",
-        "lodash": "^4.17.13",
+        "lodash": "^4.17.11",
         "meow": "^3.7.0",
         "mkdirp": "^0.5.1",
         "nan": "^2.13.2",
@@ -4086,7 +4086,7 @@
       "dev": true,
       "requires": {
         "chalk": "^2.4.1",
-        "lodash": "^4.17.13",
+        "lodash": "^4.17.11",
         "log-symbols": "^2.2.0",
         "postcss": "^7.0.7"
       },
@@ -4419,7 +4419,7 @@
       "dev": true,
       "requires": {
         "glob": "^7.0.0",
-        "lodash": "^4.17.13",
+        "lodash": "^4.0.0",
         "scss-tokenizer": "^0.2.3",
         "yargs": "^7.0.0"
       }

+ 30 - 0
brompton/style-rtl.css

@@ -2095,6 +2095,36 @@ table th,
 	}
 }
 
+/**
+ * Spacing Overrides
+ */
+/*
+ * Margins
+ */
+.margin-top-zero {
+	margin-top: 0 !important;
+}
+
+.margin-top-half {
+	margin-top: 8px !important;
+}
+
+.margin-top-default {
+	margin-top: 16px !important;
+}
+
+.margin-bottom-zero {
+	margin-bottom: 0 !important;
+}
+
+.margin-bottom-half {
+	margin-bottom: 8px !important;
+}
+
+.margin-bottom-default {
+	margin-bottom: 16px !important;
+}
+
 /**
  * Components
  * - Similar to Blocks but exist outside of the "current" editor context

+ 30 - 0
brompton/style.css

@@ -2100,6 +2100,36 @@ table th,
 	}
 }
 
+/**
+ * Spacing Overrides
+ */
+/*
+ * Margins
+ */
+.margin-top-zero {
+	margin-top: 0 !important;
+}
+
+.margin-top-half {
+	margin-top: 8px !important;
+}
+
+.margin-top-default {
+	margin-top: 16px !important;
+}
+
+.margin-bottom-zero {
+	margin-bottom: 0 !important;
+}
+
+.margin-bottom-half {
+	margin-bottom: 8px !important;
+}
+
+.margin-bottom-default {
+	margin-bottom: 16px !important;
+}
+
 /**
  * Components
  * - Similar to Blocks but exist outside of the "current" editor context