Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/polymer/components-chromium/core-animated-pages/transitions/scale-up.html

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698