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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css b/third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css
index e0f93cef73624c29598a15cbafa211f5c809527a..25602a25befd16b61f4fb7358cced86007948fed 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css
@@ -29,13 +29,17 @@
white-space: pre;
}
-::content .auto-complete-text,
-.text-prompt-editing ::content .auto-complete-text {
+::content .auto-complete-text {
color: rgb(128, 128, 128) !important;
-webkit-user-select: none;
-webkit-user-modify: read-only;
}
+::content .text-prompt:empty::before {
+ content: attr(data-placeholder);
+ color: rgb(128, 128, 128);
+}
+
.text-prompt-editing ::content br {
display: none;
}
« 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