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