diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css index bc0ddf2e..c6df0fbb 100644 --- a/codepot/src/css/code.css +++ b/codepot/src/css/code.css @@ -31,6 +31,38 @@ border-radius: 3px; } +#code_folder_mainarea_result_loc_by_file_graph { + overflow: auto; +} + +#code_folder_mainarea_result_info_loc_by_file_graph circle.node { + cursor: pointer; + stroke: #000; + stroke-width: .5px; +} + +#code_folder_mainarea_result_info_loc_by_file_graph circle.node.directory { + stroke: #9ecae1; + stroke-width: 2px; +} + +#code_folder_mainarea_result_info_loc_by_file_graph circle.node.collapsed { + stroke: #555; +} + +#code_folder_mainarea_result_info_loc_by_file_graph .nodetext { + fill: #252929; + font-weight: bold; + text-shadow: 0 0 0.2em white; + font-size: 0.9em; +} + +#code_folder_mainarea_result_info_loc_by_file_graph line.link { + fill: none; + stroke: #9ecae1; + stroke-width: 1.5px; +} + /*----------------------------------------------- * project source file view *-----------------------------------------------*/ diff --git a/codepot/src/js/CodeFlower.js b/codepot/src/js/CodeFlower.js index 73d3f5d6..643131f1 100644 --- a/codepot/src/js/CodeFlower.js +++ b/codepot/src/js/CodeFlower.js @@ -123,8 +123,7 @@ CodeFlower.prototype.click = function(d) { CodeFlower.prototype.mouseover = function(d) { this.text.attr('transform', 'translate(' + d.x + ',' + (d.y - 5 - (d.children ? 3.5 : Math.sqrt(d.size) / 2)) + ')') .text(d.name + ": " + d.size) - .style('display', null) - .style('font-size', '0.9em'); + .style('display', null); }; CodeFlower.prototype.mouseout = function(d) {