2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10 <link href=
"core-transition-pages.html" rel=
"import">
12 <core-style id=
"slide-from-bottom">
13 polyfill-next-selector { content: ':host(.slide-from-bottom)
> *'; }
14 :host(.slide-from-bottom) ::content
> * {
15 -webkit-transition: -webkit-transform {{g.transitions.slideDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1);
16 transition: transform {{g.transitions.slideDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1);
19 polyfill-next-selector { content: ':host(.slide-from-bottom)
> .core-selected ~ [animate]:not(.core-selected)'; }
20 :host(.slide-from-bottom) ::content
> .core-selected ~ [animate]:not(.core-selected) {
21 -webkit-transform: translateY(
100%);
22 transform: translateY(
100%);
25 polyfill-next-selector { content: ':host(.slide-from-bottom)
> [animate]:not(.core-selected)'; }
26 :host(.slide-from-bottom) ::content
> [animate]:not(.core-selected) {
27 -webkit-transform: translateY(-
100%);
28 transform: translateY(-
100%);
31 polyfill-next-selector { content: ':host(.slide-from-bottom)
> .core-selected'; }
32 :host(.slide-from-bottom) ::content
> .core-selected {
33 -webkit-transform: none;
38 <core-transition-pages id=
"slide-from-bottom" scopeClass=
"slide-from-bottom"></core-transition-pages>