From: Vincent Vanwaelscappel Date: Fri, 23 Aug 2019 18:27:42 +0000 (+0200) Subject: wip #2968 @2 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e3c6b98e11f51576061f17cf3a6774c4e969a730;p=fluidbook-html5.git wip #2968 @2 --- diff --git a/style/mobilefirst.less b/style/mobilefirst.less index 183690e3..76627bf6 100644 --- a/style/mobilefirst.less +++ b/style/mobilefirst.less @@ -26,6 +26,12 @@ overflow: visible; } + &.ios, &.android { + .doublePage { + box-shadow: none; + } + } + .doublePage { box-shadow: 0 0 30px rgba(0, 0, 0, @shadow-opacity*0.6); } @@ -50,10 +56,22 @@ } } + // 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;