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

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

Issue 1287053004: MD downloads: implement real incognito marker courtesy of bettes@ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@crbug-520709
Patch Set: shuffle Created 5 years, 4 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/item.css
diff --git a/chrome/browser/resources/md_downloads/item.css b/chrome/browser/resources/md_downloads/item.css
index f5c8ea4bbbc943359ff25990126f69fcd3f69f86..d5353526b1f267874fd9c0c63fb1f49e51a10c9f 100644
--- a/chrome/browser/resources/md_downloads/item.css
+++ b/chrome/browser/resources/md_downloads/item.css
@@ -138,14 +138,6 @@
border-radius: 2px;
}
-#incognito {
- -webkit-margin-end: 0;
- -webkit-margin-start: 16px;
- /* This image is 128x128 so it'll work fine in 2x. */
- content: url(../../../../ui/webui/resources/images/incognito_icon.png);
- width: 48px;
-}
-
#remove-wrapper {
align-self: flex-start;
margin: 0;
@@ -160,6 +152,14 @@
--iron-icon-width: 16px;
}
+#incognito {
+ bottom: 16px;
+ content: -webkit-image-set(url(1x/incognito_marker.png) 1x,
+ url(2x/incognito_marker.png) 2x);
+ position: absolute;
+ right: 10px;
+}
+
@media not all and (max-width: 1024px) {
/* Only show date separators in wide mode. */
:host(:not(:first-of-type):not([hide-date])) :-webkit-any(#content-wrapper,
« no previous file with comments | « chrome/browser/resources/md_downloads/2x/incognito_marker.png ('k') | chrome/browser/resources/md_downloads/item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698