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

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

Issue 15651004: Files.app: Start to use assets for checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/images/files/ui/new-ui/2x/select_checkbox.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 { 5 html {
6 height: 100%; 6 height: 100%;
7 } 7 }
8 8
9 html.col-resize * { 9 html.col-resize * {
10 cursor: col-resize !important; 10 cursor: col-resize !important;
(...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 background-color: transparent; 1376 background-color: transparent;
1377 } 1377 }
1378 50% { 1378 50% {
1379 } 1379 }
1380 } 1380 }
1381 1381
1382 .table-row-cell .selection-label { 1382 .table-row-cell .selection-label {
1383 -webkit-margin-end: 10px; 1383 -webkit-margin-end: 10px;
1384 } 1384 }
1385 1385
1386 body[new-ui] .table-row-cell .selection-label {
1387 height: 15px;
1388 }
1389
1386 .table-row-cell .filename-label, 1390 .table-row-cell .filename-label,
1387 .thumbnail-item .filename-label, 1391 .thumbnail-item .filename-label,
1388 /* Show ellipsis in cells. The name column has different structure and overrides 1392 /* Show ellipsis in cells. The name column has different structure and overrides
1389 this rule. */ 1393 this rule. */
1390 .table-row-cell > div { 1394 .table-row-cell > div {
1391 display: block; 1395 display: block;
1392 overflow: hidden; 1396 overflow: hidden;
1393 text-overflow: ellipsis; 1397 text-overflow: ellipsis;
1394 white-space: nowrap; 1398 white-space: nowrap;
1395 } 1399 }
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 -webkit-margin-start: 3px; 1701 -webkit-margin-start: 3px;
1698 vertical-align: middle; 1702 vertical-align: middle;
1699 } 1703 }
1700 1704
1701 #list-container li.table-row:hover .file-checkbox, 1705 #list-container li.table-row:hover .file-checkbox,
1702 #list-container li.table-row:hover .pin, 1706 #list-container li.table-row:hover .pin,
1703 #list-container li.thumbnail-item:hover .file-checkbox { 1707 #list-container li.thumbnail-item:hover .file-checkbox {
1704 opacity: 0.6; 1708 opacity: 0.6;
1705 } 1709 }
1706 1710
1707 body[new-ui] #list-container .table-header #select-all-checkbox:not(:checked),
1708 body[new-ui] #list-container li.table-row:hover .file-checkbox,
1709 body[new-ui] #list-container li.table-row:hover .pin, 1711 body[new-ui] #list-container li.table-row:hover .pin,
1710 body[new-ui] #list-container li.thumbnail-item:hover .file-checkbox { 1712 body[new-ui] #list-container li.thumbnail-item:hover .file-checkbox {
1711 opacity: 0.4; 1713 opacity: 0.4;
1712 } 1714 }
1713 1715
1714 #list-container li.table-row[selected] .file-checkbox,
1715 #list-container li.table-row[selected] .pin, 1716 #list-container li.table-row[selected] .pin,
1716 #list-container li.thumbnail-item[selected] .file-checkbox { 1717 #list-container li.thumbnail-item[selected] .file-checkbox {
1717 opacity: 1.0 !important; 1718 opacity: 1.0 !important;
1718 } 1719 }
1719 1720
1721 body[new-ui] #list-container .table-header #select-all-checkbox,
1722 body[new-ui] #list-container li.table-row .file-checkbox {
1723 -webkit-appearance: none;
1724 background-image: -webkit-image-set(
1725 url('../images/files/ui/new-ui/select_checkbox.png') 1x,
1726 url('../images/files/ui/new-ui/2x/select_checkbox.png') 2x);
1727 background-position: center;
1728 background-repeat: no-repeat;
1729 border-style: none;
1730 height: 15px;
1731 opacity: 1.0;
1732 width: 15px;
1733 }
1734
1735 body[new-ui] #list-container .table-header #select-all-checkbox::after,
1736 body[new-ui] #list-container li.table-row .file-checkbox::after {
1737 content: none;
1738 }
1739
1740 body[new-ui] #list-container .table-header #select-all-checkbox:checked,
1741 body[new-ui] #list-container li.table-row .file-checkbox:checked {
1742 background-image: -webkit-image-set(
1743 url('../images/files/ui/new-ui/select_checkbox_checked.png') 1x,
1744 url('../images/files/ui/new-ui/2x/select_checkbox_checked.png') 2x);
1745 }
1746
1747 body[new-ui] #list-container .table-header #select-all-checkbox:checked,
1748 body[new-ui] #list-container list li.table-row[selected] .file-checkbox {
1749 -webkit-filter: brightness(0) opacity(40%);
1750 }
1751
1720 body[new-ui] #list-container list:focus li.table-row[selected] .file-checkbox { 1752 body[new-ui] #list-container list:focus li.table-row[selected] .file-checkbox {
1721 -webkit-filter: contrast(300%) invert(100%); 1753 -webkit-filter: brightness(0) invert();
1722 } 1754 }
1723 1755
1724 #list-container li.table-row, 1756 #list-container li.table-row,
1725 #default-actions-list li { 1757 #default-actions-list li {
1726 border: 1px solid white; 1758 border: 1px solid white;
1727 border-left-width: 0; 1759 border-left-width: 0;
1728 border-right-width: 0; 1760 border-right-width: 0;
1729 height: 39px; 1761 height: 39px;
1730 padding-bottom: 1px; 1762 padding-bottom: 1px;
1731 padding-top: 1px; 1763 padding-top: 1px;
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
2405 body[new-ui] #iframe-drag-area { 2437 body[new-ui] #iframe-drag-area {
2406 -webkit-app-region: drag; 2438 -webkit-app-region: drag;
2407 height: 45px; 2439 height: 45px;
2408 left: 64px; 2440 left: 64px;
2409 position: absolute; 2441 position: absolute;
2410 right: 70px; 2442 right: 70px;
2411 top: 0; 2443 top: 0;
2412 width: auto; 2444 width: auto;
2413 z-index: 101; 2445 z-index: 101;
2414 } 2446 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/images/files/ui/new-ui/2x/select_checkbox.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698