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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css

Issue 2742573007: DevTools: initial console suggestion should be greyed out (Closed)
Patch Set: Created 3 years, 9 months 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
Index: third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css b/third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css
index 816bc72882c317e64a34378fcb05bd88d8b7041f..b6798f1155f3ed44085551d38fbecf0cea09c79c 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css
@@ -85,11 +85,29 @@
width: 20px;
}
+.suggest-box {
+ --blurred-selected-background: rgb(56, 121, 217);
dgozman 2017/03/11 00:00:24 Let's do classic way for now.
lushnikov 2017/03/11 00:09:59 Done.
+ --blurred-selected-color: #fff;
+}
+
+.enable-interaction-styling.suggest-box {
+ --blurred-selected-background: whitesmoke;
+ --blurred-selected-color: inherit;
+}
+
.suggest-box-content-item.selected {
- background-color: rgb(56, 121, 217);
+ background-color: var(--blurred-selected-background);
}
.suggest-box-content-item.selected > span {
+ color: var(--blurred-selected-color);
+}
+
+.user-has-interacted .suggest-box-content-item.selected {
+ background-color: rgb(56, 121, 217);
+}
+
+.user-has-interacted .suggest-box-content-item.selected > span {
color: #FFF;
}

Powered by Google App Engine
This is Rietveld 408576698