Changeset 201454 in webkit
- Timestamp:
- May 27, 2016 11:33:58 AM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r201438 r201454 1 2016-05-27 Devin Rousso <dcrousso+webkit@gmail.com> 2 3 Web Inspector: Add indicators to show nesting levels inside DOM Tree 4 https://bugs.webkit.org/show_bug.cgi?id=157468 5 <rdar://problem/26162640> 6 7 Reviewed by Timothy Hatcher. 8 9 Add CSS rules to give all expanded node children lists a small line on the 10 left border indicating that all items under the line are descendants. 11 12 * UserInterface/Views/DOMTreeOutline.css: 13 (.tree-outline.dom li .selection): 14 (.tree-outline.dom li > span): 15 (.tree-outline.dom ol): 16 (.tree-outline.dom .tree-outline.dom li:matches(.hovered, .selected) + ol.children.expanded): 17 (.tree-outline.dom li.selected + ol.children.expanded): 18 (.tree-outline.dom li.parent::before): 19 1 20 2016-05-26 Matt Baker <mattbaker@apple.com> 2 21 -
trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css
r197029 r201454 49 49 right: 0; 50 50 height: 15px; 51 z-index: -1;51 z-index: 10; 52 52 } 53 53 … … 63 63 .tree-outline.dom:focus li.selected .selection { 64 64 background-color: hsl(209, 100%, 49%); 65 } 66 67 .tree-outline.dom li > span { 68 position: relative; 69 z-index: 20; 65 70 } 66 71 … … 78 83 .tree-outline.dom ol { 79 84 list-style-type: none; 80 padding-left: 1 .2em;85 padding-left: 14px; 81 86 margin: 0; 82 87 } … … 88 93 .tree-outline.dom ol.children.expanded { 89 94 display: block; 95 } 96 97 .tree-outline.dom li:matches(.hovered, .selected) + ol.children.expanded { 98 margin-left: 4px; 99 padding-left: 1px; 100 border-left: 9px solid hsla(0, 0%, 83%, 0.5); 101 } 102 103 .tree-outline.dom li.selected + ol.children.expanded { 104 border-left-color: hsl(0, 0%, 83%); 90 105 } 91 106 … … 132 147 133 148 .tree-outline.dom li.parent::before { 149 position: relative; 150 z-index: 20; 151 134 152 float: left; 135 153
Note: See TracChangeset
for help on using the changeset viewer.