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

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

Issue 1944463002: MD User Manager: fixes accessibility issues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-user-pods-css
Patch Set: Replaced paper-menu with lighter weight paper-listbox 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
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/slide-from-left-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/slide-right-animation.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mated-pages.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mated-pages.html">
8 8
9 <dom-module id="user-manager-pages"> 9 <dom-module id="user-manager-pages">
10 <template> 10 <template>
11 <style> 11 <style>
12 neon-animated-pages { 12 neon-animated-pages {
13 height: 100%; 13 height: 100%;
14 } 14 }
15 15
16 neon-animated-pages > div { 16 neon-animated-pages > div {
17 display: flex; 17 display: flex;
18 justify-content: center; 18 justify-content: center;
19 } 19 }
20
21 neon-animated-pages > div:not(.iron-selected) > ::content > * {
tommycli 2016/05/04 17:04:11 Hmm... why is this necessary? I thought not-select
Moe 2016/05/04 17:33:52 neon-animated-pages works as expected. Note that i
tommycli 2016/05/04 17:56:02 Hmm... I see. Do you still need this rule if the i
tommycli 2016/05/04 18:58:12 I just spoke to michaelpg about this topic. Basica
Moe 2016/05/04 19:37:40 I took content out of dom-if. user-pods-page is th
tommycli 2016/05/04 20:16:57 Okay that's fine, can you just add a comment above
22 display: none !important;
23 }
20 </style> 24 </style>
21 <neon-animated-pages id="animatedPages" attr-for-selected="id" 25 <neon-animated-pages id="animatedPages" attr-for-selected="id"
22 selected="[[selectedPage_]]" entry-animation="slide-from-left-animation" 26 selected="[[selectedPage_]]" entry-animation="slide-from-left-animation"
23 exit-animation="slide-right-animation"> 27 exit-animation="slide-right-animation">
24 <div id="create-user-page"> 28 <div id="create-user-page">
25 <template is="dom-if" 29 <template is="dom-if"
26 if="[[isPageVisible_(selectedPage_, 'create-user-page')]]" restamp> 30 if="[[isPageVisible_(selectedPage_, 'create-user-page')]]" restamp>
27 <create-profile></create-profile> 31 <create-profile></create-profile>
28 </template> 32 </template>
29 </div> 33 </div>
30 <div id="user-pods-page"> 34 <div id="user-pods-page">
31 <template is="dom-if" 35 <template is="dom-if"
32 if="[[isPageVisible_(selectedPage_, 'user-pods-page')]]"> 36 if="[[isPageVisible_(selectedPage_, 'user-pods-page')]]">
33 <content></content> 37 <content></content>
34 </template> 38 </template>
35 </div> 39 </div>
36 <div id="supervised-learn-more-page"> 40 <div id="supervised-learn-more-page">
37 <template is="dom-if" 41 <template is="dom-if"
38 if="[[isPageVisible_(selectedPage_, 42 if="[[isPageVisible_(selectedPage_,
39 'supervised-learn-more-page')]]"> 43 'supervised-learn-more-page')]]">
40 <supervised-user-learn-more></supervised-user-learn-more> 44 <supervised-user-learn-more></supervised-user-learn-more>
41 </template> 45 </template>
42 </div> 46 </div>
43 <div id="supervised-create-confirm-page"> 47 <div id="supervised-create-confirm-page">
44 <template is="dom-if" 48 <template is="dom-if"
45 if="[[isPageVisible_(selectedPage_, 'supervised-create-confirm-page' )]]"> 49 if="[[isPageVisible_(selectedPage_,
50 'supervised-create-confirm-page')]]">
46 <supervised-user-create-confirm profile-info="[[pageData_]]"> 51 <supervised-user-create-confirm profile-info="[[pageData_]]">
47 </supervised-user-create-confirm> 52 </supervised-user-create-confirm>
48 </template> 53 </template>
49 </div> 54 </div>
50 <content></content>
51 </neon-animated-pages> 55 </neon-animated-pages>
52 </template> 56 </template>
53 <script src="chrome://md-user-manager/user_manager_pages.js"></script> 57 <script src="chrome://md-user-manager/user_manager_pages.js"></script>
54 </dom-module> 58 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698