MDL-61515 theme: Pre-compile boost
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 6 Aug 2018 07:21:11 +0000 (15:21 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 6 Aug 2018 07:21:11 +0000 (15:21 +0800)
theme/boost/style/moodle.css

index ae74bbc..be02405 100644 (file)
@@ -16411,6 +16411,22 @@ body:not(.jsenabled) .langmenu:hover > .dropdown-menu,
 .custom-select {
   word-wrap: normal; }
 
+/* Add commented out carousel transistions back in.
+ *
+ * The Css prefixer used in Moodle breaks on @supports syntax, See MDL-61515.
+ */
+.carousel-item-next.carousel-item-left,
+.carousel-item-prev.carousel-item-right {
+  transform: translateX(0); }
+
+.carousel-item-next,
+.active.carousel-item-right {
+  transform: translateX(100%); }
+
+.carousel-item-prev,
+.active.carousel-item-left {
+  transform: translateX(-100%); }
+
 body.behat-site .fixed-top {
   position: absolute; }