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 html { | 5 html { |
6 height: 100%; | 6 height: 100%; |
7 } | 7 } |
8 | 8 |
9 html.col-resize * { | 9 html.col-resize * { |
10 cursor: col-resize !important; | 10 cursor: col-resize !important; |
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1218 .preview-thumbnails { | 1218 .preview-thumbnails { |
1219 -webkit-box-orient: horizontal; | 1219 -webkit-box-orient: horizontal; |
1220 display: -webkit-box; | 1220 display: -webkit-box; |
1221 padding-left: 39px; | 1221 padding-left: 39px; |
1222 } | 1222 } |
1223 | 1223 |
1224 body[new-ui] .preview-thumbnails { | 1224 body[new-ui] .preview-thumbnails { |
1225 padding-left: 25px; | 1225 padding-left: 25px; |
1226 } | 1226 } |
1227 | 1227 |
1228 | |
1229 .preview-thumbnails > .thumbnail { | 1228 .preview-thumbnails > .thumbnail { |
1230 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); | 1229 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); |
1231 background-color: #f2f2f2; | 1230 background-color: #f2f2f2; |
1232 border: 1px solid #fff; | 1231 border: 1px solid #fff; |
1233 height: 45px; | 1232 height: 45px; |
1234 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ | 1233 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ |
1235 position: relative; | 1234 position: relative; |
1236 width: 45px; | 1235 width: 45px; |
1237 } | 1236 } |
1238 | 1237 |
(...skipping 18 matching lines...) Expand all Loading... | |
1257 } | 1256 } |
1258 | 1257 |
1259 body[new-ui] .preview-thumbnails > .thumbnail > .img-container { | 1258 body[new-ui] .preview-thumbnails > .thumbnail > .img-container { |
1260 -webkit-box-sizing: border-box; | 1259 -webkit-box-sizing: border-box; |
1261 background-size: 35px 35px; | 1260 background-size: 35px 35px; |
1262 border: 1px solid white; | 1261 border: 1px solid white; |
1263 height: 35px; | 1262 height: 35px; |
1264 width: 35px; | 1263 width: 35px; |
1265 } | 1264 } |
1266 | 1265 |
1266 body[new-ui] .preview-thumbnails > .thumbnail > .img-container > | |
1267 img.not(.cached) { | |
1268 -webkit-animation: fadeIn ease-in 1; | |
yoshiki
2013/04/20 01:49:20
nit: they should be separated to keep consistency
mtomasz
2013/04/22 02:51:44
I've moved it to a one line, since it is more freq
| |
1269 -webkit-animation-duration: 500ms; | |
1270 -webkit-animation-fill-mode: forwards; | |
1271 } | |
1272 | |
1273 @-webkit-keyframes fadeIn { | |
1274 from { | |
1275 opacity: 0; | |
1276 } | |
1277 to { | |
1278 opacity: 1; | |
1279 } | |
1280 } | |
1281 | |
1267 .preview-thumbnails > .popup { | 1282 .preview-thumbnails > .popup { |
1268 -webkit-transform: translate(0, 3px) scale(0.95); | 1283 -webkit-transform: translate(0, 3px) scale(0.95); |
1269 background-color: #f2f2f2; | 1284 background-color: #f2f2f2; |
1270 border: 2px solid #fff; | 1285 border: 2px solid #fff; |
1271 box-shadow: 0 0 0 1px #F0F0F0, | 1286 box-shadow: 0 0 0 1px #F0F0F0, |
1272 0 0 0 2px #D0D0D0, | 1287 0 0 0 2px #D0D0D0, |
1273 2px 2px 6px rgba(0, 0, 0, 0.2); | 1288 2px 2px 6px rgba(0, 0, 0, 0.2); |
1274 margin: 6px 0 0 -40px; | 1289 margin: 6px 0 0 -40px; |
1275 opacity: 0; | 1290 opacity: 0; |
1276 pointer-events: none; | 1291 pointer-events: none; |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2038 background-image: -webkit-image-set( | 2053 background-image: -webkit-image-set( |
2039 url('../images/files/ui/new-ui/button_list_view.png') 1x, | 2054 url('../images/files/ui/new-ui/button_list_view.png') 1x, |
2040 url('../images/files/ui/new-ui/2x/button_list_view.png') 2x); | 2055 url('../images/files/ui/new-ui/2x/button_list_view.png') 2x); |
2041 } | 2056 } |
2042 | 2057 |
2043 body[new-ui] menuitem#thumbnail-view { | 2058 body[new-ui] menuitem#thumbnail-view { |
2044 background-image: -webkit-image-set( | 2059 background-image: -webkit-image-set( |
2045 url('../images/files/ui/new-ui/button_mosaic_view.png') 1x, | 2060 url('../images/files/ui/new-ui/button_mosaic_view.png') 1x, |
2046 url('../images/files/ui/new-ui/2x/button_mosaic_view.png') 2x); | 2061 url('../images/files/ui/new-ui/2x/button_mosaic_view.png') 2x); |
2047 } | 2062 } |
2063 | |
2064 body[new-ui] #iframe-drag-area { | |
2065 -webkit-app-region: drag; | |
2066 height: 45px; | |
2067 left: 64px; | |
2068 position: absolute; | |
2069 right: 0; | |
2070 top: 0; | |
2071 z-index: 101; | |
2072 } | |
OLD | NEW |