OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |