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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 html { 6 html {
7 height: 100%; 7 height: 100%;
8 } 8 }
9 9
10 body { 10 body {
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 display: -webkit-box; 413 display: -webkit-box;
414 } 414 }
415 415
416 html:not([toolkit=views]) .button-strip { 416 html:not([toolkit=views]) .button-strip {
417 -webkit-box-direction: reverse; 417 -webkit-box-direction: reverse;
418 } 418 }
419 419
420 .button-strip button { 420 .button-strip button {
421 display: block; 421 display: block;
422 } 422 }
423
424 #dummy-box {
425 -webkit-box-align: stretch;
426 -webkit-box-flex: 1;
427 -webkit-box-orient: vertical;
428 background: #ccc;
429 display: -webkit-box;
430 height: 100%;
431 margin: 0;
432 min-height: 100%;
433 min-width: 100%;
434 position: absolute;
435 width: 100%;
436 }
437
438 #dummy-page {
439 -webkit-box-flex: 1;
440 background: white;
441 box-shadow: 0 0 8px rgba(0, 0, 0, .4);
442 height: auto;
443 margin: 10px;
444 }
445
446 #dummy-article {
447 line-height: 1.5;
448 margin-top: -10px;
449 position: absolute;
450 text-align: center;
451 top: 50%;
452 width: 100%;
453 }
454
455 #intentionally-blank {
456 color: black;
457 display: inline-block;
458 font-style: italic;
459 text-align: center;
460 text-decoration: none;
461 padding: 0 10px;
462 }
OLDNEW
« 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