OLD | NEW |
1 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> | 1 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
6 | 6 |
7 <dom-module id="supervised-user-learn-more"> | 7 <dom-module id="supervised-user-learn-more"> |
8 <link rel="import" type="css" | |
9 href="chrome://md-user-manager/supervised_user_learn_more.css"> | |
10 <template> | 8 <template> |
11 <style include="shared-styles"></style> | 9 <style include="shared-styles"> |
| 10 :host { |
| 11 align-self: center; |
| 12 } |
| 13 |
| 14 #container { |
| 15 color: var(--paper-grey-800); |
| 16 line-height: 20px; |
| 17 width: 624px; |
| 18 } |
| 19 |
| 20 #title-area { |
| 21 border-bottom: 1px solid rgba(0, 0, 0, .12); |
| 22 font-size: 16px; |
| 23 padding-bottom: 16px; |
| 24 } |
| 25 |
| 26 #title-area iron-icon { |
| 27 --iron-icon-height: 20px; |
| 28 --iron-icon-width: 20px; |
| 29 color: var(--google-grey-500); |
| 30 } |
| 31 |
| 32 .content-area { |
| 33 padding-top: 32px; |
| 34 white-space: pre-wrap; |
| 35 word-wrap: break-word; |
| 36 } |
| 37 |
| 38 #actions { |
| 39 bottom: 16px; |
| 40 position: absolute; |
| 41 right: 16px; |
| 42 } |
| 43 |
| 44 :host-context([dir='rtl']) #actions { |
| 45 left: 16px; |
| 46 right: auto; |
| 47 } |
| 48 |
| 49 #actions paper-button { |
| 50 border-radius: 2px; |
| 51 font-weight: 500; |
| 52 line-height: 32px; |
| 53 margin: 0; |
| 54 min-width: 52px; |
| 55 padding: 0 16px; |
| 56 } |
| 57 |
| 58 #actions #done { |
| 59 background: var(--google-blue-500); |
| 60 color: white; |
| 61 } |
| 62 </style> |
12 <div id="container"> | 63 <div id="container"> |
13 <div id="title-area" class="horizontal justified layout"> | 64 <div id="title-area" class="horizontal justified layout"> |
14 <span id="title" i18n-content="supervisedUserLearnMoreTitle"></span> | 65 <span id="title" i18n-content="supervisedUserLearnMoreTitle"></span> |
15 <iron-icon icon="supervisor-account"></iron-icon> | 66 <iron-icon icon="supervisor-account"></iron-icon> |
16 </div> | 67 </div> |
17 <div class="content-area" | 68 <div class="content-area" |
18 i18n-values=".innerHTML:supervisedUserLearnMoreText"> | 69 i18n-values=".innerHTML:supervisedUserLearnMoreText"> |
19 </div> | 70 </div> |
20 <div id="actions"> | 71 <div id="actions"> |
21 <paper-button id="done" on-tap="onDoneTap_" | 72 <paper-button id="done" on-tap="onDoneTap_" |
22 i18n-content="supervisedUserLearnMoreDone"> | 73 i18n-content="supervisedUserLearnMoreDone"> |
23 </paper-button> | 74 </paper-button> |
24 </div> | 75 </div> |
25 </div> | 76 </div> |
26 </template> | 77 </template> |
27 <script src="chrome://md-user-manager/supervised_user_learn_more.js"></script> | 78 <script src="chrome://md-user-manager/supervised_user_learn_more.js"></script> |
28 </dom-module> | 79 </dom-module> |
OLD | NEW |