Bug 1360082 - Network monitor: use devtools theme alt color for bare json strings in response viewer r?honza draft
authorXavier ALT <dex@phoenix-ind.net>
Sat, 19 Aug 2017 23:36:07 +0200
changeset 649515 de80b49e72b005ac002aaf96951a3f87feb96bff
parent 649372 10ce8f26a29424dbe21818e816c97a695c97fa07
child 727091 9768d86889c674c31060c8337e8de3a1112d74fc
push id75046
push userbmo:dex@phoenix-ind.net
push dateSat, 19 Aug 2017 21:52:17 +0000
reviewershonza
bugs1360082
milestone57.0a1
Bug 1360082 - Network monitor: use devtools theme alt color for bare json strings in response viewer r?honza MozReview-Commit-ID: Kix16P6XaWz
devtools/client/netmonitor/src/assets/styles/netmonitor.css
--- a/devtools/client/netmonitor/src/assets/styles/netmonitor.css
+++ b/devtools/client/netmonitor/src/assets/styles/netmonitor.css
@@ -878,17 +878,18 @@ body,
   border-bottom: 1px solid var(--theme-splitter-color);
 }
 
 .tree-container .treeTable .tree-section > * {
   vertical-align: middle;
 }
 
 .tree-container .treeTable .treeRow.tree-section > .treeLabelCell > .treeLabel,
-.tree-container .treeTable .treeRow.tree-section > .treeLabelCell > .treeLabel:hover {
+.tree-container .treeTable .treeRow.tree-section > .treeLabelCell > .treeLabel:hover,
+.tree-container .treeTable .treeRow.tree-section > .treeValueCell:not(:hover) * {
   color: var(--theme-body-color-alt);
 }
 
 .tree-container .treeTable .treeValueCell {
   /* FIXME: Make value cell can be reduced to shorter width */
   max-width: 0;
   padding-inline-end: 5px;
 }