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

Side by Side Diff: chrome/browser/resources/md_user_manager/user_manager_pages.html

Issue 1947393002: MD User Manager: page transition animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-accessibility
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://md-user-manager/create_profile.html"> 1 <link rel="import" href="chrome://md-user-manager/create_profile.html">
2 <link rel="import" href="chrome://md-user-manager/supervised_user_create_confirm .html"> 2 <link rel="import" href="chrome://md-user-manager/supervised_user_create_confirm .html">
3 <link rel="import" href="chrome://md-user-manager/supervised_user_learn_more.htm l"> 3 <link rel="import" href="chrome://md-user-manager/supervised_user_learn_more.htm l">
4 <link rel="import" href="chrome://resources/html/polymer.html"> 4 <link rel="import" href="chrome://resources/html/polymer.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/slide-from-left-animation.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/slide-right-animation.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mated-pages.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mated-pages.html">
8 9
9 <dom-module id="user-manager-pages"> 10 <dom-module id="user-manager-pages">
10 <template> 11 <template>
11 <style> 12 <style>
12 neon-animated-pages { 13 neon-animated-pages {
13 height: 100%; 14 height: 100%;
14 } 15 }
15 16
16 neon-animated-pages > div { 17 neon-animatable {
17 display: flex; 18 display: flex;
18 justify-content: center; 19 justify-content: center;
19 } 20 }
20 21
21 /* neon-animated-pages does not automatically hide what's under content */ 22 /* neon-animated-pages does not automatically hide what's under content */
22 neon-animated-pages > div:not(.iron-selected) > ::content > * { 23 neon-animatable:not(.iron-selected) > ::content > * {
23 display: none !important; 24 display: none !important;
24 } 25 }
25 </style> 26 </style>
26 <neon-animated-pages id="animatedPages" attr-for-selected="id" 27 <neon-animated-pages id="animatedPages" attr-for-selected="id"
27 selected="[[selectedPage_]]" entry-animation="slide-from-left-animation" 28 selected="[[selectedPage_]]" entry-animation="fade-in-animation"
28 exit-animation="slide-right-animation"> 29 exit-animation="fade-out-animation">
29 <div id="create-user-page"> 30 <neon-animatable id="create-user-page">
30 <template is="dom-if" 31 <template is="dom-if"
31 if="[[isPageVisible_(selectedPage_, 'create-user-page')]]" restamp> 32 if="[[isPageVisible_(selectedPage_, 'create-user-page')]]" restamp>
32 <create-profile></create-profile> 33 <create-profile></create-profile>
33 </template> 34 </template>
34 </div> 35 </neon-animatable>
35 <div id="user-pods-page"> 36 <neon-animatable id="user-pods-page">
36 <content></content> 37 <content></content>
37 </div> 38 </neon-animatable>
38 <div id="supervised-learn-more-page"> 39 <neon-animatable id="supervised-learn-more-page">
39 <template is="dom-if" 40 <template is="dom-if"
40 if="[[isPageVisible_(selectedPage_, 41 if="[[isPageVisible_(selectedPage_,
41 'supervised-learn-more-page')]]"> 42 'supervised-learn-more-page')]]">
42 <supervised-user-learn-more></supervised-user-learn-more> 43 <supervised-user-learn-more></supervised-user-learn-more>
43 </template> 44 </template>
44 </div> 45 </neon-animatable>
45 <div id="supervised-create-confirm-page"> 46 <neon-animatable id="supervised-create-confirm-page">
46 <template is="dom-if" 47 <template is="dom-if"
47 if="[[isPageVisible_(selectedPage_, 48 if="[[isPageVisible_(selectedPage_,
48 'supervised-create-confirm-page')]]"> 49 'supervised-create-confirm-page')]]">
49 <supervised-user-create-confirm profile-info="[[pageData_]]"> 50 <supervised-user-create-confirm profile-info="[[pageData_]]">
50 </supervised-user-create-confirm> 51 </supervised-user-create-confirm>
51 </template> 52 </template>
52 </div> 53 </neon-animatable>
53 </neon-animated-pages> 54 </neon-animated-pages>
54 </template> 55 </template>
55 <script src="chrome://md-user-manager/user_manager_pages.js"></script> 56 <script src="chrome://md-user-manager/user_manager_pages.js"></script>
56 </dom-module> 57 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698