]> _ Git - c6-wordpress.git/commitdiff
WIP #2684 @1
authorStephen Cameron <stephen@cubedesigners.com>
Mon, 6 May 2019 17:52:43 +0000 (19:52 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Mon, 6 May 2019 17:52:43 +0000 (19:52 +0200)
wp-content/themes/c6/package.json
wp-content/themes/c6/resources/assets/styles/common/utilities.styl
wp-content/themes/c6/resources/assets/styles/widgets/image-box.styl
wp-content/themes/c6/yarn.lock

index 46a110e74d2a3e3faac3cf3913cc548f9b75962b..199c1b2fb3c7232bce8bd8e39995531f78ff284f 100644 (file)
@@ -66,6 +66,7 @@
     "sass-loader": "~6.0",
     "sidr": "^2.2.1",
     "simple-scrollspy": "^2.0.1",
+    "smooth-scroll": "^16.0.3",
     "style-loader": "^0.22.1",
     "stylelint": "^8.4.0",
     "stylelint-config-standard": "~18.2.0",
@@ -82,8 +83,6 @@
     "yargs": "~11.0.0"
   },
   "dependencies": {
-    "gumshoejs": "^5.1.1",
-    "jquery": "^3.3.1",
-    "smooth-scroll": "^16.0.3"
+    "jquery": "^3.3.1"
   }
 }
index 45cd5cc378042ec4031dcd65c0f03155795e478b..657459f2aeacaee84f39c12ef630eae00ed11792 100644 (file)
 .pb0 > .elementor-widget-container
   padding-bottom: 0 !important
 
+// Padding helpers (mostly used for ad hoc elements that need to line up with text blocks)
+// Dots in class names need to be escaped...
+.pl-7\\.5vw
+  constrain(padding-left, 7.5vw)
+.pr-7\\.5vw
+  constrain(padding-right, 7.5vw)
 
 .font-smoothing
   font-smoothing()
index ce990984828f1f2c8bca70ad8ce9af638b1e32fa..e3f06ab4f7759a52a12f30b79e13767592a4fc38 100644 (file)
@@ -1,9 +1,13 @@
 // Elementor Image Box
-.elementor-image-box
-  &-title
-    font-size: 24px
-    text-align: left
-
-  &-description
-    font-size: 16px
-    text-align: left
+.elementor-widget-image-box
+
+  .elementor-image-box
+
+    &-wrapper
+      text-align: left
+
+    &-title
+      font-size: 24px
+
+    &-description
+      font-size: 16px
index e2a3514d96467fe1fe50ed5e2779501d085c785d..fa7bbd7b1981c496e5b80712b59e984d3fda732f 100644 (file)
@@ -4171,11 +4171,6 @@ gulplog@^1.0.0:
   dependencies:
     glogg "^1.0.0"
 
-gumshoejs@^5.1.1:
-  version "5.1.1"
-  resolved "https://registry.yarnpkg.com/gumshoejs/-/gumshoejs-5.1.1.tgz#b67564fdec7bd8be8e2eaf02cc01f7c9fd7f8ce0"
-  integrity sha512-aQvXoMH/EbYGf7aRtpKhyvrYpBw7X+nMvdBg/dH3TOeqeM5BsDQKVaDRVsiv2AqLLj26h/WMBUsYgjT4oyIGKg==
-
 har-schema@^2.0.0:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"