mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
libsysprof-gtk: add specialized symbol label for descendants
This allows us to provide a bit more context to things in the descendants callgraph based on the symbol. Context switches get specialized highlight as well as All Processes and Processes nodes.
This commit is contained in:
@ -30,5 +30,33 @@ progresscell label.in-progress {
|
||||
color: @accent_fg_color;
|
||||
}
|
||||
|
||||
callgraphview {
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
callgraphview treeexpander indent { -gtk-icon-size: 8px; }
|
||||
callgraphview treeexpander indent:nth-child(n+20) { -gtk-icon-size: 0px; }
|
||||
|
||||
callgraphview symbol {
|
||||
margin: -1px -3px;
|
||||
padding: 1px 6px;
|
||||
}
|
||||
callgraphview symbol.context-switch,
|
||||
callgraphview symbol.process,
|
||||
callgraphview symbol.root,
|
||||
callgraphview symbol.unwindable {
|
||||
font-weight: 600;
|
||||
}
|
||||
callgraphview row:not(:selected) treeexpander expander:checked+box symbol.process,
|
||||
callgraphview row:not(:selected) treeexpander expander:checked+box symbol.root {
|
||||
border-radius: 9999px;
|
||||
background-color: alpha(currentColor, .05);
|
||||
}
|
||||
callgraphview row:not(:selected) treeexpander symbol.context-switch {
|
||||
border-radius: 9999px;
|
||||
background-color: alpha(@warning_color, .1);
|
||||
}
|
||||
callgraphview row:not(:selected) treeexpander symbol.unwindable {
|
||||
border-radius: 9999px;
|
||||
background-color: alpha(@error_color, .1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user