OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.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="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
5 | 5 |
6 <dom-module id="settings-subpage-search"> | 6 <dom-module id="settings-subpage-search"> |
7 <template> | 7 <template> |
8 <style> | 8 <style> |
9 paper-input-container { | 9 paper-input-container { |
10 width: var(--paper-input-max-width); | 10 width: var(--paper-input-max-width); |
11 } | 11 } |
12 | 12 |
13 input[type='search']::-webkit-search-cancel-button { | 13 input[type='search']::-webkit-search-cancel-button { |
14 -webkit-appearance: none; | 14 -webkit-appearance: none; |
15 } | 15 } |
16 | 16 |
17 #prompt, | 17 #prompt, |
18 #searchInput { | 18 #searchInput { |
19 font-size: 13px; | 19 font-size: inherit; |
20 line-height: 36px; | 20 line-height: 36px; |
21 } | 21 } |
22 | 22 |
23 #prompt { | 23 #prompt { |
24 color: var(--google-grey-500); | 24 color: var(--google-grey-500); |
25 } | 25 } |
26 | 26 |
27 #searchInput { | 27 #searchInput { |
28 color: var(--paper-grey-800); | 28 color: var(--paper-grey-800); |
29 } | 29 } |
(...skipping 20 matching lines...) Expand all Loading... |
50 <input is="iron-input" id="searchInput" type="search" | 50 <input is="iron-input" id="searchInput" type="search" |
51 aria-labelledby="prompt" incremental> | 51 aria-labelledby="prompt" incremental> |
52 </input> | 52 </input> |
53 <paper-icon-button suffix icon="cr:cancel" id="clearSearch" | 53 <paper-icon-button suffix icon="cr:cancel" id="clearSearch" |
54 on-tap="onTapClear_" title="[[clearLabel]]" hidden$="[[!lastValue_]]"> | 54 on-tap="onTapClear_" title="[[clearLabel]]" hidden$="[[!lastValue_]]"> |
55 </paper-icon-button> | 55 </paper-icon-button> |
56 </paper-input-container> | 56 </paper-input-container> |
57 </template> | 57 </template> |
58 <script src="settings_subpage_search.js"></script> | 58 <script src="settings_subpage_search.js"></script> |
59 </dom-module> | 59 </dom-module> |
OLD | NEW |