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=
"scale-up">
13 polyfill-next-selector { content: ':host
> * [scale-up]'; }
14 ::content
> * /deep/ [scale-up] {
15 -webkit-transition: -webkit-transform {{g.transitions.scaleDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1) {{g.transitions.scaleDelay || g.transitions.delay}} !important;
16 transition: transform {{g.transitions.scaleDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1) {{g.transitions.scaleDelay || g.transitions.delay}} !important;
19 polyfill-next-selector { content: ':host
> .core-selected [scale-up]'; }
20 ::content
> .core-selected /deep/ [scale-up] {
21 -webkit-transform: none;
25 polyfill-next-selector { content: ':host
> [animate]:not(.core-selected) [scale-up]'; }
26 ::content
> [animate]:not(.core-selected) /deep/ [scale-up] {
27 -webkit-transform: scale(
0);
31 polyfill-next-selector { content: ':host
> .core-selected[animate] [scale-up]'; }
32 ::content
> .core-selected[animate] /deep/ [scale-up] {
37 <core-transition-pages id=
"scale-up"></core-transition-pages>