adjust the style of the LOC-by-file graph

This commit is contained in:
hyung-hwan 2015-04-23 09:50:47 +00:00
parent 5d41e1739d
commit 85cd7cec6c
2 changed files with 33 additions and 2 deletions

View File

@ -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
*-----------------------------------------------*/

View File

@ -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) {