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

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

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)
Patch Set: fixes Created 3 years, 6 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
index 1bc81794e8d563ee2b29d7431781ebedcbbdebd6..6fd4126913f1d43bceef8574dca3e4e84e00796c 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
+++ b/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
@@ -3,7 +3,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-.context {
+
+:host {
padding: 2px 1px 2px 2px;
white-space: nowrap;
display: flex;
@@ -12,10 +13,6 @@
justify-content: center;
}
-.context.disabled {
- opacity: 0.5;
-}
-
.title {
overflow: hidden;
text-overflow: ellipsis;
@@ -37,21 +34,6 @@
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;
+:host(.highlighted) .subtitle {
+ color: inherit;
}

Powered by Google App Engine
This is Rietveld 408576698