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

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

Issue 1916913010: MD User Manager: latest design change, css refactoring, accessiblity, and bug fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-stylesheets
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 align-items: center;
12 padding-top: 12px; 12 display: flex;
13 } 13 min-height: 32px;
14 14 padding: 12px 8px 12px 24px;
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 } 15 }
28 16
29 #logo { 17 #logo {
18 -webkit-margin-end: auto;
30 content: -webkit-image-set( 19 content: -webkit-image-set(
31 url(../../../app/theme/default_100_percent/%DISTRIBUTION%/product_lo go_name_48.png) 1x, 20 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); 21 url(../../../app/theme/default_200_percent/%DISTRIBUTION%/product_lo go_name_48.png) 2x);
33 height: 18px; 22 height: 18px;
34 left: 24px;
35 position: absolute;
36 top: 19px;
37 }
38
39 :host-context([dir='rtl']) #logo {
40 left: auto;
41 right: 24px;
42 } 23 }
43 </style> 24 </style>
44 <div id="container" class="layout horizontal end-justified"> 25 <div id="container" class="layout horizontal end-justified">
45 <div id="logo"></div> 26 <div id="logo"></div>
46 <paper-button id="launchGuest" on-tap="onLaunchGuestTap_" 27 <paper-button id="launchGuest" class="action secondary"
47 i18n-content="browseAsGuest" hidden="[[!showGuest]]"></paper-button> 28 on-tap="onLaunchGuestTap_" hidden="[[!showGuest]]">
48 <paper-button id="addUser" on-tap="onAddUserTap_" 29 $i18n{browseAsGuest}
49 i18n-content="addUser" hidden="[[!showAddPerson]]"></paper-button> 30 </paper-button>
31 <paper-button id="addUser" class="action secondary"
32 on-tap="onAddUserTap_" hidden="[[!showAddPerson]]">
33 $i18n{addUser}
34 </paper-button>
50 </div> 35 </div>
51 </template> 36 </template>
52 <script src="chrome://md-user-manager/control_bar.js"></script> 37 <script src="chrome://md-user-manager/control_bar.js"></script>
53 </dom-module> 38 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/md_user_manager/create_profile.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698