OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.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/iron-f
lex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout-classes.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
6 <link rel="import" href="../route.html"> | 6 <link rel="import" href="../route.html"> |
7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
8 | 8 |
9 <dom-module id="settings-user-list"> | 9 <dom-module id="settings-user-list"> |
10 <template> | 10 <template> |
11 <style include="settings-shared"> | 11 <style include="settings-shared iron-flex"> |
12 .user-list { | 12 .user-list { |
13 /* 4 users (the extra 1px is to account for the border-bottom) */ | 13 /* 4 users (the extra 1px is to account for the border-bottom) */ |
14 max-height: calc(4 * (var(--settings-row-two-line-min-height) + 1px)); | 14 max-height: calc(4 * (var(--settings-row-two-line-min-height) + 1px)); |
15 overflow-y: auto; | 15 overflow-y: auto; |
16 } | 16 } |
17 | 17 |
18 .user { | 18 .user { |
19 border-bottom: var(--settings-separator-line); | 19 border-bottom: var(--settings-separator-line); |
20 } | 20 } |
21 | 21 |
(...skipping 22 matching lines...) Expand all Loading... |
44 <paper-icon-button icon="cr:clear" class="clear-icon" | 44 <paper-icon-button icon="cr:clear" class="clear-icon" |
45 on-tap="removeUser_" | 45 on-tap="removeUser_" |
46 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> | 46 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> |
47 </paper-icon-button> | 47 </paper-icon-button> |
48 </div> | 48 </div> |
49 </template> | 49 </template> |
50 </div> | 50 </div> |
51 </template> | 51 </template> |
52 <script src="user_list.js"></script> | 52 <script src="user_list.js"></script> |
53 </dom-module> | 53 </dom-module> |
OLD | NEW |