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

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.css

Issue 2214633002: Use checkerboard pattern as the background of Quick View images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.css
diff --git a/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.css b/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.css
index c939cf69e3f9ee9526e2559b9e49f4e2966df356..a1c91e75221937edbf9e4100f1ee763e4cb83f14 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.css
+++ b/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.css
@@ -3,7 +3,6 @@
* found in the LICENSE file. */
#content {
- background-color: transparent;
bottom: 0;
left: 0;
margin: auto;
@@ -15,6 +14,17 @@
top: 0;
}
+img {
+ background-color: white;
+ background-image:
+ linear-gradient(45deg, #efefef 25%, transparent 25%, transparent 75%,
+ #efefef 75%, #efefef),
+ linear-gradient(45deg, #efefef 25%, transparent 25%, transparent 75%,
+ #efefef 75%, #efefef);
+ background-position: 0 0, 10px 10px;
+ background-size: 21px 21px;
+}
+
#content[hidden] {
display: none;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698