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/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
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="control-bar"> | 7 <dom-module id="control-bar"> |
8 <template> | 8 <template> |
9 <style include="shared-styles"> | 9 <style include="shared-styles"> |
10 #container { | 10 #container { |
11 padding-bottom: 12px; | 11 min-height: 32px; |
12 padding-top: 12px; | 12 padding: 12px 8px; |
13 } | |
14 | |
15 paper-button { | |
16 border-radius: 2px; | |
17 color: var(--paper-grey-600); | |
18 font-weight: 500; | |
19 line-height: 32px; | |
20 margin: 0; | |
21 min-width: 52px; | |
22 padding: 0 16px; | |
23 } | |
24 | |
25 #addUser { | |
26 margin: 0 8px; | |
27 } | 13 } |
28 | 14 |
29 #logo { | 15 #logo { |
30 content: -webkit-image-set( | 16 content: -webkit-image-set( |
31 url(../../../app/theme/default_100_percent/%DISTRIBUTION%/product_lo
go_name_48.png) 1x, | 17 url(../../../app/theme/default_100_percent/%DISTRIBUTION%/product_lo
go_name_48.png) 1x, |
32 url(../../../app/theme/default_200_percent/%DISTRIBUTION%/product_lo
go_name_48.png) 2x); | 18 url(../../../app/theme/default_200_percent/%DISTRIBUTION%/product_lo
go_name_48.png) 2x); |
33 height: 18px; | 19 height: 18px; |
34 left: 24px; | 20 left: 24px; |
35 position: absolute; | 21 position: absolute; |
36 top: 19px; | 22 top: 19px; |
37 } | 23 } |
38 | 24 |
39 :host-context([dir='rtl']) #logo { | 25 :host-context([dir='rtl']) #logo { |
40 left: auto; | 26 left: auto; |
41 right: 24px; | 27 right: 24px; |
42 } | 28 } |
43 </style> | 29 </style> |
44 <div id="container" class="layout horizontal end-justified"> | 30 <div id="container" class="layout horizontal end-justified"> |
45 <div id="logo"></div> | 31 <div id="logo"></div> |
46 <paper-button id="launchGuest" on-tap="onLaunchGuestTap_" | 32 <paper-button id="launchGuest" class="action secondary" |
| 33 on-tap="onLaunchGuestTap_" |
47 i18n-content="browseAsGuest" hidden="[[!showGuest]]"></paper-button> | 34 i18n-content="browseAsGuest" hidden="[[!showGuest]]"></paper-button> |
48 <paper-button id="addUser" on-tap="onAddUserTap_" | 35 <paper-button id="addUser" class="action secondary" on-tap="onAddUserTap_" |
49 i18n-content="addUser" hidden="[[!showAddPerson]]"></paper-button> | 36 i18n-content="addUser" hidden="[[!showAddPerson]]"></paper-button> |
50 </div> | 37 </div> |
51 </template> | 38 </template> |
52 <script src="chrome://md-user-manager/control_bar.js"></script> | 39 <script src="chrome://md-user-manager/control_bar.js"></script> |
53 </dom-module> | 40 </dom-module> |
OLD | NEW |