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

Unified Diff: chrome/browser/resources/md_downloads/toolbar.css

Issue 1271643002: MD downloads: implement (x) inside of search input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/toolbar.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/toolbar.css
diff --git a/chrome/browser/resources/md_downloads/toolbar.css b/chrome/browser/resources/md_downloads/toolbar.css
index bb8ddfbd3dbfa36e496f46caa7898573ab4dc8b0..c73c58566787d24c2ce8aa173d676f934be50c3e 100644
--- a/chrome/browser/resources/md_downloads/toolbar.css
+++ b/chrome/browser/resources/md_downloads/toolbar.css
@@ -41,13 +41,40 @@
--paper-input-container-color: rgba(255, 255, 255, .5);
--paper-input-container-focus-color: white;
--paper-input-container-input: {
+ font-family: inherit;
tommycli 2015/08/03 18:41:03 Does it not work without this? I thought font-fami
Dan Beam 2015/08/03 18:48:26 it's not for all things (e.g. <button> doesn't) as
font-size: 14px;
};
--paper-input-container-input-color: white;
--paper-input-container-label: {
+ font-family: inherit;
font-size: 14px;
};
-webkit-margin-end: 8px;
+ z-index: 0;
+}
+
+#search-term input[type='search']::-webkit-search-cancel-button,
+#search-term input[type='search']::-webkit-search-results-button {
+ -webkit-appearance: none;
+}
+
+#search-term paper-icon-button {
+ --iron-icon-height: 16px;
+ --iron-icon-width: 16px;
+ --paper-icon-button: {
+ height: 16px;
+ padding: 6px;
+ width: 16px;
+ };
+ position: absolute;
+ right: 0;
+ top: -4px;
+ z-index: 1;
+}
+
+:host-context([dir='rtl']) #search-term paper-icon-button {
+ left: 0;
+ right: auto;
}
paper-menu-button {
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698