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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2875733002: MD-Settings: Convert users of cr:cancel to paper-icon-button-light. (Closed)
Patch Set: rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index a724541cae5adcaa779b10308fe621f2bad501b8..34446eebf104a729db91aa819c659a1b4460c809 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -1,12 +1,14 @@
<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spinner-lite.html">
<link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_search_field_behavior.html">
<link rel="import" href="chrome://resources/cr_elements/icons.html">
+<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spinner-lite.html">
<dom-module id="cr-toolbar-search-field">
<template>
- <style>
+ <style include="cr-shared-style">
:host {
align-items: center;
display: flex;
@@ -20,6 +22,7 @@
display: none !important;
}
+ button[is='paper-icon-button-light'],
paper-icon-button {
height: 32px;
margin: 6px;
@@ -150,9 +153,9 @@
</input>
</div>
<template is="dom-if" if="[[hasSearchText]]">
- <paper-icon-button icon="cr:cancel" id="clearSearch"
- title="[[clearLabel]]" on-tap="clearSearch_">
- </paper-icon-button>
+ <button is="paper-icon-button-light" class="icon-cancel-toolbar"
+ id="clearSearch" title="[[clearLabel]]" on-tap="clearSearch_">
+ </button>
</template>
</template>
<script src="cr_toolbar_search_field.js"></script>

Powered by Google App Engine
This is Rietveld 408576698