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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css

Issue 2842843003: DevTools: Display product information in ConsoleContextSelector (Closed)
Patch Set: f Created 3 years, 7 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/console/consoleContextSelector.css
diff --git a/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css b/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
new file mode 100644
index 0000000000000000000000000000000000000000..845c9ae76bdc57bd755a4f711ed97429b7d4e302
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2017 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+.context {
+ padding: 2px 1px 2px 2px;
+ white-space: nowrap;
+ display: flex;
+ flex-direction: column;
+ height: 34px;
+ justify-content: center;
+}
+
+.context.disabled {
+ opacity: 0.5;
+}
+
+.title {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ flex-grow: 0;
+}
+
+.subtitle {
+ color: #999;
+ margin-right: 3px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ flex-grow: 0;
+}
+
+.context-list {
+ background-color: white;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05),
+ 0 2px 4px rgba(0, 0, 0, 0.2),
+ 0 2px 6px rgba(0, 0, 0, 0.1);
+ overflow-x: hidden;
+ overflow-y: auto;
+ width: 100%;
+}
+
+.context.selected {
+ color: white;
+ background-color: rgb(56, 121, 217);
+}
+
+.context.selected .subtitle {
+ color: white;
+}

Powered by Google App Engine
This is Rietveld 408576698