OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2015 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 .text-prompt-editing { | 7 .text-prompt-editing { |
8 -webkit-user-select: text; | 8 -webkit-user-select: text; |
9 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), | 9 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), |
10 0 2px 4px rgba(0, 0, 0, 0.2), | 10 0 2px 4px rgba(0, 0, 0, 0.2), |
(...skipping 17 matching lines...) Expand all Loading... |
28 -webkit-user-modify: read-write-plaintext-only; | 28 -webkit-user-modify: read-write-plaintext-only; |
29 white-space: pre; | 29 white-space: pre; |
30 } | 30 } |
31 | 31 |
32 ::content .auto-complete-text { | 32 ::content .auto-complete-text { |
33 color: rgb(128, 128, 128) !important; | 33 color: rgb(128, 128, 128) !important; |
34 -webkit-user-select: none; | 34 -webkit-user-select: none; |
35 -webkit-user-modify: read-only; | 35 -webkit-user-modify: read-only; |
36 } | 36 } |
37 | 37 |
38 ::content .text-prompt:empty::before { | 38 ::content .text-prompt[data-placeholder]:empty::before { |
39 content: attr(data-placeholder); | 39 content: attr(data-placeholder); |
40 color: rgb(128, 128, 128); | 40 color: rgb(128, 128, 128); |
41 } | 41 } |
42 | 42 |
43 .text-prompt-editing ::content br { | 43 .text-prompt-editing ::content br { |
44 display: none; | 44 display: none; |
45 } | 45 } |
OLD | NEW |