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

Unified Diff: Source/devtools/front_end/sources/uiList.css

Issue 1172643002: DevTools: migrate sidebar pane's titleElement to use Toolbar. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: only using latin1 in css Created 5 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
« no previous file with comments | « Source/devtools/front_end/sources/sourcesPanel.css ('k') | Source/devtools/front_end/ui/SidebarPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/uiList.css
diff --git a/Source/devtools/front_end/sources/uiList.css b/Source/devtools/front_end/sources/uiList.css
index 8a7006f5e308173222293e8593a67a202765b8cf..90cecca1358240956c956a2b63d96070fb2df9bd 100644
--- a/Source/devtools/front_end/sources/uiList.css
+++ b/Source/devtools/front_end/sources/uiList.css
@@ -5,19 +5,23 @@
*/
.list-item {
- padding: 3px 8px 4px 18px;
+ padding: 3px 8px 4px 8px;
position: relative;
min-height: 18px;
white-space: nowrap;
}
-.list-item:nth-of-type(2n) {
- background-color: rgb(234, 243, 255);
+.list-item:hover {
+ background-color: #eee;
}
-.list-item.selected {
- background-color: #cfcfcf;
- background-clip: padding-box;
+.list-item > .title::before {
+ content: "\2713 ";
+ color: transparent;
+}
+
+.list-item.selected > .title::before {
+ color: inherit;
}
.list-item > .title {
@@ -26,6 +30,10 @@
white-space: normal;
}
+.list-item.selected > .title {
+ font-weight: bold;
+}
+
.list-item > .subtitle {
margin-left: 5px;
color: rgba(0, 0, 0, 0.7);
« no previous file with comments | « Source/devtools/front_end/sources/sourcesPanel.css ('k') | Source/devtools/front_end/ui/SidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698