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

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

Issue 14320020: Initial restyle of the gallery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years, 8 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 | chrome/browser/resources/file_manager/css/gallery.css » ('j') | 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 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 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 .preview-thumbnails { 1222 .preview-thumbnails {
1223 -webkit-box-orient: horizontal; 1223 -webkit-box-orient: horizontal;
1224 display: -webkit-box; 1224 display: -webkit-box;
1225 padding-left: 39px; 1225 padding-left: 39px;
1226 } 1226 }
1227 1227
1228 body[new-ui] .preview-thumbnails { 1228 body[new-ui] .preview-thumbnails {
1229 padding-left: 25px; 1229 padding-left: 25px;
1230 } 1230 }
1231 1231
1232
1233 .preview-thumbnails > .thumbnail { 1232 .preview-thumbnails > .thumbnail {
1234 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); 1233 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
1235 background-color: #f2f2f2; 1234 background-color: #f2f2f2;
1236 border: 1px solid #fff; 1235 border: 1px solid #fff;
1237 height: 45px; 1236 height: 45px;
1238 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ 1237 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */
1239 position: relative; 1238 position: relative;
1240 width: 45px; 1239 width: 45px;
1241 } 1240 }
1242 1241
(...skipping 18 matching lines...) Expand all
1261 } 1260 }
1262 1261
1263 body[new-ui] .preview-thumbnails > .thumbnail > .img-container { 1262 body[new-ui] .preview-thumbnails > .thumbnail > .img-container {
1264 -webkit-box-sizing: border-box; 1263 -webkit-box-sizing: border-box;
1265 background-size: 35px 35px; 1264 background-size: 35px 35px;
1266 border: 1px solid white; 1265 border: 1px solid white;
1267 height: 35px; 1266 height: 35px;
1268 width: 35px; 1267 width: 35px;
1269 } 1268 }
1270 1269
1270 body[new-ui] .preview-thumbnails > .thumbnail > .img-container >
1271 img.not(.cached) {
1272 -webkit-animation: fadeIn 500ms ease-in;
1273 }
1274
1275 @-webkit-keyframes fadeIn {
1276 from {
1277 opacity: 0;
1278 }
1279 to {
1280 opacity: 1;
1281 }
1282 }
1283
1271 .preview-thumbnails > .popup { 1284 .preview-thumbnails > .popup {
1272 -webkit-transform: translate(0, 3px) scale(0.95); 1285 -webkit-transform: translate(0, 3px) scale(0.95);
1273 background-color: #f2f2f2; 1286 background-color: #f2f2f2;
1274 border: 2px solid #fff; 1287 border: 2px solid #fff;
1275 box-shadow: 0 0 0 1px #F0F0F0, 1288 box-shadow: 0 0 0 1px #F0F0F0,
1276 0 0 0 2px #D0D0D0, 1289 0 0 0 2px #D0D0D0,
1277 2px 2px 6px rgba(0, 0, 0, 0.2); 1290 2px 2px 6px rgba(0, 0, 0, 0.2);
1278 margin: 6px 0 0 -40px; 1291 margin: 6px 0 0 -40px;
1279 opacity: 0; 1292 opacity: 0;
1280 pointer-events: none; 1293 pointer-events: none;
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 background-image: -webkit-image-set( 2055 background-image: -webkit-image-set(
2043 url('../images/files/ui/new-ui/button_list_view.png') 1x, 2056 url('../images/files/ui/new-ui/button_list_view.png') 1x,
2044 url('../images/files/ui/new-ui/2x/button_list_view.png') 2x); 2057 url('../images/files/ui/new-ui/2x/button_list_view.png') 2x);
2045 } 2058 }
2046 2059
2047 body[new-ui] menuitem#thumbnail-view { 2060 body[new-ui] menuitem#thumbnail-view {
2048 background-image: -webkit-image-set( 2061 background-image: -webkit-image-set(
2049 url('../images/files/ui/new-ui/button_mosaic_view.png') 1x, 2062 url('../images/files/ui/new-ui/button_mosaic_view.png') 1x,
2050 url('../images/files/ui/new-ui/2x/button_mosaic_view.png') 2x); 2063 url('../images/files/ui/new-ui/2x/button_mosaic_view.png') 2x);
2051 } 2064 }
2065
2066 body[new-ui] #iframe-drag-area {
2067 -webkit-app-region: drag;
2068 height: 45px;
2069 left: 64px;
2070 position: absolute;
2071 right: 0;
2072 top: 0;
2073 z-index: 101;
2074 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/css/gallery.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698