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

Side by Side Diff: bower_components/core-animated-pages/transitions/slide-from-bottom.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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="slide-from-bottom">
13 polyfill-next-selector { content: ':host(.slide-from-bottom) > *'; }
14 :host(.slide-from-bottom) ::content > * {
15 -webkit-transition: -webkit-transform {{g.transitions.slideDuration || g.tra nsitions.duration}} cubic-bezier(0.4, 0, 0.2, 1);
16 transition: transform {{g.transitions.slideDuration || g.transitions.duratio n}} cubic-bezier(0.4, 0, 0.2, 1);
17 }
18
19 polyfill-next-selector { content: ':host(.slide-from-bottom) > .core-selected ~ [animate]:not(.core-selected)'; }
20 :host(.slide-from-bottom) ::content > .core-selected ~ [animate]:not(.core-sel ected) {
21 -webkit-transform: translateY(100%);
22 transform: translateY(100%);
23 }
24
25 polyfill-next-selector { content: ':host(.slide-from-bottom) > [animate]:not(. core-selected)'; }
26 :host(.slide-from-bottom) ::content > [animate]:not(.core-selected) {
27 -webkit-transform: translateY(-100%);
28 transform: translateY(-100%);
29 }
30
31 polyfill-next-selector { content: ':host(.slide-from-bottom) > .core-selected' ; }
32 :host(.slide-from-bottom) ::content > .core-selected {
33 -webkit-transform: none;
34 transform: none;
35 }
36 </core-style>
37
38 <core-transition-pages id="slide-from-bottom" scopeClass="slide-from-bottom"></c ore-transition-pages>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698