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

Unified Diff: elements/viewer-error-screen/viewer-error-screen.css

Issue 159363003: Add viewer-error-screen element to html-office-public (Closed) Base URL: https://chromium.googlesource.com/chromium/html-office-public.git@master
Patch Set: \ Created 6 years, 10 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 | elements/viewer-error-screen/viewer-error-screen.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: elements/viewer-error-screen/viewer-error-screen.css
diff --git a/elements/viewer-error-screen/viewer-error-screen.css b/elements/viewer-error-screen/viewer-error-screen.css
new file mode 100644
index 0000000000000000000000000000000000000000..9c7c7c8267663e13051c9d04587027925dd41ce5
--- /dev/null
+++ b/elements/viewer-error-screen/viewer-error-screen.css
@@ -0,0 +1,18 @@
+:host {
+ background-color: #ccc;
+ color: #555;
+ font-family: sans-serif;
+ font-size: 20px;
+ height: 100%;
+ pointer-events: none;
+ position: fixed;
+ text-align: center;
+ width: 100%;
+}
+
+#load-failed-message {
+ line-height: 0;
+ position: absolute;
+ top: 50%;
+ width: 100%;
+}
« no previous file with comments | « no previous file | elements/viewer-error-screen/viewer-error-screen.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698