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

Unified Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 1409473002: MD Downloads: replace <paper-icon-button> with <inky-text-button> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iron-list3
Patch Set: merge Created 5 years, 2 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: chrome/browser/resources/md_downloads/vulcanized.html
diff --git a/chrome/browser/resources/md_downloads/vulcanized.html b/chrome/browser/resources/md_downloads/vulcanized.html
index fff21ea832b0d43abbd44e8b1908a97fc680e57f..e2221d99e152f68ae78c9af2cb980473811d08c0 100644
--- a/chrome/browser/resources/md_downloads/vulcanized.html
+++ b/chrome/browser/resources/md_downloads/vulcanized.html
@@ -2488,7 +2488,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</div>
<div id="remove-wrapper" class="icon-wrapper">
- <paper-icon-button id="remove" icon="clear" i18n-values="title:controlRemoveFromList" style$="[[computeRemoveStyle_(isDangerous_, showCancel_)]]" on-tap="onRemoveTap_"></paper-icon-button>
+ <div id="remove" tabindex="0" i18n-values="title:controlRemoveFromList" style$="[[computeRemoveStyle_(isDangerous_, showCancel_)]]" on-focus="activateRipple_" on-blur="deactivateRipple_" on-tap="onRemoveTap_">✕</div>
</div>
<div id="incognito" i18n-values="title:inIncognito" hidden="[[!data.otr]]"></div>
@@ -2732,14 +2732,16 @@ paper-button {
}
#remove {
- --iron-icon-height: 16px;
- --iron-icon-width: 16px;
- --layout-inline: {
- /* HACK(dbeam): we probably shouldn't be overriding Polymer like this. */
- };
+ -webkit-user-select: none;
color: #969696;
+ cursor: pointer;
+ font-size: 16px;
height: 16px;
+ line-height: 16px;
+ outline: none;
padding: 8px;
+ position: relative;
+ text-align: center;
width: 16px;
}

Powered by Google App Engine
This is Rietveld 408576698