OLD | NEW |
---|---|
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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
362 } | 362 } |
363 | 363 |
364 /* The first child of a list cell. */ | 364 /* The first child of a list cell. */ |
365 .table-row-cell > * { | 365 .table-row-cell > * { |
366 -webkit-margin-start: 5px; | 366 -webkit-margin-start: 5px; |
367 -webkit-box-orient: horizontal; | 367 -webkit-box-orient: horizontal; |
368 -webkit-box-flex: 1; | 368 -webkit-box-flex: 1; |
369 display: -webkit-box; | 369 display: -webkit-box; |
370 } | 370 } |
371 | 371 |
372 .detail-table li.table-row .table-row-cell:first-child div { | |
373 margin: 0px; | |
374 } | |
375 | |
376 .file-checkbox { | 372 .file-checkbox { |
377 position: relative; | 373 position: relative; |
378 z-index: 2; | 374 z-index: 2; |
379 -webkit-margin-end: 0px; | 375 -webkit-margin-end: 0px; |
380 margin-top: 6px; | |
381 margin-left: 7px; | |
382 opacity: 0.1; | 376 opacity: 0.1; |
383 } | 377 } |
384 | 378 |
385 #select-all-checkbox { | 379 #select-all-checkbox { |
386 margin: 0; | 380 margin: 0px 6px 0 0; |
381 position: relative; | |
382 top: 1px; | |
Vladislav Kaznacheev
2011/11/29 19:11:59
Is it any better than having margin-top: 1px?
SeRya
2011/11/30 13:04:04
It would also affect the text label. top in relati
Vladislav Kaznacheev
2011/11/30 13:25:42
It would be nice to add a comment that explains it
SeRya
2011/11/30 13:47:13
Done.
| |
387 } | 383 } |
388 | 384 |
389 li.thumbnail-item .file-checkbox { | 385 li.thumbnail-item .file-checkbox { |
386 margin-top: 6px; | |
387 margin-left: 7px; | |
390 opacity: 0; | 388 opacity: 0; |
391 } | 389 } |
392 | 390 |
393 li.table-row:hover .file-checkbox, | 391 li.table-row:hover .file-checkbox, |
394 li.thumbnail-item:hover .file-checkbox { | 392 li.thumbnail-item:hover .file-checkbox { |
395 opacity: 0.5; | 393 opacity: 0.5; |
396 } | 394 } |
397 | 395 |
398 .file-checkbox:hover, | 396 .file-checkbox:hover, |
399 li.table-row[selected] .file-checkbox, | 397 li.table-row[selected] .file-checkbox, |
400 li.thumbnail-item[selected] .file-checkbox { | 398 li.thumbnail-item[selected] .file-checkbox { |
401 opacity: 1 !important; | 399 opacity: 1 !important; |
402 } | 400 } |
403 | 401 |
404 /* Column text containers. */ | 402 li.table-row { |
405 .detail-name, .detail-size, .detail-type, .detail-date { | 403 padding-top: 1px; |
406 padding-top: 2px; | 404 padding-bottom: 1px; |
407 } | |
408 | |
409 .detail-icon-container { | |
410 -webkit-box-orient: horizontal; | |
411 -webkit-box-pack: end; | |
412 display: -webkit-box; | |
413 } | 405 } |
414 | 406 |
415 /* The icon in the name column. */ | 407 /* The icon in the name column. */ |
416 .detail-icon { | 408 .detail-icon { |
417 background-image: url(../images/filetype_generic.png); | 409 background-image: url(../images/filetype_generic.png); |
418 background-position: center; | 410 background-position: center; |
419 background-repeat: no-repeat; | 411 background-repeat: no-repeat; |
420 height: 24px; | 412 height: 24px; |
421 width: 24px; | 413 width: 24px; |
422 } | 414 } |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
554 | 546 |
555 .dialog-footer .filename-label { | 547 .dialog-footer .filename-label { |
556 -webkit-box-orient: horizontal; | 548 -webkit-box-orient: horizontal; |
557 color: #666; | 549 color: #666; |
558 display: -webkit-box; | 550 display: -webkit-box; |
559 font-weight: bold; | 551 font-weight: bold; |
560 padding-top: 4px; | 552 padding-top: 4px; |
561 padding-right: 4px; | 553 padding-right: 4px; |
562 } | 554 } |
563 | 555 |
556 .detail-name { | |
557 display: -webkit-box; | |
558 } | |
559 | |
560 .detail-name > * { | |
561 display: -webkit-box; | |
562 -webkit-box-align: center; | |
563 } | |
564 | |
565 .detail-name > input[type=checkbox] { | |
566 margin: 0 2px; | |
567 } | |
568 | |
564 .filename-input { | 569 .filename-input { |
565 -webkit-box-orient: horizontal; | 570 -webkit-box-orient: horizontal; |
566 -webkit-box-flex: 1; | 571 -webkit-box-flex: 1; |
567 display: -webkit-box; | 572 display: -webkit-box; |
568 } | 573 } |
569 | 574 |
570 /* A horizontal spring. */ | 575 /* A horizontal spring. */ |
571 .horizontal-spacer { | 576 .horizontal-spacer { |
572 -webkit-box-orient: horizontal; | 577 -webkit-box-orient: horizontal; |
573 -webkit-box-flex: 1; | 578 -webkit-box-flex: 1; |
(...skipping 10 matching lines...) Expand all Loading... | |
584 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ | 589 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ |
585 .overlay-pane { | 590 .overlay-pane { |
586 position: absolute; | 591 position: absolute; |
587 top: 0; | 592 top: 0; |
588 left: 0; | 593 left: 0; |
589 width: 100%; | 594 width: 100%; |
590 height: 100%; | 595 height: 100%; |
591 border: none; | 596 border: none; |
592 z-index: 100; | 597 z-index: 100; |
593 } | 598 } |
OLD | NEW |