Debian Codegraph @

src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css

raw
1 body {
2 overflow: hidden; /* Want scrollbar not here, but in #stack-holder */
3 }
4 /* Scrollable container for flame graph */
5 #stack-holder {
6 width: 100%;
7 flex-grow: 1;
8 overflow-y: auto;
9 background: #eee; /* Light grey gives better contrast with boxes */
10 position: relative; /* Allows absolute positioning of child boxes */
11 }
12 /* Flame graph */
13 #stack-chart {
14 width: 100%;
15 position: relative; /* Allows absolute positioning of child boxes */
16 }
17 /* Holder for current frame details. */
18 #current-details {
19 position: relative;
20 background: #eee; /* Light grey gives better contrast with boxes */
21 font-size: 12pt;
22 padding: 0 4px;
23 width: 100%;
24 }
25 /* Shows details of frame that is under the mouse */
26 #current-details-left {
27 float: left;
28 max-width: 60%;
29 white-space: nowrap;
30 overflow-x: hidden;
31 }
32 #current-details-right {
33 float: right;
34 max-width: 40%;
35 white-space: nowrap;
36 overflow-x: hidden;
37 }
38 /* Background of a single flame-graph frame */
39 .boxbg {
40 border-width: 0px;
41 position: absolute;
42 overflow: hidden;
43 box-sizing: border-box;
44 background: #d8d8d8;
45 }
46 .positive { position: absolute; background: #caa; }
47 .negative { position: absolute; background: #aca; }
48 /* Not-inlined frames are visually separated from their caller. */
49 .not-inlined {
50 border-top: 1px solid black;
51 }
52 /* Function name */
53 .boxtext {
54 position: absolute;
55 width: 100%;
56 padding-left: 2px;
57 line-height: 18px;
58 cursor: default;
59 font-family: "Google Sans", Arial, sans-serif;
60 font-size: 12pt;
61 z-index: 2;
62 }
63 /* Box highlighting via shadows to avoid size changes */
64 .hilite { box-shadow: 0px 0px 0px 2px #000; z-index: 1; }
65 .hilite2 { box-shadow: 0px 0px 0px 2px #000; z-index: 1; }
66 /* Gap left between callers and callees */
67 .separator {
68 position: absolute;
69 text-align: center;
70 font-size: 12pt;
71 font-weight: bold;
72 }
73 /* Right-click menu */
74 #action-menu {
75 max-width: 15em;
76 }
77 /* Right-click menu title */
78 #action-title {
79 display: block;
80 padding: 0.5em 1em;
81 background: #888;
82 text-overflow: ellipsis;
83 overflow: hidden;
84 }
85 /* Internal canvas used to measure text size when picking fonts */
86 #textsizer {
87 position: absolute;
88 bottom: -100px;
89 }