| 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/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner-lite.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner-lite.html"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 6 | 6 |
| 7 <dom-module id="cr-toolbar-search-field"> | 7 <dom-module id="cr-toolbar-search-field"> |
| 8 <template> | 8 <template> |
| 9 <style> | 9 <style> |
| 10 :host { | 10 :host { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 paper-icon-button { | 23 paper-icon-button { |
| 24 height: 32px; | 24 height: 32px; |
| 25 margin: 6px; | 25 margin: 6px; |
| 26 min-width: 32px; | 26 min-width: 32px; |
| 27 padding: 6px; | 27 padding: 6px; |
| 28 width: 32px; | 28 width: 32px; |
| 29 } | 29 } |
| 30 | 30 |
| 31 #icon { | 31 #icon { |
| 32 --paper-icon-button-ink-color: white; | |
| 33 transition: margin 150ms, opacity 200ms; | 32 transition: margin 150ms, opacity 200ms; |
| 34 } | 33 } |
| 35 | 34 |
| 36 #prompt { | 35 #prompt { |
| 37 opacity: 0; | 36 opacity: 0; |
| 38 } | 37 } |
| 39 | 38 |
| 40 paper-spinner-lite { | 39 paper-spinner-lite { |
| 41 @apply(--cr-icon-height-width); | 40 @apply(--cr-icon-height-width); |
| 42 --paper-spinner-color: white; | 41 --paper-spinner-color: white; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 </input> | 150 </input> |
| 152 </div> | 151 </div> |
| 153 <template is="dom-if" if="[[hasSearchText]]"> | 152 <template is="dom-if" if="[[hasSearchText]]"> |
| 154 <paper-icon-button icon="cr:cancel" id="clearSearch" | 153 <paper-icon-button icon="cr:cancel" id="clearSearch" |
| 155 title="[[clearLabel]]" on-tap="clearSearch_"> | 154 title="[[clearLabel]]" on-tap="clearSearch_"> |
| 156 </paper-icon-button> | 155 </paper-icon-button> |
| 157 </template> | 156 </template> |
| 158 </template> | 157 </template> |
| 159 <script src="cr_toolbar_search_field.js"></script> | 158 <script src="cr_toolbar_search_field.js"></script> |
| 160 </dom-module> | 159 </dom-module> |
| OLD | NEW |