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

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

Issue 1940923003: MD User Manager: Refactoring CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-design-change
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
OLDNEW
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 <template> 8 <template>
9 <style include="shared-styles"> 9 <style include="shared-styles">
10 :host { 10 :host {
11 align-self: center; 11 align-self: center;
12 } 12 }
13 13
14 #container { 14 #container {
15 color: var(--paper-grey-800); 15 color: var(--main-text-color);
16 line-height: 20px; 16 line-height: 20px;
17 width: 624px; 17 width: var(--page-width);
18 } 18 }
19 19
20 #title-area { 20 #title-area {
21 border-bottom: 1px solid rgba(0, 0, 0, .12); 21 border-bottom: 1px solid rgba(0, 0, 0, .12);
22 font-size: 16px; 22 font-size: 16px;
23 padding-bottom: 16px; 23 padding-bottom: 16px;
24 } 24 }
25 25
26 #title-area iron-icon { 26 #title-area iron-icon {
27 --iron-icon-height: 20px; 27 --iron-icon-height: 20px;
28 --iron-icon-width: 20px; 28 --iron-icon-width: 20px;
29 color: var(--google-grey-500); 29 color: var(--title-icon-color);
30 } 30 }
31 31
32 .content-area { 32 .content-area {
33 padding-top: 32px; 33 padding-top: 32px;
34 white-space: pre-wrap; 34 white-space: pre-wrap;
35 word-wrap: break-word; 35 word-wrap: break-word;
36 } 36 }
37 37
38 #actions { 38 #actions {
39 bottom: 16px; 39 bottom: 16px;
40 position: absolute; 40 position: absolute;
41 right: 16px; 41 right: 16px;
42 } 42 }
43 43
44 :host-context([dir='rtl']) #actions { 44 :host-context([dir='rtl']) #actions {
45 left: 16px; 45 left: 16px;
46 right: auto; 46 right: auto;
47 } 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> 48 </style>
63 <div id="container"> 49 <div id="container">
64 <div id="title-area" class="horizontal justified layout"> 50 <div id="title-area" class="horizontal justified layout">
65 <span id="title" i18n-content="supervisedUserLearnMoreTitle"></span> 51 <span id="title" i18n-content="supervisedUserLearnMoreTitle"></span>
66 <iron-icon icon="supervisor-account"></iron-icon> 52 <iron-icon icon="supervisor-account"></iron-icon>
67 </div> 53 </div>
68 <div class="content-area" 54 <div class="content-area"
69 i18n-values=".innerHTML:supervisedUserLearnMoreText"> 55 i18n-values=".innerHTML:supervisedUserLearnMoreText">
70 </div> 56 </div>
71 <div id="actions"> 57 <div id="actions">
72 <paper-button id="done" on-tap="onDoneTap_" 58 <paper-button id="done" class="action primary" on-tap="onDoneTap_"
73 i18n-content="supervisedUserLearnMoreDone"> 59 i18n-content="supervisedUserLearnMoreDone">
74 </paper-button> 60 </paper-button>
75 </div> 61 </div>
76 </div> 62 </div>
77 </template> 63 </template>
78 <script src="chrome://md-user-manager/supervised_user_learn_more.js"></script> 64 <script src="chrome://md-user-manager/supervised_user_learn_more.js"></script>
79 </dom-module> 65 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698