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

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

Issue 10826082: Replace yellow outline from focused searchbox with blue border. Replace yellow outlines with blue o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/2x/search_clear.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.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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 background-position: 4px 4.5px; 458 background-position: 4px 4.5px;
459 background-repeat: no-repeat; 459 background-repeat: no-repeat;
460 display: -webkit-box; 460 display: -webkit-box;
461 height: 27px; 461 height: 27px;
462 margin-right: 10px; 462 margin-right: 10px;
463 padding: 1px 6px 2px 23px; 463 padding: 1px 6px 2px 23px;
464 width: 150px; 464 width: 150px;
465 } 465 }
466 466
467 #search-box:focus { 467 #search-box:focus {
468 border-color: rgb(77, 144, 254);
469 outline: none;
468 width: 240px; 470 width: 240px;
469 } 471 }
470 472
471 #search-box, 473 #search-box,
472 #filename-input-box input { 474 #filename-input-box input {
473 border: 1px solid #BBB; 475 border: 1px solid #BBB;
474 border-radius: 2px; 476 border-radius: 2px;
475 } 477 }
476 478
479 #search-box::-webkit-search-cancel-button {
480 -webkit-appearance: none;
481 background-image: -webkit-image-set(
482 url('../images/files/ui/search_clear.png') 1x,
483 url('../images/files/ui/2x/search_clear.png') 2x);
484 height: 16px;
Vladislav Kaznacheev 2012/07/31 13:55:57 it might be cleaner to set background-position: ce
Oleg Eterevsky 2012/07/31 14:10:46 When I remove width/height this element disappears
485 width: 16px;
486 }
487
488 #search-box::-webkit-search-cancel-button:hover {
489 background-image: -webkit-image-set(
490 url('../images/files/ui/search_clear_hover.png') 1x,
491 url('../images/files/ui/2x/search_clear_hover.png') 2x);
492 }
493
494 #search-box::-webkit-search-cancel-button:active {
495 background-image: -webkit-image-set(
496 url('../images/files/ui/search_clear_pressed.png') 1x,
497 url('../images/files/ui/2x/search_clear_pressed.png') 2x);
498 }
499
477 button#detail-view { 500 button#detail-view {
478 background-image: -webkit-image-set( 501 background-image: -webkit-image-set(
479 url('../images/files/ui/view_list_black.png') 1x, 502 url('../images/files/ui/view_list_black.png') 1x,
480 url('../images/files/ui/2x/view_list_black.png') 2x); 503 url('../images/files/ui/2x/view_list_black.png') 2x);
481 background-position: center; 504 background-position: center;
482 background-repeat: no-repeat; 505 background-repeat: no-repeat;
483 } 506 }
484 507
485 508
486 button#thumbnail-view { 509 button#thumbnail-view {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 text-overflow: ellipsis; 741 text-overflow: ellipsis;
719 white-space: nowrap; 742 white-space: nowrap;
720 } 743 }
721 744
722 /* Text box used for renaming in the detail list. */ 745 /* Text box used for renaming in the detail list. */
723 .table-row-cell input.rename { 746 .table-row-cell input.rename {
724 -webkit-margin-start: -3px; 747 -webkit-margin-start: -3px;
725 line-height: 20px; 748 line-height: 20px;
726 } 749 }
727 750
751 input.rename:focus {
752 outline-color: rgb(77, 144, 254);
753 }
754
728 /* Elements that need to be LTR even in an RTL context, but should align 755 /* Elements that need to be LTR even in an RTL context, but should align
729 * left. Display size in Hebrew is such a case. 756 * left. Display size in Hebrew is such a case.
730 */ 757 */
731 html[dir='rtl'] .align-end-weakrtl { 758 html[dir='rtl'] .align-end-weakrtl {
732 direction: ltr; 759 direction: ltr;
733 text-align: left; 760 text-align: left;
734 } 761 }
735 762
736 input.rename { 763 input.rename {
737 font: inherit; 764 font: inherit;
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 width: 50%; 1434 width: 50%;
1408 } 1435 }
1409 1436
1410 #list-container .table-header-inner { 1437 #list-container .table-header-inner {
1411 height: 100%; 1438 height: 100%;
1412 } 1439 }
1413 1440
1414 #list-container .table-header-cell:hover { 1441 #list-container .table-header-cell:hover {
1415 background-color: #f2f2f2; 1442 background-color: #f2f2f2;
1416 } 1443 }
1444
1445 button:focus {
1446 outline-color: rgb(77, 144, 254);
1447 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/images/files/ui/2x/search_clear.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698