OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html"> |
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.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-classes.html"> |
4 <link rel="import" href="internet_shared_css.html"> | 5 <link rel="import" href="internet_shared_css.html"> |
5 | 6 |
6 <dom-module id="network-proxy-exclusions"> | 7 <dom-module id="network-proxy-exclusions"> |
7 <template> | 8 <template> |
8 <style include="internet-shared cr-hidden-style"> | 9 <style include="internet-shared cr-hidden-style iron-flex"> |
9 iron-icon { | 10 iron-icon { |
10 @apply(--settings-actionable); | 11 @apply(--settings-actionable); |
11 margin: 5px; | 12 margin: 5px; |
12 } | 13 } |
13 | 14 |
14 #container { | 15 #container { |
15 align-self: stretch; | 16 align-self: stretch; |
16 border: 1px solid lightgrey; | 17 border: 1px solid lightgrey; |
17 height: 100px; | 18 height: 100px; |
18 margin-top: 10px; | 19 margin-top: 10px; |
19 overflow-y: auto; | 20 overflow-y: auto; |
20 padding: 5px; | 21 padding: 5px; |
21 } | 22 } |
22 </style> | 23 </style> |
23 <div id="container"> | 24 <div id="container"> |
24 <template is="dom-repeat" items="[[exclusions]]"> | 25 <template is="dom-repeat" items="[[exclusions]]"> |
25 <div class="layout horizontal center" tabindex="0" > | 26 <div class="layout horizontal center" tabindex="0" > |
26 <div class="flex">[[item]]</div> | 27 <div class="flex">[[item]]</div> |
27 <iron-icon class="favicon-image" icon="cr:clear" | 28 <iron-icon class="favicon-image" icon="cr:clear" |
28 on-tap="onRemoveTap_" tabindex="0" hidden="[[!editable]]"> | 29 on-tap="onRemoveTap_" tabindex="0" hidden="[[!editable]]"> |
29 </iron-icon> | 30 </iron-icon> |
30 </div> | 31 </div> |
31 </template> | 32 </template> |
32 </div> | 33 </div> |
33 </template> | 34 </template> |
34 <script src="network_proxy_exclusions.js"></script> | 35 <script src="network_proxy_exclusions.js"></script> |
35 </dom-module> | 36 </dom-module> |
OLD | NEW |