Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> |
| 4 <link rel="import" href="/icons.html"> | |
| 4 <link rel="import" href="/settings_shared_css.html"> | 5 <link rel="import" href="/settings_shared_css.html"> |
| 5 <link rel="import" href="/site_settings/site_data_details_dialog.html"> | 6 <link rel="import" href="/site_settings/site_data_details_dialog.html"> |
| 6 <link rel="import" href="/site_settings/site_settings_behavior.html"> | 7 <link rel="import" href="/site_settings/site_settings_behavior.html"> |
| 7 | 8 |
| 8 <dom-module id="site-data"> | 9 <dom-module id="site-data"> |
| 9 <template> | 10 <template> |
| 10 <style include="settings-shared"> | 11 <style include="settings-shared"> |
| 11 :host { | 12 :host { |
| 12 display: block; | 13 display: block; |
| 13 margin-top: 18px; | 14 margin-top: 18px; |
| 14 width: 100%; | 15 width: 100%; |
| 15 } | 16 } |
| 16 | 17 |
| 17 .list-frame { | 18 .list-frame { |
| 19 -webkit-margin-end: -29px; | |
|
dschuyler
2016/08/18 00:44:03
Just curious: what is this fixing (or helping with
Finnur
2016/08/18 16:20:30
Aligning the new trashcan so that it is under the
| |
| 18 -webkit-padding-start: 36px; | 20 -webkit-padding-start: 36px; |
| 19 margin-top: 10px; | 21 margin-top: 10px; |
| 20 } | 22 } |
| 21 | 23 |
| 24 .site-header { | |
| 25 margin-top: 10px; | |
| 26 } | |
| 27 | |
| 22 .site { | 28 .site { |
| 23 margin-top: 3px; | 29 margin-top: 3px; |
| 24 } | 30 } |
| 25 </style> | 31 </style> |
| 26 <div>$i18n{siteSettingsCookieHeader}</div> | 32 <div class="layout horizontal"> |
| 33 <div class="flex site-header">$i18n{siteSettingsCookieHeader}</div> | |
| 34 <div class="secondary-action" hidden$="[[!removeAllIsVisible_(sites)]]"> | |
| 35 <paper-button on-tap="onDeleteAllSites_" class="secondary-button"> | |
| 36 $i18n{siteSettingsCookieRemoveAll} | |
| 37 </paper-button> | |
| 38 </div> | |
| 39 </div> | |
| 40 | |
| 27 <div class="list-frame vertical-list"> | 41 <div class="list-frame vertical-list"> |
| 28 <template is="dom-repeat" items="[[sites]]"> | 42 <template is="dom-repeat" items="[[sites]]"> |
| 29 <div class="list-item" on-tap="onSiteTap_" actionable> | 43 <div class="list-item"> |
| 30 <div class="favicon-image" style$="[[computeSiteIcon(item.site)]]" | 44 <div class="favicon-image" style$="[[computeSiteIcon(item.site)]]" |
|
dschuyler
2016/08/18 00:44:03
The whole row area (other than the delete
button a
Finnur
2016/08/18 16:20:30
Done.
| |
| 31 on-tap="onOriginTap_"></div> | 45 on-tap="onSiteTap_" actionable></div> |
| 32 <div class="middle layout horizontal"> | 46 <div class="middle layout horizontal" on-tap="onSiteTap_" actionable> |
| 33 <div class="site flex">[[item.site]]</div> | 47 <div class="site flex">[[item.site]]</div> |
| 34 <div class="secondary">[[item.localData]]</div> | 48 <div class="secondary">[[item.localData]]</div> |
| 35 </div> | 49 </div> |
| 50 <div> | |
| 51 <paper-icon-button on-tap="onDeleteSite_" | |
| 52 icon="settings:delete"></paper-icon-button> | |
| 53 </div> | |
| 36 </div> | 54 </div> |
| 37 </template> | 55 </template> |
| 38 </div> | 56 </div> |
| 39 | 57 |
| 40 </template> | 58 </template> |
| 41 <script src="cookie_info.js"></script> | 59 <script src="cookie_info.js"></script> |
| 42 <script src="cookie_tree_node.js"></script> | 60 <script src="cookie_tree_node.js"></script> |
| 43 <script src="site_data.js"></script> | 61 <script src="site_data.js"></script> |
| 44 </dom-module> | 62 </dom-module> |
| OLD | NEW |