diff --git a/transitions/slide-from-bottom.html b/transitions/slide-from-bottom.html index dba7a9a..50a090b 100644 --- a/transitions/slide-from-bottom.html +++ b/transitions/slide-from-bottom.html @@ -10,21 +10,28 @@ + polyfill-next-selector { content: ':host(.slide-from-bottom) > *'; } :host(.slide-from-bottom) ::content > * { -webkit-transition: -webkit-transform {{g.transitions.slideDuration || g.transitions.duration}} cubic-bezier(0.4, 0, 0.2, 1); transition: transform {{g.transitions.slideDuration || g.transitions.duration}} cubic-bezier(0.4, 0, 0.2, 1); } + polyfill-next-selector { content: ':host(.slide-from-bottom) > .core-selected ~ [animate]:not(.core-selected)'; } :host(.slide-from-bottom) ::content > .core-selected ~ [animate]:not(.core-selected) { -webkit-transform: translateY(100%); + transform: translateY(100%); } - + + polyfill-next-selector { content: ':host(.slide-from-bottom) > [animate]:not(.core-selected)'; } :host(.slide-from-bottom) ::content > [animate]:not(.core-selected) { -webkit-transform: translateY(-100%); + transform: translateY(-100%); } + polyfill-next-selector { content: ':host(.slide-from-bottom) > .core-selected'; } :host(.slide-from-bottom) ::content > .core-selected { -webkit-transform: none; + transform: none; }