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

Side by Side Diff: chrome/browser/resources/settings/people_page/user_list.html

Issue 2848973003: MD Settings: convert paper-icon-button to paper-icon-button-light. (Closed)
Patch Set: move unrelated fix to another CL Created 3 years, 6 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://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 2
3 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> 3 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
4 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 4 <link rel="import" href="chrome://resources/cr_elements/icons.html">
5 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 5 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="../route.html"> 8 <link rel="import" href="../route.html">
9 <link rel="import" href="../settings_shared_css.html"> 9 <link rel="import" href="../settings_shared_css.html">
10 10
11 <dom-module id="settings-user-list"> 11 <dom-module id="settings-user-list">
12 <template> 12 <template>
13 <style include="settings-shared iron-flex"> 13 <style include="settings-shared iron-flex">
14 .user-list { 14 .user-list {
15 /* 4 users (the extra 1px is to account for the border-bottom) */ 15 /* 4 users (the extra 1px is to account for the border-bottom) */
16 max-height: calc(4 * (var(--settings-row-two-line-min-height) + 1px)); 16 max-height: calc(4 * (var(--settings-row-two-line-min-height) + 1px));
17 overflow-y: auto; 17 overflow-y: auto;
(...skipping 20 matching lines...) Expand all
38 <div class="user-list" scrollable> 38 <div class="user-list" scrollable>
39 <template is="dom-repeat" items="[[users_]]"> 39 <template is="dom-repeat" items="[[users_]]">
40 <div class="user layout horizontal center two-line"> 40 <div class="user layout horizontal center two-line">
41 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]"> 41 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]">
42 <div class="flex user-info"> 42 <div class="flex user-info">
43 <div>[[getUserName_(item)]]</div> 43 <div>[[getUserName_(item)]]</div>
44 <template is="dom-if" if="[[shouldShowEmail_(item)]]"> 44 <template is="dom-if" if="[[shouldShowEmail_(item)]]">
45 <div class="secondary">[[item.displayEmail]]</div> 45 <div class="secondary">[[item.displayEmail]]</div>
46 </template> 46 </template>
47 </div> 47 </div>
48 <paper-icon-button icon="cr:clear" class="clear-icon" 48 <button is="paper-icon-button-light" class="icon-clear"
49 on-tap="removeUser_" 49 on-tap="removeUser_"
50 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> 50 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]">
51 </paper-icon-button> 51 </button>
52 </div> 52 </div>
53 </template> 53 </template>
54 </div> 54 </div>
55 </template> 55 </template>
56 <script src="user_list.js"></script> 56 <script src="user_list.js"></script>
57 </dom-module> 57 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698