| OLD | NEW |
| 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 body:not([new-ui]) .dialog-header { | 522 body:not([new-ui]) .dialog-header { |
| 523 -webkit-margin-end: 7px; | 523 -webkit-margin-end: 7px; |
| 524 height: 30px; | 524 height: 30px; |
| 525 margin-bottom: 7px; | 525 margin-bottom: 7px; |
| 526 margin-top: 7px; | 526 margin-top: 7px; |
| 527 } | 527 } |
| 528 | 528 |
| 529 body[new-ui] .dialog-header { | 529 body[new-ui] .dialog-header { |
| 530 -webkit-app-region: drag; | 530 -webkit-app-region: drag; |
| 531 -webkit-margin-end: 10px; | 531 -webkit-margin-end: 10px; |
| 532 -webkit-margin-start: 10px; | 532 -webkit-margin-start: 0; |
| 533 height: 45px; | 533 height: 45px; |
| 534 } | 534 } |
| 535 | 535 |
| 536 body[new-ui] .dialog-header #search-box, | 536 body[new-ui] .dialog-header #search-box, |
| 537 body[new-ui] .dialog-header #autocomplete-list, | 537 body[new-ui] .dialog-header #autocomplete-list, |
| 538 body[new-ui] .dialog-header .buttonbar button { | 538 body[new-ui] .dialog-header .buttonbar button { |
| 539 -webkit-app-region: no-drag; | 539 -webkit-app-region: no-drag; |
| 540 } | 540 } |
| 541 | 541 |
| 542 body[new-ui] .dialog-header #autocomplete-list { |
| 543 max-width: 240px; |
| 544 } |
| 545 |
| 542 body[new-ui] .dialog-header #gear-button { | 546 body[new-ui] .dialog-header #gear-button { |
| 543 background-image: -webkit-image-set( | 547 background-image: -webkit-image-set( |
| 544 url('../images/files/ui/new-ui/topbar_button_settings.png') 1x, | 548 url('../images/files/ui/new-ui/topbar_button_settings.png') 1x, |
| 545 url('../images/files/ui/new-ui/2x/topbar_button_settings.png') 2x); | 549 url('../images/files/ui/new-ui/2x/topbar_button_settings.png') 2x); |
| 546 } | 550 } |
| 547 | 551 |
| 548 body[new-ui] .dialog-header #maximize-button { | 552 body[new-ui] .dialog-header #maximize-button { |
| 549 background-image: -webkit-image-set( | 553 background-image: -webkit-image-set( |
| 550 url('../images/files/ui/new-ui/topbar_button_maximize.png') 1x, | 554 url('../images/files/ui/new-ui/topbar_button_maximize.png') 1x, |
| 551 url('../images/files/ui/new-ui/2x/topbar_button_maximize.png') 2x); | 555 url('../images/files/ui/new-ui/2x/topbar_button_maximize.png') 2x); |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 color: #333; | 767 color: #333; |
| 764 display: -webkit-box; | 768 display: -webkit-box; |
| 765 height: 29px; | 769 height: 29px; |
| 766 line-height: 27px; | 770 line-height: 27px; |
| 767 margin-right: 10px; | 771 margin-right: 10px; |
| 768 padding: 1px 6px 2px 23px; | 772 padding: 1px 6px 2px 23px; |
| 769 width: 150px; | 773 width: 150px; |
| 770 } | 774 } |
| 771 | 775 |
| 772 body[new-ui] #search-box { | 776 body[new-ui] #search-box { |
| 777 /* If this is 0, width will not be updated. */ |
| 778 -webkit-box-flex: 0.0001; |
| 773 background: -webkit-image-set( | 779 background: -webkit-image-set( |
| 774 url('../images/files/ui/new-ui/search_icon_active.png') 1x, | 780 url('../images/files/ui/new-ui/search_icon_inactive.png') 1x, |
| 775 url('../images/files/ui/new-ui/2x/search_icon_active.png') 2x); | 781 url('../images/files/ui/new-ui/2x/search_icon_inactive.png') 2x); |
| 776 background-position: center left; | 782 background-position: 13px center; |
| 777 background-repeat: no-repeat; | 783 background-repeat: no-repeat; |
| 778 border-color: white; | 784 border-style: none; |
| 785 height: 45px; |
| 779 line-height: 1em; | 786 line-height: 1em; |
| 780 padding: 0 0 0 30px; | 787 padding: 0 0 0 48px; |
| 788 width: 58px; |
| 781 } | 789 } |
| 782 | 790 |
| 783 #search-box:hover { | 791 #search-box:hover { |
| 784 border: 1px solid #b9b9b9; | 792 border: 1px solid #b9b9b9; |
| 785 border-top: 1px solid #a0a0a0; | 793 border-top: 1px solid #a0a0a0; |
| 786 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); | 794 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); |
| 787 } | 795 } |
| 788 | 796 |
| 789 body[new-ui] #search-box:hover { | 797 #search-box:focus { |
| 790 border-color: white; | |
| 791 } | |
| 792 | |
| 793 #search-box:focus, | |
| 794 body[new-ui] #search-box:focus { | |
| 795 border: 1px solid rgb(77, 144, 254); | 798 border: 1px solid rgb(77, 144, 254); |
| 796 box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); | 799 box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); |
| 797 outline: none; | 800 outline: none; |
| 798 width: 240px; | 801 width: 240px; |
| 799 } | 802 } |
| 800 | 803 |
| 804 body[new-ui] #search-box.has-text, |
| 805 body[new-ui] #search-box:focus { |
| 806 /* This is relative to .buttonbar |
| 807 * If .buttonbar's -webkit-box-flex is zero, |
| 808 * the width of .buttonbar will not be updated. */ |
| 809 -webkit-box-flex: 10000; |
| 810 } |
| 811 |
| 812 body[new-ui] #search-box:hover, |
| 813 body[new-ui] #search-box:focus { |
| 814 background: -webkit-image-set( |
| 815 url('../images/files/ui/new-ui/search_icon_active.png') 1x, |
| 816 url('../images/files/ui/new-ui/2x/search_icon_active.png') 2x); |
| 817 background-position: 13px center; |
| 818 background-repeat: no-repeat; |
| 819 border-style: none; |
| 820 box-shadow: none; |
| 821 } |
| 822 |
| 801 #search-box::-webkit-search-cancel-button { | 823 #search-box::-webkit-search-cancel-button { |
| 802 -webkit-appearance: none; | 824 -webkit-appearance: none; |
| 803 background-image: -webkit-image-set( | 825 background-image: -webkit-image-set( |
| 804 url('../images/files/ui/search_clear.png') 1x, | 826 url('../images/files/ui/new-ui/search_clear.png') 1x, |
| 805 url('../images/files/ui/2x/search_clear.png') 2x); | 827 url('../images/files/ui/new-ui/2x/search_clear.png') 2x); |
| 806 height: 16px; | 828 height: 12px; |
| 807 width: 16px; | 829 width: 12px; |
| 808 } | 830 } |
| 809 | 831 |
| 810 #search-box::-webkit-search-cancel-button:hover { | 832 #search-box::-webkit-search-cancel-button:hover { |
| 811 background-image: -webkit-image-set( | 833 background-image: -webkit-image-set( |
| 812 url('../images/files/ui/search_clear_hover.png') 1x, | 834 url('../images/files/ui/new-ui/search_clear_hover.png') 1x, |
| 813 url('../images/files/ui/2x/search_clear_hover.png') 2x); | 835 url('../images/files/ui/new-ui/2x/search_clear_hover.png') 2x); |
| 814 } | 836 } |
| 815 | 837 |
| 816 #search-box::-webkit-search-cancel-button:active { | 838 #search-box::-webkit-search-cancel-button:active { |
| 817 background-image: -webkit-image-set( | 839 background-image: -webkit-image-set( |
| 818 url('../images/files/ui/search_clear_pressed.png') 1x, | 840 url('../images/files/ui/new-ui/search_clear_pressed.png') 1x, |
| 819 url('../images/files/ui/2x/search_clear_pressed.png') 2x); | 841 url('../images/files/ui/new-ui/2x/search_clear_pressed.png') 2x); |
| 820 } | 842 } |
| 821 | 843 |
| 822 body:not([new-ui]) button#detail-view::before { | 844 body:not([new-ui]) button#detail-view::before { |
| 823 background-image: -webkit-image-set( | 845 background-image: -webkit-image-set( |
| 824 url('../images/files/ui/view_list_black.png') 1x, | 846 url('../images/files/ui/view_list_black.png') 1x, |
| 825 url('../images/files/ui/2x/view_list_black.png') 2x); | 847 url('../images/files/ui/2x/view_list_black.png') 2x); |
| 826 } | 848 } |
| 827 | 849 |
| 828 body:not([new-ui]) button#thumbnail-view::before { | 850 body:not([new-ui]) button#thumbnail-view::before { |
| 829 background-image: -webkit-image-set( | 851 background-image: -webkit-image-set( |
| (...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2205 | 2227 |
| 2206 body[new-ui] #iframe-drag-area { | 2228 body[new-ui] #iframe-drag-area { |
| 2207 -webkit-app-region: drag; | 2229 -webkit-app-region: drag; |
| 2208 height: 45px; | 2230 height: 45px; |
| 2209 left: 64px; | 2231 left: 64px; |
| 2210 position: absolute; | 2232 position: absolute; |
| 2211 right: 0; | 2233 right: 0; |
| 2212 top: 0; | 2234 top: 0; |
| 2213 z-index: 101; | 2235 z-index: 101; |
| 2214 } | 2236 } |
| OLD | NEW |