OLD | NEW |
(Empty) | |
| 1 <!-- |
| 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.g
ithub.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/CONTRI
BUTORS.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/PATEN
TS.txt |
| 8 --> |
| 9 |
| 10 <link href="core-transition-pages.html" rel="import"> |
| 11 |
| 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.tra
nsitions.duration}} cubic-bezier(0.4, 0, 0.2, 1) {{g.transitions.scaleDelay || g
.transitions.delay}} !important; |
| 16 transition: transform {{g.transitions.scaleDuration || g.transitions.duratio
n}} cubic-bezier(0.4, 0, 0.2, 1) {{g.transitions.scaleDelay || g.transitions.del
ay}} !important; |
| 17 } |
| 18 |
| 19 polyfill-next-selector { content: ':host > .core-selected [scale-up]'; } |
| 20 ::content > .core-selected /deep/ [scale-up] { |
| 21 -webkit-transform: none; |
| 22 transform: none; |
| 23 } |
| 24 |
| 25 polyfill-next-selector { content: ':host > [animate]:not(.core-selected) [scal
e-up]'; } |
| 26 ::content > [animate]:not(.core-selected) /deep/ [scale-up] { |
| 27 -webkit-transform: scale(0); |
| 28 transform: scale(0); |
| 29 } |
| 30 |
| 31 polyfill-next-selector { content: ':host > .core-selected[animate] [scale-up]'
; } |
| 32 ::content > .core-selected[animate] /deep/ [scale-up] { |
| 33 z-index: 1000; |
| 34 } |
| 35 </core-style> |
| 36 |
| 37 <core-transition-pages id="scale-up"></core-transition-pages> |
OLD | NEW |