xref: /aosp_15_r20/external/swiftshader/third_party/subzero/bloat/webtreemap.css (revision 03ce13f70fcc45d86ee91b7ee4cab1936a95046e)
1*03ce13f7SAndroid Build Coastguard Worker.webtreemap-node {
2*03ce13f7SAndroid Build Coastguard Worker  /* Required attributes. */
3*03ce13f7SAndroid Build Coastguard Worker  position: absolute;
4*03ce13f7SAndroid Build Coastguard Worker  overflow: hidden;   /* To hide overlong captions. */
5*03ce13f7SAndroid Build Coastguard Worker  background: white;  /* Nodes must be opaque for zIndex layering. */
6*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px black;  /* Calculations assume 1px border. */
7*03ce13f7SAndroid Build Coastguard Worker
8*03ce13f7SAndroid Build Coastguard Worker  /* Optional: CSS animation. */
9*03ce13f7SAndroid Build Coastguard Worker  -webkit-transition: top    0.3s,
10*03ce13f7SAndroid Build Coastguard Worker                      left   0.3s,
11*03ce13f7SAndroid Build Coastguard Worker                      width  0.3s,
12*03ce13f7SAndroid Build Coastguard Worker                      height 0.3s;
13*03ce13f7SAndroid Build Coastguard Worker}
14*03ce13f7SAndroid Build Coastguard Worker
15*03ce13f7SAndroid Build Coastguard Worker/* Optional: highlight nodes on mouseover. */
16*03ce13f7SAndroid Build Coastguard Worker.webtreemap-node:hover {
17*03ce13f7SAndroid Build Coastguard Worker  background: #eee;
18*03ce13f7SAndroid Build Coastguard Worker}
19*03ce13f7SAndroid Build Coastguard Worker
20*03ce13f7SAndroid Build Coastguard Worker/* Optional: Different background colors depending on symbol. */
21*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-bss {
22*03ce13f7SAndroid Build Coastguard Worker  background: #66C2A5;
23*03ce13f7SAndroid Build Coastguard Worker}
24*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-data {
25*03ce13f7SAndroid Build Coastguard Worker  background: #FC8D62;
26*03ce13f7SAndroid Build Coastguard Worker}
27*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-read-only_data {
28*03ce13f7SAndroid Build Coastguard Worker  background: #8DA0CB;
29*03ce13f7SAndroid Build Coastguard Worker}
30*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-code {
31*03ce13f7SAndroid Build Coastguard Worker  background: #E78AC3;
32*03ce13f7SAndroid Build Coastguard Worker}
33*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-weak_symbol {
34*03ce13f7SAndroid Build Coastguard Worker  background: #A6D854;
35*03ce13f7SAndroid Build Coastguard Worker}
36*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-bss.webtreemap-aggregate {
37*03ce13f7SAndroid Build Coastguard Worker  background: #B3E2CD;
38*03ce13f7SAndroid Build Coastguard Worker}
39*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-data.webtreemap-aggregate {
40*03ce13f7SAndroid Build Coastguard Worker  background: #FDCDAC;
41*03ce13f7SAndroid Build Coastguard Worker}
42*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-read-only_data.webtreemap-aggregate {
43*03ce13f7SAndroid Build Coastguard Worker  background: #CBD5E8;
44*03ce13f7SAndroid Build Coastguard Worker}
45*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-code.webtreemap-aggregate {
46*03ce13f7SAndroid Build Coastguard Worker  background: #F4CAE4;
47*03ce13f7SAndroid Build Coastguard Worker}
48*03ce13f7SAndroid Build Coastguard Worker.webtreemap-symbol-weak_symbol.webtreemap-aggregate {
49*03ce13f7SAndroid Build Coastguard Worker  background: #E6F5C9;
50*03ce13f7SAndroid Build Coastguard Worker}
51*03ce13f7SAndroid Build Coastguard Worker
52*03ce13f7SAndroid Build Coastguard Worker#legend > * {
53*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px #444;
54*03ce13f7SAndroid Build Coastguard Worker}
55*03ce13f7SAndroid Build Coastguard Worker
56*03ce13f7SAndroid Build Coastguard Worker/* Optional: Different borders depending on level. */
57*03ce13f7SAndroid Build Coastguard Worker.webtreemap-level0 {
58*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px #444;
59*03ce13f7SAndroid Build Coastguard Worker}
60*03ce13f7SAndroid Build Coastguard Worker.webtreemap-level1 {
61*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px #666;
62*03ce13f7SAndroid Build Coastguard Worker}
63*03ce13f7SAndroid Build Coastguard Worker.webtreemap-level2 {
64*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px #888;
65*03ce13f7SAndroid Build Coastguard Worker}
66*03ce13f7SAndroid Build Coastguard Worker.webtreemap-level3 {
67*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px #aaa;
68*03ce13f7SAndroid Build Coastguard Worker}
69*03ce13f7SAndroid Build Coastguard Worker.webtreemap-level4 {
70*03ce13f7SAndroid Build Coastguard Worker  border: solid 1px #ccc;
71*03ce13f7SAndroid Build Coastguard Worker}
72*03ce13f7SAndroid Build Coastguard Worker
73*03ce13f7SAndroid Build Coastguard Worker/* Optional: styling on node captions. */
74*03ce13f7SAndroid Build Coastguard Worker.webtreemap-caption {
75*03ce13f7SAndroid Build Coastguard Worker  font-family: sans-serif;
76*03ce13f7SAndroid Build Coastguard Worker  font-size: 11px;
77*03ce13f7SAndroid Build Coastguard Worker  padding: 2px;
78*03ce13f7SAndroid Build Coastguard Worker  text-align: center;
79*03ce13f7SAndroid Build Coastguard Worker}
80*03ce13f7SAndroid Build Coastguard Worker
81*03ce13f7SAndroid Build Coastguard Worker/* Optional: styling on captions on mouse hover. */
82*03ce13f7SAndroid Build Coastguard Worker/*.webtreemap-node:hover > .webtreemap-caption {
83*03ce13f7SAndroid Build Coastguard Worker  text-decoration: underline;
84*03ce13f7SAndroid Build Coastguard Worker}*/
85