Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1926)

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_subpage_search.html

Issue 2092763004: [MD Settings] Implement search in material design passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback and Rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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">
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">
5
6 <dom-module id="settings-subpage-search">
7 <template>
8 <style>
9 paper-input-container {
10 width: var(--paper-input-max-width);
11 }
12
13 input[type='search']::-webkit-search-cancel-button {
14 -webkit-appearance: none;
15 }
16
17 #prompt,
18 #searchInput {
19 color: var(--google-grey-500);
20 font-size: 13px;
21 line-height: 36px;
22 }
23
24 #clearSearch {
25 -webkit-margin-end: -8px;
26 -webkit-margin-start: 8px;
27 }
28
29 :root {
30 --paper-icon-button {
31 height: 36px;
32 width: 36px;
33 }
34
35 --paper-input-suffix: {
36 /* Required to align the icon in |clearSearch| vertically. */
37 line-height: 0;
38 }
39 }
40 </style>
41 <paper-input-container no-label-float on-search="onSearchTermSearch">
42 <label id="prompt">[[label]]</label>
43 <input is="iron-input" id="searchInput" type="search"
44 aria-labelledby="prompt" incremental>
45 </input>
46 <paper-icon-button suffix icon="cr:cancel" id="clearSearch"
47 on-tap="onTapClear_" title="[[clearLabel]]"
48 hidden$="[[!hasSearchTerm_(lastValue_)]]">
49 </paper-icon-button>
50 </paper-input-container>
51 </template>
52 <script src="settings_subpage_search.js"></script>
53 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698