OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The Chromium Authors. All rights reserved. | 2 * Copyright 2016 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 :host { | 7 :host { |
8 -webkit-user-select: none; | 8 -webkit-user-select: none; |
9 padding: 4px 12px 12px 12px; | 9 padding: 4px 12px 12px 12px; |
10 } | 10 } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 | 59 |
60 .shadow-editor-button-left:hover, .shadow-editor-button-right:hover { | 60 .shadow-editor-button-left:hover, .shadow-editor-button-right:hover { |
61 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); | 61 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); |
62 } | 62 } |
63 | 63 |
64 .shadow-editor-button-left:focus, .shadow-editor-button-right:focus { | 64 .shadow-editor-button-left:focus, .shadow-editor-button-right:focus { |
65 background-color: #eeeeee; | 65 background-color: #eeeeee; |
66 } | 66 } |
67 | 67 |
68 .shadow-editor-button-left.enabled, .shadow-editor-button-right.enabled { | 68 .shadow-editor-button-left.enabled, .shadow-editor-button-right.enabled, -theme-
preserve { |
69 background-color: #4285F4; | 69 background-color: #4285F4; |
70 color: #ffffff; | 70 color: #ffffff; |
71 } | 71 } |
72 | 72 |
73 .shadow-editor-button-left.enabled:focus, .shadow-editor-button-right.enabled:fo
cus { | 73 .shadow-editor-button-left.enabled:focus, .shadow-editor-button-right.enabled:fo
cus, -theme-preserve { |
74 background-color: #3B78E7; | 74 background-color: #3B78E7; |
75 } | 75 } |
76 | 76 |
77 .shadow-editor-text-input { | 77 .shadow-editor-text-input { |
78 -webkit-appearance: none; | 78 -webkit-appearance: none; |
79 box-sizing: border-box; | 79 box-sizing: border-box; |
80 width: 52px; | 80 width: 52px; |
81 height: 24px; | 81 height: 24px; |
82 margin-right: 8px; | 82 margin-right: 8px; |
83 padding: 3px 7px; | 83 padding: 3px 7px; |
84 line-height: 16px; | 84 line-height: 16px; |
85 border: 1px solid rgba(0, 0, 0, 0.14); | 85 border: 1px solid rgba(0, 0, 0, 0.14); |
86 border-radius: 2px; | 86 border-radius: 2px; |
87 background-color: #ffffff; | 87 background-color: #ffffff; |
88 color: #333; | 88 color: #333; |
89 text-align: right; | 89 text-align: right; |
90 } | 90 } |
91 | 91 |
92 .shadow-editor-text-input:focus { | 92 .shadow-editor-text-input:focus, -theme-preserve { |
93 border-color: #4285F4; | 93 border-color: #4285F4; |
94 } | 94 } |
95 | 95 |
96 .shadow-editor-text-input.invalid { | 96 .shadow-editor-text-input.invalid { |
97 border-color: #E67C73; | 97 border-color: #E67C73; |
98 } | 98 } |
OLD | NEW |