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

Unified Diff: chrome/browser/resources/print_preview/print_preview.css

Issue 8872051: Print preview: Display a dummy page when a user visits chrome://print directly. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/print_preview/print_preview.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/print_preview.css
===================================================================
--- chrome/browser/resources/print_preview/print_preview.css (revision 114056)
+++ chrome/browser/resources/print_preview/print_preview.css (working copy)
@@ -420,3 +420,43 @@
.button-strip button {
display: block;
}
+
+#dummy-box {
+ -webkit-box-align: stretch;
+ -webkit-box-flex: 1;
+ -webkit-box-orient: vertical;
+ background: #ccc;
+ display: -webkit-box;
+ height: 100%;
+ margin: 0;
+ min-height: 100%;
+ min-width: 100%;
+ position: absolute;
+ width: 100%;
+}
+
+#dummy-page {
+ -webkit-box-flex: 1;
+ background: white;
+ box-shadow: 0 0 8px rgba(0, 0, 0, .4);
+ height: auto;
+ margin: 10px;
+}
+
+#dummy-article {
+ line-height: 1.5;
+ margin-top: -10px;
+ position: absolute;
+ text-align: center;
+ top: 50%;
+ width: 100%;
+}
+
+#intentionally-blank {
+ color: black;
+ display: inline-block;
+ font-style: italic;
+ text-align: center;
+ text-decoration: none;
+ padding: 0 10px;
+}
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/print_preview/print_preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698