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=
"tile-cascade">
13 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div'; }
14 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div {
15 -webkit-transition: -webkit-transform {{g.transitions.cascadeDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1), opacity {{g.transitions.cascadeFadeDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1);
16 transition: transform {{g.transitions.cascadeDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1), opacity {{g.transitions.cascadeFadeDuration || g.transitions.duration}} cubic-bezier(
0.4,
0,
0.2,
1);
19 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
2)'; }
20 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
2) {
21 -webkit-transition-delay:
0.05s;
22 transition-delay:
0.05s;
25 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
3)'; }
26 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
3) {
27 -webkit-transition-delay:
0.1s;
28 transition-delay:
0.1s;
31 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
4)'; }
32 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
4) {
33 -webkit-transition-delay:
0.15s;
34 transition-delay:
0.15s;
37 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
5)'; }
38 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
5) {
39 -webkit-transition-delay:
0.2s;
40 transition-delay:
0.2s;
43 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
6)'; }
44 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
6) {
45 -webkit-transition-delay:
0.25s;
46 transition-delay:
0.25s;
49 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
7)'; }
50 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
7) {
51 -webkit-transition-delay:
0.3s;
52 transition-delay:
0.3s;
55 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
8)'; }
56 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
8) {
57 -webkit-transition-delay:
0.35s;
58 transition-delay:
0.35s;
61 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
9)'; }
62 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
9) {
63 -webkit-transition-delay:
0.4s;
64 transition-delay:
0.4s;
67 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
10)'; }
68 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
10) {
69 -webkit-transition-delay:
0.45s;
70 transition-delay:
0.45s;
73 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
11)'; }
74 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
11) {
75 -webkit-transition-delay:
0.5s;
76 transition-delay:
0.5s;
79 polyfill-next-selector { content: ':host(.tile-cascade)
> * [tile-cascade]
> div:nth-of-type(
12)'; }
80 :host(.tile-cascade) ::content
> * /deep/ [tile-cascade]
> div:nth-of-type(
12) {
81 -webkit-transition-delay:
0.55s;
82 transition-delay:
0.55s;
85 polyfill-next-selector { content: '.core-selected [tile-cascade]
> div'; }
86 ::content
> .core-selected /deep/ [tile-cascade]
> div {
89 polyfill-next-selector { content: '[animate]:not(.core-selected) [tile-cascade]
> div'; }
90 ::content
> [animate]:not(.core-selected) /deep/ [tile-cascade]
> div {
91 -webkit-transform: translateY(
100%);
92 transform: translateY(
100%);
95 polyfill-next-selector { content: '[animate]:not(.core-selected) [tile-cascade][fade]
> div'; }
96 ::content
> [animate]:not(.core-selected) /deep/ [tile-cascade][fade]
> div {
101 <core-transition-pages id=
"tile-cascade" activeClass=
"tile-cascade" transitionProperty=
"transform"></core-transition-pages>