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

Side by Side Diff: chrome/browser/resources/md_user_manager/control_bar.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: 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/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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698