OLD | NEW |
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 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 body { | 5 body { |
6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
7 background-color: black; | 7 background-color: black; |
8 font-size: 84%; | 8 font-size: 84%; |
9 margin: 0; | 9 margin: 0; |
10 } | 10 } |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 url(../images/100/auto_fix.png) 1x, | 739 url(../images/100/auto_fix.png) 1x, |
740 url(../images/200/auto_fix.png) 2x); | 740 url(../images/200/auto_fix.png) 2x); |
741 } | 741 } |
742 | 742 |
743 .edit-main button.crop .icon { | 743 .edit-main button.crop .icon { |
744 background-image: -webkit-image-set( | 744 background-image: -webkit-image-set( |
745 url(../images/100/crop.png) 1x, | 745 url(../images/100/crop.png) 1x, |
746 url(../images/200/crop.png) 2x); | 746 url(../images/200/crop.png) 2x); |
747 } | 747 } |
748 | 748 |
| 749 .edit-main button.resize .icon { |
| 750 background-image: -webkit-image-set( |
| 751 url(../images/100/resize.png) 1x, |
| 752 url(../images/200/resize.png) 2x); |
| 753 } |
| 754 |
749 .edit-main button.exposure .icon { | 755 .edit-main button.exposure .icon { |
750 background-image: -webkit-image-set( | 756 background-image: -webkit-image-set( |
751 url(../images/100/brightness.png) 1x, | 757 url(../images/100/brightness.png) 1x, |
752 url(../images/200/brightness.png) 2x); | 758 url(../images/200/brightness.png) 2x); |
753 } | 759 } |
754 | 760 |
755 .edit-main button.rotate_right .icon { | 761 .edit-main button.rotate_right .icon { |
756 background-image: -webkit-image-set( | 762 background-image: -webkit-image-set( |
757 url(../images/100/rotate_right.png) 1x, | 763 url(../images/100/rotate_right.png) 1x, |
758 url(../images/200/rotate_right.png) 2x); | 764 url(../images/200/rotate_right.png) 2x); |
(...skipping 22 matching lines...) Expand all Loading... |
781 -webkit-box-orient: horizontal; | 787 -webkit-box-orient: horizontal; |
782 -webkit-box-pack: center; | 788 -webkit-box-pack: center; |
783 bottom: 48px; | 789 bottom: 48px; |
784 display: block; | 790 display: block; |
785 height: 48px; | 791 height: 48px; |
786 pointer-events: none; | 792 pointer-events: none; |
787 position: absolute; | 793 position: absolute; |
788 width: 100%; | 794 width: 100%; |
789 } | 795 } |
790 | 796 |
| 797 .gallery[editor-mode="resize"] .edit-modal { |
| 798 height: 56px; |
| 799 } |
| 800 |
791 .edit-modal-wrapper[hidden] { | 801 .edit-modal-wrapper[hidden] { |
792 display: none; | 802 display: none; |
793 } | 803 } |
794 | 804 |
795 .edit-modal-wrapper { | 805 .edit-modal-wrapper { |
796 background-color: rgb(20, 22, 25); | 806 background-color: rgb(20, 22, 25); |
797 color: white; | 807 color: white; |
798 height: 100%; | 808 height: 100%; |
799 opacity: 0.9; | 809 opacity: 0.9; |
800 pointer-events: auto; | 810 pointer-events: auto; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 } | 1007 } |
998 | 1008 |
999 .gallery .crop-frame .corner.top { | 1009 .gallery .crop-frame .corner.top { |
1000 top: -6px; | 1010 top: -6px; |
1001 } | 1011 } |
1002 | 1012 |
1003 .gallery .crop-frame .corner.bottom { | 1013 .gallery .crop-frame .corner.bottom { |
1004 bottom: -6px; | 1014 bottom: -6px; |
1005 } | 1015 } |
1006 | 1016 |
| 1017 /* Input UI */ |
| 1018 .edit-modal .input { |
| 1019 align-items: flex-end; |
| 1020 display: flex; |
| 1021 width: 90px; |
| 1022 } |
| 1023 |
| 1024 .edit-modal .input > .unit_label { |
| 1025 color: rgba(255, 255, 255, 0.54); |
| 1026 margin-bottom: 10px; |
| 1027 } |
| 1028 |
| 1029 .edit-modal .lockicon { |
| 1030 background-repeat: no-repeat; |
| 1031 background-size: contain; |
| 1032 height: 16px; |
| 1033 margin: 16px; |
| 1034 margin-top: auto; |
| 1035 width: 16px; |
| 1036 } |
| 1037 |
| 1038 .edit-modal .lockicon:focus { |
| 1039 outline: none; |
| 1040 } |
| 1041 |
| 1042 .edit-modal .lockicon[locked] { |
| 1043 background-image: -webkit-image-set( |
| 1044 url(../images/100/ratio_locked.png) 1x, |
| 1045 url(../images/200/ratio_locked.png) 2x); |
| 1046 } |
| 1047 |
| 1048 .edit-modal .lockicon:not([locked]) { |
| 1049 opacity: 0.54; |
| 1050 background-image: -webkit-image-set( |
| 1051 url(../images/100/ratio_unlocked.png) 1x, |
| 1052 url(../images/200/ratio_unlocked.png) 2x); |
| 1053 } |
| 1054 |
1007 /* Prompt/notification panel */ | 1055 /* Prompt/notification panel */ |
1008 | 1056 |
1009 .gallery .prompt-wrapper { | 1057 .gallery .prompt-wrapper { |
1010 -webkit-box-orient: horizontal; | 1058 -webkit-box-orient: horizontal; |
1011 -webkit-box-pack: center; | 1059 -webkit-box-pack: center; |
1012 display: -webkit-box; | 1060 display: -webkit-box; |
1013 height: 100%; | 1061 height: 100%; |
1014 pointer-events: none; | 1062 pointer-events: none; |
1015 position: absolute; | 1063 position: absolute; |
1016 width: 100%; | 1064 width: 100%; |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 .thumbnail-view .animation-thumbnail { | 1418 .thumbnail-view .animation-thumbnail { |
1371 background-repeat: no-repeat; | 1419 background-repeat: no-repeat; |
1372 background-size: cover; | 1420 background-size: cover; |
1373 display: none; | 1421 display: none; |
1374 position: absolute; | 1422 position: absolute; |
1375 } | 1423 } |
1376 | 1424 |
1377 .thumbnail-view .animation-thumbnail.animating { | 1425 .thumbnail-view .animation-thumbnail.animating { |
1378 display: block; | 1426 display: block; |
1379 } | 1427 } |
OLD | NEW |