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

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

Issue 8720006: Moving file selection checkbox to the field name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fix. Created 9 years 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.
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;
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 } 390 }
391 391
392 /* The first child of a list cell. */ 392 /* The first child of a list cell. */
393 .table-row-cell > * { 393 .table-row-cell > * {
394 -webkit-margin-start: 5px; 394 -webkit-margin-start: 5px;
395 -webkit-box-orient: horizontal; 395 -webkit-box-orient: horizontal;
396 -webkit-box-flex: 1; 396 -webkit-box-flex: 1;
397 display: -webkit-box; 397 display: -webkit-box;
398 } 398 }
399 399
400 .detail-table li.table-row .table-row-cell:first-child div {
401 margin: 0px;
402 }
403
404 .file-checkbox { 400 .file-checkbox {
405 position: relative; 401 position: relative;
406 z-index: 2; 402 z-index: 2;
407 -webkit-margin-end: 0px; 403 -webkit-margin-end: 0px;
408 margin-top: 6px;
409 margin-left: 7px;
410 opacity: 0.1; 404 opacity: 0.1;
411 } 405 }
412 406
413 #select-all-checkbox { 407 #select-all-checkbox {
414 margin: 0; 408 margin: 0px 6px 0 0;
James Hawkins 2011/11/30 16:10:52 s/0px/0/
SeRya 2011/12/01 12:57:42 Done.
409
410 /* 1px below text */
411 position: relative;
412 top: 1px;
415 } 413 }
416 414
417 li.thumbnail-item .file-checkbox { 415 li.thumbnail-item .file-checkbox {
416 margin-top: 6px;
417 margin-left: 7px;
James Hawkins 2011/11/30 16:10:52 RTL
SeRya 2011/12/01 12:57:42 Done.
418 opacity: 0; 418 opacity: 0;
419 } 419 }
420 420
421 li.table-row:hover .file-checkbox, 421 li.table-row:hover .file-checkbox,
422 li.thumbnail-item:hover .file-checkbox { 422 li.thumbnail-item:hover .file-checkbox {
423 opacity: 0.5; 423 opacity: 0.5;
424 } 424 }
425 425
426 .file-checkbox:hover, 426 .file-checkbox:hover,
427 li.table-row[selected] .file-checkbox, 427 li.table-row[selected] .file-checkbox,
428 li.thumbnail-item[selected] .file-checkbox { 428 li.thumbnail-item[selected] .file-checkbox {
429 opacity: 1 !important; 429 opacity: 1 !important;
430 } 430 }
431 431
432 /* Column text containers. */ 432 li.table-row {
433 .detail-name, .detail-size, .detail-type, .detail-date { 433 padding-top: 1px;
434 padding-top: 2px; 434 padding-bottom: 1px;
435 }
436
437 .detail-icon-container {
438 -webkit-box-orient: horizontal;
439 -webkit-box-pack: end;
440 display: -webkit-box;
441 } 435 }
442 436
443 /* The icon in the name column. */ 437 /* The icon in the name column. */
444 .detail-icon { 438 .detail-icon {
445 background-image: url(../images/filetype_generic.png); 439 background-image: url(../images/filetype_generic.png);
446 background-position: center; 440 background-position: center;
447 background-repeat: no-repeat; 441 background-repeat: no-repeat;
448 height: 24px; 442 height: 24px;
449 width: 24px; 443 width: 24px;
450 } 444 }
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 576
583 .dialog-footer .filename-label { 577 .dialog-footer .filename-label {
584 -webkit-box-orient: horizontal; 578 -webkit-box-orient: horizontal;
585 color: #666; 579 color: #666;
586 display: -webkit-box; 580 display: -webkit-box;
587 font-weight: bold; 581 font-weight: bold;
588 padding-top: 4px; 582 padding-top: 4px;
589 padding-right: 4px; 583 padding-right: 4px;
590 } 584 }
591 585
586 .detail-name {
587 display: -webkit-box;
James Hawkins 2011/11/30 16:10:52 Is this necessary?
SeRya 2011/12/01 12:57:42 It is not. removed.
588 }
589
590 .detail-name > * {
591 display: -webkit-box;
592 -webkit-box-align: center;
593 }
594
595 .detail-name > input[type=checkbox] {
596 margin: 0 2px;
597 }
598
592 .filename-input { 599 .filename-input {
593 -webkit-box-orient: horizontal; 600 -webkit-box-orient: horizontal;
594 -webkit-box-flex: 1; 601 -webkit-box-flex: 1;
595 display: -webkit-box; 602 display: -webkit-box;
596 } 603 }
597 604
598 /* A horizontal spring. */ 605 /* A horizontal spring. */
599 .horizontal-spacer { 606 .horizontal-spacer {
600 -webkit-box-orient: horizontal; 607 -webkit-box-orient: horizontal;
601 -webkit-box-flex: 1; 608 -webkit-box-flex: 1;
(...skipping 10 matching lines...) Expand all
612 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ 619 /* Overlay pane covering the entire file manager window (e.g. image editor)*/
613 .overlay-pane { 620 .overlay-pane {
614 position: absolute; 621 position: absolute;
615 top: 0; 622 top: 0;
616 left: 0; 623 left: 0;
617 width: 100%; 624 width: 100%;
618 height: 100%; 625 height: 100%;
619 border: none; 626 border: none;
620 z-index: 100; 627 z-index: 100;
621 } 628 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | chrome/browser/resources/shared/css/table.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698