Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 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 /* Special attribute used in HTML to hide elements. */ | 5 /* Special attribute used in HTML to hide elements. */ |
| 6 body[type='folder'] [invisibleif~='folder'], | 6 body[type='folder'] [invisibleif~='folder'], |
| 7 body[type='upload-folder'] [invisibleif~='upload-folder'], | 7 body[type='upload-folder'] [invisibleif~='upload-folder'], |
| 8 body[type='saveas-file'] [invisibleif~='saveas-file'], | 8 body[type='saveas-file'] [invisibleif~='saveas-file'], |
| 9 body[type='open-file'] [invisibleif~='open-file'], | 9 body[type='open-file'] [invisibleif~='open-file'], |
| 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], | 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 729 | 729 |
| 730 body[type='full-page'] .thumbnail-frame > .img-container { | 730 body[type='full-page'] .thumbnail-frame > .img-container { |
| 731 position: relative; | 731 position: relative; |
| 732 } | 732 } |
| 733 | 733 |
| 734 body[type='full-page'] .thumbnail-frame > .img-container, | 734 body[type='full-page'] .thumbnail-frame > .img-container, |
| 735 body[type='full-page'] .detail-name .detail-icon { | 735 body[type='full-page'] .detail-name .detail-icon { |
| 736 cursor: pointer; | 736 cursor: pointer; |
| 737 } | 737 } |
| 738 | 738 |
| 739 .img-container > img { | |
| 740 -webkit-user-drag: none; | |
| 741 position: absolute; | |
| 742 } | |
| 743 | |
| 744 .img-container > img:not(.cached) { | |
| 745 -webkit-animation: fadeIn 250ms linear; | |
| 746 } | |
| 747 | |
| 748 .thumbnail-bottom { | 739 .thumbnail-bottom { |
| 749 align-items: center; | 740 align-items: center; |
| 750 bottom: 0; | 741 bottom: 0; |
| 751 cursor: auto; | 742 cursor: auto; |
| 752 display: flex; | 743 display: flex; |
| 753 flex-direction: row; | 744 flex-direction: row; |
| 754 justify-content: center; | 745 justify-content: center; |
| 755 left: 0; | 746 left: 0; |
| 756 padding: 0 10px; | 747 padding: 0 10px; |
| 757 position: absolute; | 748 position: absolute; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 808 url(../images/files/ui/thumbnail_checked.png) 1x, | 799 url(../images/files/ui/thumbnail_checked.png) 1x, |
| 809 url(../images/files/ui/2x/thumbnail_checked.png) 2x); | 800 url(../images/files/ui/2x/thumbnail_checked.png) 2x); |
| 810 opacity: 1; | 801 opacity: 1; |
| 811 } | 802 } |
| 812 | 803 |
| 813 .thumbnail-grid .img-container { | 804 .thumbnail-grid .img-container { |
| 814 height: 100%; | 805 height: 100%; |
| 815 width: 100%; | 806 width: 100%; |
| 816 } | 807 } |
| 817 | 808 |
| 809 .thumbnail-grid .img-container:not([generic-thumbnail]) { | |
| 810 -webkit-user-drag: none; | |
| 811 background-size: cover; | |
| 812 background-position: center; | |
|
fukino
2015/02/12 07:25:01
nit: posision < size in alphabetical order
yawano
2015/02/12 09:38:24
Done.
| |
| 813 opacity: 0; | |
| 814 transition: opacity 250ms linear; | |
| 815 } | |
| 816 | |
| 817 .thumbnail-grid .img-container.loaded:not([generic-thumbnail]) { | |
| 818 opacity: 1; | |
| 819 } | |
| 820 | |
| 818 .thumbnail-grid .thumbnail-bottom { | 821 .thumbnail-grid .thumbnail-bottom { |
| 819 background: rgba(0, 0, 0, 0.55); | 822 background: rgba(0, 0, 0, 0.55); |
| 820 color: #fff; | 823 color: #fff; |
| 821 height: 30px; | 824 height: 30px; |
| 822 } | 825 } |
| 823 | 826 |
| 824 .badge { | 827 .badge { |
| 825 height: 16px; | 828 height: 16px; |
| 826 position: absolute; | 829 position: absolute; |
| 827 right: 7px; | 830 right: 7px; |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1196 position: absolute; | 1199 position: absolute; |
| 1197 transition: opacity 220ms ease; | 1200 transition: opacity 220ms ease; |
| 1198 width: 28px; | 1201 width: 28px; |
| 1199 } | 1202 } |
| 1200 | 1203 |
| 1201 #list-container list li[selected] .detail-checkmark { | 1204 #list-container list li[selected] .detail-checkmark { |
| 1202 opacity: 1; | 1205 opacity: 1; |
| 1203 } | 1206 } |
| 1204 | 1207 |
| 1205 #list-container list li .detail-thumbnail { | 1208 #list-container list li .detail-thumbnail { |
| 1209 -webkit-user-drag: none; | |
| 1210 background-position: center; | |
| 1211 background-size: cover; | |
| 1206 border-radius: 14px; | 1212 border-radius: 14px; |
| 1207 height: 28px; | 1213 height: 28px; |
| 1208 opacity: 0; | 1214 opacity: 0; |
| 1209 overflow: hidden; | 1215 overflow: hidden; |
| 1210 position: absolute; | 1216 position: absolute; |
| 1211 transition: opacity 220ms ease; | 1217 transition: opacity 220ms ease; |
| 1212 width: 28px; | 1218 width: 28px; |
| 1213 } | 1219 } |
| 1214 | 1220 |
| 1215 #list-container list li .detail-thumbnail > img { | |
| 1216 -webkit-user-drag: none; | |
| 1217 position: absolute; | |
| 1218 } | |
| 1219 | |
| 1220 #list-container list li:not([selected]) .detail-thumbnail.loaded { | 1221 #list-container list li:not([selected]) .detail-thumbnail.loaded { |
| 1221 opacity: 1; | 1222 opacity: 1; |
| 1222 } | 1223 } |
| 1223 | 1224 |
| 1224 .preview-panel .spacer { | 1225 .preview-panel .spacer { |
| 1225 flex: auto; | 1226 flex: auto; |
| 1226 } | 1227 } |
| 1227 | 1228 |
| 1228 #delete-button[disabled] { | 1229 #delete-button[disabled] { |
| 1229 display: none; | 1230 display: none; |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1888 padding: 20px 15px; | 1889 padding: 20px 15px; |
| 1889 } | 1890 } |
| 1890 | 1891 |
| 1891 .text-measure { | 1892 .text-measure { |
| 1892 pointer-events: none; | 1893 pointer-events: none; |
| 1893 position: absolute; | 1894 position: absolute; |
| 1894 top: 0; | 1895 top: 0; |
| 1895 visibility: hidden; | 1896 visibility: hidden; |
| 1896 z-index: -1; | 1897 z-index: -1; |
| 1897 } | 1898 } |
| OLD | NEW |