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

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

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)
Patch Set: 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/ui/softDropDown.css
diff --git a/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css b/third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css
similarity index 90%
rename from third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
rename to third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css
index 1bc81794e8d563ee2b29d7431781ebedcbbdebd6..de0694bdb8d3659db85b554d9efed420cdd3a740 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css
@@ -3,7 +3,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-.context {
+.item {
padding: 2px 1px 2px 2px;
white-space: nowrap;
display: flex;
@@ -12,7 +12,7 @@
justify-content: center;
}
-.context.disabled {
+.item.disabled {
opacity: 0.5;
}
@@ -37,7 +37,7 @@
flex-grow: 0;
}
-.context-list {
+.item-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),
@@ -47,11 +47,11 @@
width: 100%;
}
-.context.selected {
+.item.selected {
color: white;
background-color: rgb(56, 121, 217);
}
-.context.selected .subtitle {
+.item.selected .subtitle {
color: white;
einbinder 2017/05/30 22:30:41 I am not sure where this CSS should go. The Filter
caseq 2017/05/30 23:40:08 I think each item should have its own shadow DOM a
einbinder 2017/05/31 21:14:27 Done.
}

Powered by Google App Engine
This is Rietveld 408576698