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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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: 10px; |
533 height: 45px; | 533 height: 45px; |
534 } | 534 } |
535 | 535 |
536 body[new-ui] .search-box-wrapper { | |
537 -webkit-box-flex: 1; | |
538 display: -webkit-box; | |
539 } | |
540 | |
541 body[new-ui] .decoration-buttons-wrapper { | |
542 -webkit-box-flex: 0; | |
543 -webkit-box-pack: end; | |
544 display: -webkit-box; | |
545 } | |
546 | |
536 body[new-ui] .dialog-header #search-box, | 547 body[new-ui] .dialog-header #search-box, |
537 body[new-ui] .dialog-header #autocomplete-list, | 548 body[new-ui] .dialog-header #autocomplete-list, |
538 body[new-ui] .dialog-header .buttonbar button { | 549 body[new-ui] .dialog-header .buttonbar button { |
539 -webkit-app-region: no-drag; | 550 -webkit-app-region: no-drag; |
540 } | 551 } |
541 | 552 |
542 body[new-ui] .dialog-header #gear-button { | 553 body[new-ui] .dialog-header #gear-button { |
543 background-image: -webkit-image-set( | 554 background-image: -webkit-image-set( |
544 url('../images/files/ui/new-ui/topbar_button_settings.png') 1x, | 555 url('../images/files/ui/new-ui/topbar_button_settings.png') 1x, |
545 url('../images/files/ui/new-ui/2x/topbar_button_settings.png') 2x); | 556 url('../images/files/ui/new-ui/2x/topbar_button_settings.png') 2x); |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
762 background-repeat: no-repeat; | 773 background-repeat: no-repeat; |
763 color: #333; | 774 color: #333; |
764 display: -webkit-box; | 775 display: -webkit-box; |
765 height: 29px; | 776 height: 29px; |
766 line-height: 27px; | 777 line-height: 27px; |
767 margin-right: 10px; | 778 margin-right: 10px; |
768 padding: 1px 6px 2px 23px; | 779 padding: 1px 6px 2px 23px; |
769 width: 150px; | 780 width: 150px; |
770 } | 781 } |
771 | 782 |
783 #search-box[hidden] { | |
784 display: none; // Required, since overriden by #search-box. | |
yoshiki
2013/05/13 05:37:00
CSS doesn't support //-style comment. Please use /
| |
785 } | |
786 | |
772 body[new-ui] #search-box { | 787 body[new-ui] #search-box { |
788 -webkit-transition: max-width 200ms; | |
773 background: -webkit-image-set( | 789 background: -webkit-image-set( |
774 url('../images/files/ui/new-ui/search_icon_active.png') 1x, | 790 url('../images/files/ui/new-ui/search_icon_active.png') 1x, |
775 url('../images/files/ui/new-ui/2x/search_icon_active.png') 2x); | 791 url('../images/files/ui/new-ui/2x/search_icon_active.png') 2x); |
776 background-position: center left; | 792 background-position: center left; |
777 background-repeat: no-repeat; | 793 background-repeat: no-repeat; |
778 border-color: white; | 794 border-color: white; |
779 line-height: 1em; | 795 line-height: 1em; |
796 max-width: 150px; | |
780 padding: 0 0 0 30px; | 797 padding: 0 0 0 30px; |
798 width: 100%; | |
781 } | 799 } |
782 | 800 |
783 #search-box:hover { | 801 #search-box:hover { |
784 border: 1px solid #b9b9b9; | 802 border: 1px solid #b9b9b9; |
785 border-top: 1px solid #a0a0a0; | 803 border-top: 1px solid #a0a0a0; |
786 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); | 804 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); |
787 } | 805 } |
788 | 806 |
789 body[new-ui] #search-box:hover { | 807 body[new-ui] #search-box:hover { |
790 border-color: white; | 808 border-color: white; |
791 } | 809 } |
792 | 810 |
793 #search-box:focus, | 811 #search-box:focus, |
794 body[new-ui] #search-box:focus { | 812 body[new-ui] #search-box:focus { |
795 border: 1px solid rgb(77, 144, 254); | 813 border: 1px solid rgb(77, 144, 254); |
796 box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); | 814 box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); |
815 max-width: 240px; | |
797 outline: none; | 816 outline: none; |
798 width: 240px; | 817 width: 100%; |
799 } | 818 } |
800 | 819 |
801 #search-box::-webkit-search-cancel-button { | 820 #search-box::-webkit-search-cancel-button { |
802 -webkit-appearance: none; | 821 -webkit-appearance: none; |
803 background-image: -webkit-image-set( | 822 background-image: -webkit-image-set( |
804 url('../images/files/ui/search_clear.png') 1x, | 823 url('../images/files/ui/search_clear.png') 1x, |
805 url('../images/files/ui/2x/search_clear.png') 2x); | 824 url('../images/files/ui/2x/search_clear.png') 2x); |
806 height: 16px; | 825 height: 16px; |
807 width: 16px; | 826 width: 16px; |
808 } | 827 } |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2205 | 2224 |
2206 body[new-ui] #iframe-drag-area { | 2225 body[new-ui] #iframe-drag-area { |
2207 -webkit-app-region: drag; | 2226 -webkit-app-region: drag; |
2208 height: 45px; | 2227 height: 45px; |
2209 left: 64px; | 2228 left: 64px; |
2210 position: absolute; | 2229 position: absolute; |
2211 right: 0; | 2230 right: 0; |
2212 top: 0; | 2231 top: 0; |
2213 z-index: 101; | 2232 z-index: 101; |
2214 } | 2233 } |
OLD | NEW |