OLD | NEW |
1 <link rel="import" href="chrome://md-user-manager/profile_browser_proxy.html"> | 1 <link rel="import" href="chrome://md-user-manager/profile_browser_proxy.html"> |
2 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> | 2 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> |
3 <link rel="import" href="chrome://resources/html/parse_html_subset.html"> | 3 <link rel="import" href="chrome://resources/html/parse_html_subset.html"> |
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/html/util.html"> | 5 <link rel="import" href="chrome://resources/html/util.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
9 | 9 |
10 <dom-module id="supervised-user-create-confirm"> | 10 <dom-module id="supervised-user-create-confirm"> |
11 <template> | 11 <template> |
12 <style include="shared-styles"> | 12 <style include="shared-styles"> |
13 :host { | 13 :host { |
14 align-self: center; | 14 align-self: center; |
15 } | 15 } |
16 | 16 |
17 #container { | 17 #container { |
18 color: var(--paper-grey-800); | 18 color: var(--main-text-color); |
19 line-height: 20px; | 19 line-height: 20px; |
20 width: 624px; | 20 width: var(--page-width); |
21 } | 21 } |
22 | 22 |
23 #title-area { | 23 #title-area { |
24 border-bottom: 1px solid rgba(0, 0, 0, .12); | 24 border-bottom: 1px solid rgba(0, 0, 0, .12); |
25 font-size: 16px; | 25 font-size: 16px; |
26 padding-bottom: 16px; | 26 padding-bottom: 16px; |
27 } | 27 } |
28 | 28 |
29 #title-area iron-icon { | 29 #title-area iron-icon { |
30 --iron-icon-height: 20px; | 30 --iron-icon-height: 20px; |
31 --iron-icon-width: 20px; | 31 --iron-icon-width: 20px; |
32 color: var(--google-grey-500); | 32 color: var(--title-icon-color); |
33 } | 33 } |
34 | 34 |
35 .content-area { | 35 .content-area { |
36 padding-top: 32px; | 36 padding-top: 32px; |
37 } | 37 } |
38 | 38 |
39 .content { | 39 .content { |
40 white-space: pre-wrap; | 40 white-space: pre-wrap; |
41 word-wrap: break-word; | 41 word-wrap: break-word; |
42 } | 42 } |
(...skipping 15 matching lines...) Expand all Loading... |
58 #actions { | 58 #actions { |
59 bottom: 16px; | 59 bottom: 16px; |
60 position: absolute; | 60 position: absolute; |
61 right: 16px; | 61 right: 16px; |
62 } | 62 } |
63 | 63 |
64 :host-context([dir='rtl']) #actions { | 64 :host-context([dir='rtl']) #actions { |
65 left: 16px; | 65 left: 16px; |
66 right: auto; | 66 right: auto; |
67 } | 67 } |
68 | |
69 #actions paper-button { | |
70 border-radius: 2px; | |
71 font-weight: 500; | |
72 line-height: 32px; | |
73 margin: 0; | |
74 min-width: 52px; | |
75 padding: 0 16px; | |
76 } | |
77 | |
78 #actions #ok { | |
79 color: var(--paper-grey-600); | |
80 } | |
81 | |
82 #actions #switchUser { | |
83 -webkit-margin-start: 8px; | |
84 background: var(--google-blue-500); | |
85 color: white; | |
86 } | |
87 </style> | 68 </style> |
88 <div id="container"> | 69 <div id="container"> |
89 <div id="title-area" class="horizontal justified layout"> | 70 <div id="title-area" class="horizontal justified layout"> |
90 <span id="title">[[titleText_(profileInfo)]]</span> | 71 <span id="title">[[titleText_(profileInfo)]]</span> |
91 <iron-icon icon="supervisor-account"></iron-icon> | 72 <iron-icon icon="supervisor-account"></iron-icon> |
92 </div> | 73 </div> |
93 <div class="content-area"> | 74 <div class="content-area"> |
94 <div class="content" inner-h-t-m-l="[[htmlMessage1_(profileInfo)]]"> | 75 <div class="content" inner-h-t-m-l="[[htmlMessage1_(profileInfo)]]"> |
95 </div> | 76 </div> |
96 <div id="childlock-button-example"> | 77 <div id="childlock-button-example"> |
97 <iron-icon icon="lock"></iron-icon> | 78 <iron-icon icon="lock"></iron-icon> |
98 <span i18n-content="exitAndChildlockLabel"></span> | 79 <span i18n-content="exitAndChildlockLabel"></span> |
99 </div> | 80 </div> |
100 <div class="content" inner-h-t-m-l="[[htmlMessage2_(profileInfo)]]"> | 81 <div class="content" inner-h-t-m-l="[[htmlMessage2_(profileInfo)]]"> |
101 </div> | 82 </div> |
102 </div> | 83 </div> |
103 <div id="actions"> | 84 <div id="actions"> |
104 <paper-button id="ok" on-tap="onOkTap_" | 85 <paper-button id="ok" class="action secondary" on-tap="onOkTap_" |
105 i18n-content="supervisedUserCreatedDone"> | 86 i18n-content="supervisedUserCreatedDone"> |
106 </paper-button> | 87 </paper-button> |
107 <paper-button id="switchUser" on-tap="onSwitchUserTap_"> | 88 <paper-button id="switchUser" class="action primary" |
| 89 on-tap="onSwitchUserTap_"> |
108 [[switchUserText_(profileInfo)]] | 90 [[switchUserText_(profileInfo)]] |
109 </paper-button> | 91 </paper-button> |
110 </div> | 92 </div> |
111 </div> | 93 </div> |
112 </template> | 94 </template> |
113 <script src="chrome://md-user-manager/supervised_user_create_confirm.js"></scr
ipt> | 95 <script src="chrome://md-user-manager/supervised_user_create_confirm.js"></scr
ipt> |
114 </dom-module> | 96 </dom-module> |
OLD | NEW |