Sha256: 35fc9c953f0bcfc15d9e3e4f0546a028ceb9abf23a2e2c076028bce52cef83e4

Contents?: true

Size: 1.66 KB

Versions: 4

Compression:

Stored size: 1.66 KB

Contents

<!--
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link href="core-transition-pages.html" rel="import">

<core-style id="scale-up">
  polyfill-next-selector { content: ':host > * [scale-up]'; }
  ::content > * /deep/ [scale-up] {
    -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;
    transition: transform {{g.transitions.scaleDuration || g.transitions.duration}} cubic-bezier(0.4, 0, 0.2, 1) {{g.transitions.scaleDelay || g.transitions.delay}} !important;
  }

  polyfill-next-selector { content: ':host > .core-selected [scale-up]'; }
  ::content > .core-selected /deep/ [scale-up]  {
    -webkit-transform: none;
    transform: none;
  }

  polyfill-next-selector { content: ':host > [animate]:not(.core-selected) [scale-up]'; }
  ::content > [animate]:not(.core-selected) /deep/ [scale-up] {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  polyfill-next-selector { content: ':host > .core-selected[animate] [scale-up]'; }
  ::content > .core-selected[animate] /deep/ [scale-up]  {
    z-index: 1000;
  }
</core-style>

<core-transition-pages id="scale-up"></core-transition-pages>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
polymer-core-rails-0.2.6 app/assets/components/core-animated-pages/transitions/scale-up.html
polymer-core-rails-0.2.5 app/assets/components/core-animated-pages/transitions/scale-up.html
polymer-core-rails-0.2.0 app/assets/components/core-animated-pages/transitions/scale-up.html
polymer-core-rails-0.1.0 app/assets/components/core-animated-pages/transitions/scale-up.html