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

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

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)
Patch Set: remove depth in test 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/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%
copy from third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css
copy to third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css
index 1bc81794e8d563ee2b29d7431781ebedcbbdebd6..92c0773b5b240f473b7128576123ef88c7f824ab 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.highlighted {
color: white;
background-color: rgb(56, 121, 217);
}
-.context.selected .subtitle {
+.item.highlighted .subtitle {
color: white;
}

Powered by Google App Engine
This is Rietveld 408576698