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

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

Issue 9114040: Update thumbnail/list view buttons. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: "Add asset files." Created 8 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
flackr 2012/01/10 22:02:55 s/2011/2012
bshe 2012/01/11 01:16:21 Done.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* Outer frame of the dialog. */ 7 /* Outer frame of the dialog. */
8 body { 8 body {
9 -webkit-box-flex: 1; 9 -webkit-box-flex: 1;
10 -webkit-box-orient: vertical; 10 -webkit-box-orient: vertical;
11 -webkit-transition: opacity 70ms linear; 11 -webkit-transition: opacity 70ms linear;
12 -webkit-user-select: none; 12 -webkit-user-select: none;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 } 323 }
324 324
325 /* The > arrow between breadcrumbs. */ 325 /* The > arrow between breadcrumbs. */
326 .breadcrumb-spacer { 326 .breadcrumb-spacer {
327 -webkit-margin-start: 7px; 327 -webkit-margin-start: 7px;
328 -webkit-margin-end: 4px; 328 -webkit-margin-end: 4px;
329 color: #aaa; 329 color: #aaa;
330 font-size: 12px; 330 font-size: 12px;
331 } 331 }
332 332
333 button.detail-view > img, 333 button.detail-view,
334 button.thumbnail-view > img { 334 button.thumbnail-view {
flackr 2012/01/10 22:02:55 If you can remove the outer div, change this to .d
bshe 2012/01/11 01:16:21 outer div is a hack for extra margin between butto
335 position: relative; 335 -webkit-border-radius: 0;
336 top: 1px; 336 border: none;
337 height: 28px;
338 margin: 0;
339 min-width: 0;
flackr 2012/01/10 22:02:55 Did you mean to specify this as well as width belo
bshe 2012/01/11 01:16:21 Yes. I need it to override this: button, input[typ
340 padding: 0;
341 width: 28px;
342 }
343
344 button.detail-view,
345 button.detail-view:hover {
flackr 2012/01/10 22:02:55 Seems like you shouldn't need a selector for the h
bshe 2012/01/11 01:16:21 The hover states aren't necessary only when these
flackr 2012/01/11 16:25:45 I suggest a comment to the effect that you must ov
346 background-image: url('../images/icon_list_view_off.png');
347 }
348
349 button.thumbnail-view,
350 button.thumbnail-view:hover {
351 background-image: url('../images/icon_thumb_view_off.png');
352 }
353
354 button.detail-view[disabled],
355 button.detail-view[disabled]:hover {
356 background-image: url('../images/icon_list_view_on.png');
357 }
358
359 button.thumbnail-view[disabled],
360 button.thumbnail-view[disabled]:hover {
361 background-image: url('../images/icon_thumb_view_on.png');
337 } 362 }
338 363
339 .filelist-panel { 364 .filelist-panel {
340 display: -webkit-box; 365 display: -webkit-box;
341 -webkit-box-orient: vertical; 366 -webkit-box-orient: vertical;
342 -webkit-box-flex: 1; 367 -webkit-box-flex: 1;
343 } 368 }
344 369
345 .list-container { 370 .list-container {
346 display: -webkit-box; 371 display: -webkit-box;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ 810 /* Overlay pane covering the entire file manager window (e.g. image editor)*/
786 .overlay-pane { 811 .overlay-pane {
787 position: absolute; 812 position: absolute;
788 top: 0; 813 top: 0;
789 left: 0; 814 left: 0;
790 width: 100%; 815 width: 100%;
791 height: 100%; 816 height: 100%;
792 border: none; 817 border: none;
793 z-index: 100; 818 z-index: 100;
794 } 819 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698