]> _ Git - fluidbook-html5.git/commitdiff
wip #2968 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Aug 2019 18:27:42 +0000 (20:27 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Aug 2019 18:27:42 +0000 (20:27 +0200)
style/mobilefirst.less

index 183690e3435aa67b22a518a5652ab86071ed8757..76627bf6e994d20627f3ef5eafaf3f0b5f1ff496 100644 (file)
     overflow: visible;
   }
 
+  &.ios, &.android {
+    .doublePage {
+      box-shadow: none;
+    }
+  }
+
   .doublePage {
     box-shadow: 0 0 30px rgba(0, 0, 0, @shadow-opacity*0.6);
   }
     }
   }
 
+  // Opacity animation only for non ios and non android platforms
+  &.no-ios.no-android {
+    .portrait {
+      .doublePage {
+        &._2d.axis_x {
+          opacity: 0;
+        }
+      }
+    }
+  }
+
   .portrait {
     .doublePage {
       &._2d.axis_x {
-        opacity: 0;
+        opacity: 1;
+
         @transition-margin: 200;
         transition-timing-function: ease-in-out;