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

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

Issue 10411018: [FileBrowser] Added DefaultAction dialog to choose default action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with master. Created 8 years, 7 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 /* 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.col-resize * { 5 html.col-resize * {
6 cursor: col-resize !important; 6 cursor: col-resize !important;
7 } 7 }
8 8
9 /* Outer frame of the dialog. */ 9 /* Outer frame of the dialog. */
10 body { 10 body {
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 overflow: hidden; 564 overflow: hidden;
565 position: relative; 565 position: relative;
566 width: 112px; 566 width: 112px;
567 } 567 }
568 568
569 div.img-container > img { 569 div.img-container > img {
570 -webkit-user-drag: none; 570 -webkit-user-drag: none;
571 position: absolute; 571 position: absolute;
572 } 572 }
573 573
574 /* Padding counterweights negative margins of items, thus eliminating scroll
575 bar when it's not needed. Max height is set to fit 8 items before showing
576 scroll bar. */
577 #default-actions-list {
578 max-height: 328px;
579 padding: 1px 0;
580 }
581
582 #default-actions-list > li {
583 display: -webkit-box;
584 }
585
586 #default-actions-list > li > * {
587 display: block;
588 padding: 0 5px;
589 }
590
591 #default-actions-list > li > img {
592 height: 16px;
593 padding-top: 12px;
594 }
595
596
574 #list-container list > *, 597 #list-container list > *,
575 #list-container grid > * { 598 #list-container grid > *,
599 #default-actions-list > * {
576 background-image: none; 600 background-image: none;
577 border-radius: 0; 601 border-radius: 0;
578 line-height: 30px; 602 line-height: 30px;
579 } 603 }
580 604
581 #list-container list > [selected], 605 #list-container list > [selected],
582 #list-container grid > [selected] { 606 #list-container grid > [selected],
607 #default-actions-list > [selected] {
583 background-color: rgb(203, 219, 241); 608 background-color: rgb(203, 219, 241);
584 } 609 }
585 610
586 #list-container list > li.table-row[selected] { 611 #list-container list > li.table-row[selected],
612 #default-actions-list > li[selected] {
587 border-top: 1px solid rgb(224, 233, 247); 613 border-top: 1px solid rgb(224, 233, 247);
588 } 614 }
589 615
590 #list-container list > .accepts[selected], 616 #list-container list > .accepts[selected],
591 #list-container grid > .accepts[selected], 617 #list-container grid > .accepts[selected],
592 #list-container list > [selected]:hover, 618 #list-container list > [selected]:hover,
593 #list-container grid > [selected]:hover { 619 #list-container grid > [selected]:hover,
620 #default-actions-list > [selected]:hover {
594 background-color: rgb(193, 211, 236); 621 background-color: rgb(193, 211, 236);
595 } 622 }
596 623
597 #list-container list > .accepts, 624 #list-container list > .accepts,
598 #list-container grid > .accepts, 625 #list-container grid > .accepts,
599 #list-container list > :hover, 626 #list-container list > :hover,
600 #list-container grid > :hover { 627 #list-container grid > :hover,
628 #default-actions-list > :hover {
601 background-color: #f1f1f1; 629 background-color: #f1f1f1;
602 } 630 }
603 631
604 #list-container.nohover list > :not([selected]):hover, 632 #list-container.nohover list > :not([selected]):hover,
605 #list-container.nohover grid > :not([selected]):hover { 633 #list-container.nohover grid > :not([selected]):hover {
606 background-color: transparent; 634 background-color: transparent;
607 border-color: transparent; 635 border-color: transparent;
608 } 636 }
609 637
610 .table-row-cell .filename-label, 638 .table-row-cell .filename-label,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 866
839 .file-checkbox:hover, 867 .file-checkbox:hover,
840 .pin:hover, 868 .pin:hover,
841 #list-container li.table-row[selected] .file-checkbox, 869 #list-container li.table-row[selected] .file-checkbox,
842 #list-container li.table-row[selected] .pin, 870 #list-container li.table-row[selected] .pin,
843 #list-container li.table-row .pin:checked, 871 #list-container li.table-row .pin:checked,
844 #list-container li.thumbnail-item[selected] .file-checkbox { 872 #list-container li.thumbnail-item[selected] .file-checkbox {
845 opacity: 1 !important; 873 opacity: 1 !important;
846 } 874 }
847 875
848 #list-container li.table-row { 876 #list-container li.table-row,
877 #default-actions-list li {
849 border: none; 878 border: none;
850 border-top: 1px solid transparent; 879 border-top: 1px solid transparent;
851 line-height: 39px; 880 line-height: 39px;
852 padding-bottom: 1px; 881 padding-bottom: 1px;
853 padding-top: 1px; 882 padding-top: 1px;
854 } 883 }
855 884
856 /* The icon in the name column. */ 885 /* The icon in the name column. */
857 .detail-icon { 886 .detail-icon {
858 background-image: url(../images/filetype_generic.png); 887 background-image: url(../images/filetype_generic.png);
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 left: 0; 1344 left: 0;
1316 padding: 10px; 1345 padding: 10px;
1317 position: absolute; 1346 position: absolute;
1318 right: 0; 1347 right: 0;
1319 top: 28px; /* Leave room for the file list header. */ 1348 top: 28px; /* Leave room for the file list header. */
1320 } 1349 }
1321 1350
1322 .dialog-container:not([gdrive-welcome='page']) #no-search-results[show] { 1351 .dialog-container:not([gdrive-welcome='page']) #no-search-results[show] {
1323 display: block; 1352 display: block;
1324 } 1353 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/resources/file_manager/js/combobutton.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698