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

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: Fixed comments. 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 overflow: hidden; 551 overflow: hidden;
552 position: relative; 552 position: relative;
553 width: 112px; 553 width: 112px;
554 } 554 }
555 555
556 div.img-container > img { 556 div.img-container > img {
557 -webkit-user-drag: none; 557 -webkit-user-drag: none;
558 position: absolute; 558 position: absolute;
559 } 559 }
560 560
561 /* Padding counterweights negative margins of items, thus eliminating scroll
562 bar when it's not needed. Max height is set to fit 8 items before showing
563 scroll bar. */
564 #default-actions-list {
565 max-height: 328px;
566 padding: 1px 0;
567 }
568
569 #default-actions-list > li {
570 display: -webkit-box;
571 }
572
573 #default-actions-list > li > * {
574 display: block;
575 padding: 0 5px;
576 }
577
578 #default-actions-list > li > img {
579 height: 16px;
580 padding-top: 12px;
581 }
582
583
561 #list-container list > *, 584 #list-container list > *,
562 #list-container grid > * { 585 #list-container grid > *,
586 #default-actions-list > * {
563 background-image: none; 587 background-image: none;
564 border-radius: 0; 588 border-radius: 0;
565 line-height: 30px; 589 line-height: 30px;
566 } 590 }
567 591
568 #list-container list > [selected], 592 #list-container list > [selected],
569 #list-container grid > [selected] { 593 #list-container grid > [selected],
594 #default-actions-list > [selected] {
570 background-color: rgb(203, 219, 241); 595 background-color: rgb(203, 219, 241);
571 } 596 }
572 597
573 #list-container list > li.table-row[selected] { 598 #list-container list > li.table-row[selected],
599 #default-actions-list > li[selected] {
574 border-top: 1px solid rgb(224, 233, 247); 600 border-top: 1px solid rgb(224, 233, 247);
575 } 601 }
576 602
577 #list-container list > .accepts[selected], 603 #list-container list > .accepts[selected],
578 #list-container grid > .accepts[selected], 604 #list-container grid > .accepts[selected],
579 #list-container list > [selected]:hover, 605 #list-container list > [selected]:hover,
580 #list-container grid > [selected]:hover { 606 #list-container grid > [selected]:hover,
607 #default-actions-list > [selected]:hover {
581 background-color: rgb(193, 211, 236); 608 background-color: rgb(193, 211, 236);
582 } 609 }
583 610
584 #list-container list > .accepts, 611 #list-container list > .accepts,
585 #list-container grid > .accepts, 612 #list-container grid > .accepts,
586 #list-container list > :hover, 613 #list-container list > :hover,
587 #list-container grid > :hover { 614 #list-container grid > :hover,
615 #default-actions-list > :hover {
588 background-color: #f1f1f1; 616 background-color: #f1f1f1;
589 } 617 }
590 618
591 #list-container.nohover list > :not([selected]):hover, 619 #list-container.nohover list > :not([selected]):hover,
592 #list-container.nohover grid > :not([selected]):hover { 620 #list-container.nohover grid > :not([selected]):hover {
593 background-color: transparent; 621 background-color: transparent;
594 border-color: transparent; 622 border-color: transparent;
595 } 623 }
596 624
597 .table-row-cell .filename-label, 625 .table-row-cell .filename-label,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 853
826 .file-checkbox:hover, 854 .file-checkbox:hover,
827 .pin:hover, 855 .pin:hover,
828 #list-container li.table-row[selected] .file-checkbox, 856 #list-container li.table-row[selected] .file-checkbox,
829 #list-container li.table-row[selected] .pin, 857 #list-container li.table-row[selected] .pin,
830 #list-container li.table-row .pin:checked, 858 #list-container li.table-row .pin:checked,
831 #list-container li.thumbnail-item[selected] .file-checkbox { 859 #list-container li.thumbnail-item[selected] .file-checkbox {
832 opacity: 1 !important; 860 opacity: 1 !important;
833 } 861 }
834 862
835 #list-container li.table-row { 863 #list-container li.table-row,
864 #default-actions-list li {
836 border: none; 865 border: none;
837 border-top: 1px solid transparent; 866 border-top: 1px solid transparent;
838 line-height: 39px; 867 line-height: 39px;
839 padding-bottom: 1px; 868 padding-bottom: 1px;
840 padding-top: 1px; 869 padding-top: 1px;
841 } 870 }
842 871
843 /* The icon in the name column. */ 872 /* The icon in the name column. */
844 .detail-icon { 873 .detail-icon {
845 background-image: url(../images/filetype_generic.png); 874 background-image: url(../images/filetype_generic.png);
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 left: 0; 1319 left: 0;
1291 padding: 10px; 1320 padding: 10px;
1292 position: absolute; 1321 position: absolute;
1293 right: 0; 1322 right: 0;
1294 top: 28px; /* Leave room for the file list header. */ 1323 top: 28px; /* Leave room for the file list header. */
1295 } 1324 }
1296 1325
1297 .dialog-container:not([gdrive-welcome='page']) #no-search-results[show] { 1326 .dialog-container:not([gdrive-welcome='page']) #no-search-results[show] {
1298 display: block; 1327 display: block;
1299 } 1328 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698