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

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

Issue 10907238: [FileBrowser] Fixed default hover state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed copy-paste issue. Created 8 years, 3 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 | « chrome/browser/resources/file_manager/css/common.css ('k') | no next file » | 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 url('../images/files/ui/search_clear_hover.png') 1x, 511 url('../images/files/ui/search_clear_hover.png') 1x,
512 url('../images/files/ui/2x/search_clear_hover.png') 2x); 512 url('../images/files/ui/2x/search_clear_hover.png') 2x);
513 } 513 }
514 514
515 #search-box::-webkit-search-cancel-button:active { 515 #search-box::-webkit-search-cancel-button:active {
516 background-image: -webkit-image-set( 516 background-image: -webkit-image-set(
517 url('../images/files/ui/search_clear_pressed.png') 1x, 517 url('../images/files/ui/search_clear_pressed.png') 1x,
518 url('../images/files/ui/2x/search_clear_pressed.png') 2x); 518 url('../images/files/ui/2x/search_clear_pressed.png') 2x);
519 } 519 }
520 520
521 button#detail-view { 521 button#detail-view:before {
522 background-image: -webkit-image-set( 522 background-image: -webkit-image-set(
523 url('../images/files/ui/view_list_black.png') 1x, 523 url('../images/files/ui/view_list_black.png') 1x,
524 url('../images/files/ui/2x/view_list_black.png') 2x); 524 url('../images/files/ui/2x/view_list_black.png') 2x);
525 background-position: center;
526 background-repeat: no-repeat;
527 } 525 }
528 526
529 527 button#thumbnail-view:before {
530 button#thumbnail-view {
531 background-image: -webkit-image-set( 528 background-image: -webkit-image-set(
532 url('../images/files/ui/view_thumbs_black.png') 1x, 529 url('../images/files/ui/view_thumbs_black.png') 1x,
533 url('../images/files/ui/2x/view_thumbs_black.png') 2x); 530 url('../images/files/ui/2x/view_thumbs_black.png') 2x);
531 }
532
533 button#detail-view:before,
534 button#thumbnail-view:before {
534 background-position: center; 535 background-position: center;
535 background-repeat: no-repeat; 536 background-repeat: no-repeat;
537 bottom: 0;
538 content: '';
539 left: 0;
540 opacity: 0.5;
541 position: absolute;
542 right: 0;
543 top: 0;
536 } 544 }
537 545
546 button#detail-view[disabled]:before,
547 button#thumbnail-view[disabled]:before {
548 opacity: 0.75;
549 }
550
551 button#detail-view:hover:before,
552 button#thumbnail-view:hover:before {
553 opacity: 1;
554 }
555
556
538 /* When detail-view is not disabled (thus thumbnail view is disabled), push 557 /* When detail-view is not disabled (thus thumbnail view is disabled), push
539 it up a little, to make it's right glowing border visible while focused.*/ 558 it up a little, to make it's right glowing border visible while focused.*/
540 button#detail-view:not([disabled]) { 559 button#detail-view:not([disabled]) {
541 z-index: 2; 560 z-index: 2;
542 } 561 }
543 562
544 .filelist-panel { 563 .filelist-panel {
545 -webkit-box-flex: 1; 564 -webkit-box-flex: 1;
546 -webkit-box-orient: vertical; 565 -webkit-box-orient: vertical;
547 display: -webkit-box; 566 display: -webkit-box;
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 body[type='open-file'] [visibleif]:not([visibleif~='open-file']), 1398 body[type='open-file'] [visibleif]:not([visibleif~='open-file']),
1380 body[type='open-multi-file'] [visibleif]:not([visibleif~='open-multi-file']), 1399 body[type='open-multi-file'] [visibleif]:not([visibleif~='open-multi-file']),
1381 body[type='full-page'] [visibleif]:not([visibleif~='full-page']) { 1400 body[type='full-page'] [visibleif]:not([visibleif~='full-page']) {
1382 display: none; 1401 display: none;
1383 } 1402 }
1384 1403
1385 body:not([ctrl-pressing]) [visibleif='ctrl'] { 1404 body:not([ctrl-pressing]) [visibleif='ctrl'] {
1386 display: none; 1405 display: none;
1387 } 1406 }
1388 1407
1389 #gdata-settings { 1408 #gdata-settings:before {
1390 background-image: url('../images/files/ui/settings.svg'); 1409 background-image: url('../images/files/ui/settings.svg');
1391 background-position: 20px center; 1410 background-position: 20px center;
1392 background-repeat: no-repeat; 1411 background-repeat: no-repeat;
1412 bottom: 0;
1413 content: '';
1414 left: 0;
1415 opacity: 0.75;
1416 position: absolute;
1417 right: 0;
1418 top: 0;
1419 }
1420
1421 #gdata-settings:hover:before {
1422 opacity: 1;
1423 }
1424
1425
1426 #gdata-settings {
1393 overflow: hidden; 1427 overflow: hidden;
1394 text-align: left; 1428 text-align: left;
1395 width: 54px; 1429 width: 54px;
1396 } 1430 }
1397 1431
1398 #gdata-settings span.disclosureindicator { 1432 #gdata-settings span.disclosureindicator {
1399 float: none; 1433 float: none;
1400 margin-left: 42px; 1434 margin-left: 42px;
1401 } 1435 }
1402 1436
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 } 1587 }
1554 1588
1555 #new-folder { 1589 #new-folder {
1556 margin-right: 30px; 1590 margin-right: 30px;
1557 } 1591 }
1558 1592
1559 #default-action-dialog { 1593 #default-action-dialog {
1560 min-width: 300px; 1594 min-width: 300px;
1561 width: auto; 1595 width: auto;
1562 } 1596 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/css/common.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698