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

Side by Side Diff: chrome/browser/resources/file_manager/css/gallery.css

Issue 10828155: Added @media print rules to gallery.css to make the picture look better on a printed page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 body { 5 body {
6 -webkit-user-select: none; 6 -webkit-user-select: none;
7 font-family: Open Sans, Droid Sans Fallback, sans-serif; 7 font-family: Open Sans, Droid Sans Fallback, sans-serif;
8 font-size: 84%; 8 font-size: 84%;
9 margin: 0; 9 margin: 0;
10 } 10 }
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 } 908 }
909 909
910 .gallery .share-menu > div > img { 910 .gallery .share-menu > div > img {
911 display: block; 911 display: block;
912 margin-right: 5px; 912 margin-right: 5px;
913 } 913 }
914 914
915 /* Load spinner and error banner */ 915 /* Load spinner and error banner */
916 916
917 .gallery .spinner { 917 .gallery .spinner {
918 background-image: url('../images/common/spinner_white.svg); 918 background-image: url('../images/common/spinner_white.svg');
919 background-size: 100%; 919 background-size: 100%;
920 height: 32px; 920 height: 32px;
921 left: 50%; 921 left: 50%;
922 margin-left: -16px; 922 margin-left: -16px;
923 margin-top: -16px; 923 margin-top: -16px;
924 opacity: 0.5; 924 opacity: 0.5;
925 position: absolute; 925 position: absolute;
926 top: 50%; 926 top: 50%;
927 width: 32px; 927 width: 32px;
928 } 928 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 991
992 .gallery[video] .video-controls { 992 .gallery[video] .video-controls {
993 -webkit-box-flex: 1; 993 -webkit-box-flex: 1;
994 display: -webkit-box; 994 display: -webkit-box;
995 } 995 }
996 996
997 .gallery[video] > .toolbar .button.edit, 997 .gallery[video] > .toolbar .button.edit,
998 .gallery[video] > .toolbar .edit-bar { 998 .gallery[video] > .toolbar .edit-bar {
999 display: none; 999 display: none;
1000 } 1000 }
1001
1002 @media print {
1003 .image-container > .image {
1004 left: 0 !important;
1005 max-height: 100%;
1006 max-width: 100%;
1007 object-fit: contain;
1008 top: 0 !important;
1009 }
1010
1011 .gallery .tool {
1012 opacity: 0 !important;
1013 }
1014 }
OLDNEW
« 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