| 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-root { |
| 8 display: flex; |
| 9 align-items: center; |
| 10 } |
| 11 |
| 7 .text-prompt-editing { | 12 .text-prompt-editing { |
| 8 -webkit-user-select: text; | 13 -webkit-user-select: text; |
| 9 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), | 14 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), |
| 10 0 2px 4px rgba(0, 0, 0, 0.2), | 15 0 2px 4px rgba(0, 0, 0, 0.2), |
| 11 0 2px 6px rgba(0, 0, 0, 0.1); | 16 0 2px 6px rgba(0, 0, 0, 0.1); |
| 12 background-color: white; | 17 background-color: white; |
| 13 -webkit-user-modify: read-write-plaintext-only; | 18 -webkit-user-modify: read-write-plaintext-only; |
| 14 text-overflow: clip !important; | 19 text-overflow: clip !important; |
| 15 padding-left: 2px; | 20 padding-left: 2px; |
| 16 margin-left: -2px; | 21 margin-left: -2px; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 } | 41 } |
| 37 | 42 |
| 38 ::content .text-prompt[data-placeholder]:empty::before { | 43 ::content .text-prompt[data-placeholder]:empty::before { |
| 39 content: attr(data-placeholder); | 44 content: attr(data-placeholder); |
| 40 color: rgb(128, 128, 128); | 45 color: rgb(128, 128, 128); |
| 41 } | 46 } |
| 42 | 47 |
| 43 .text-prompt-editing ::content br { | 48 .text-prompt-editing ::content br { |
| 44 display: none; | 49 display: none; |
| 45 } | 50 } |
| OLD | NEW |