Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1314)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css

Issue 2545983002: DevTools: Use TextPrompt for FilterBar instead of input element (Closed)
Patch Set: Use textWithCurrentSuggestion Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/filter.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 } 22 }
23 23
24 .text-prompt-editing, 24 .text-prompt-editing,
25 .text-prompt-editing ::content * { 25 .text-prompt-editing ::content * {
26 color: #222 !important; 26 color: #222 !important;
27 text-decoration: none !important; 27 text-decoration: none !important;
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 .text-prompt-editing ::content .auto-complete-text {
34 color: rgb(128, 128, 128) !important; 33 color: rgb(128, 128, 128) !important;
35 -webkit-user-select: none; 34 -webkit-user-select: none;
36 -webkit-user-modify: read-only; 35 -webkit-user-modify: read-only;
37 } 36 }
38 37
38 ::content .text-prompt:empty::before {
39 content: attr(data-placeholder);
40 color: rgb(128, 128, 128);
41 }
42
39 .text-prompt-editing ::content br { 43 .text-prompt-editing ::content br {
40 display: none; 44 display: none;
41 } 45 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/filter.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698