UNPKG

profile_flame

Version:

A javascript lib renders profile flame graph based on d3.js.

96 lines (79 loc) 1.65 kB
.profile-flame { font-size: 12px !important; font-family: sans-serif; margin: 5px; overflow: scroll !important; } .profile-flame-toolbar { width: 220px; height: 30px; float: right; } .profile-flame-toolbar button{ background-color: white; border: 2px lightgrey solid; border-right: 0; float: left; font-weight: 900; font-size: 20px; width: 40px; height: 30px; line-height: 26px; cursor: pointer; } .profile-flame-toolbar button:focus{ outline: none; } .profile-flame-toolbar button:hover{ background-color: lightblue; } .profile-flame-toolbar button:last-child{ border-right: 2px lightgrey solid; border-top-right-radius: 5px; border-bottom-right-radius: 5px; } .profile-flame-toolbar input{ padding-left: 4px; float: left; width: 100px; height: 30px; line-height: 26px; border: 2px lightgrey solid; border-right: 0; border-top-left-radius: 5px; border-bottom-left-radius: 5px; } .profile-flame .tooltip text { font-size: 14px; } .profile-flame g.node.on-search rect { fill-opacity: 1; /*fill: #ed5565;*/ /*fill: red;*/ fill: #CC00CC; } .profile-flame g.node rect { stroke: #eeeeee; fill-opacity: .8; stroke-width: .5; cursor: pointer; } .profile-flame g.virtual rect{ fill-opacity: .6; } .profile-flame g.specified rect{ fill: #284B63; } .profile-flame g.focus rect { fill-opacity: 1; } .profile-flame g.node text { cursor: pointer; } .profile-flame g.node tspan.highlightFunction{ cursor: pointer; font-weight: bolder; } .hide { display: none; }