2 /* Required attributes. */
4 overflow: hidden
; /* To hide overlong captions. */
5 background: white
; /* Nodes must be opaque for zIndex layering. */
6 border: solid
1px black
; /* Calculations assume 1px border. */
8 /* Optional: CSS animation. */
9 -webkit-transition: top
0.3s,
15 /* Optional: highlight nodes on mouseover. */
16 .webtreemap-node:hover {
20 /* Optional: Different background colors depending on symbol. */
21 .webtreemap-symbol-bss {
24 .webtreemap-symbol-data {
27 .webtreemap-symbol-read-only_data {
30 .webtreemap-symbol-code {
33 .webtreemap-symbol-weak_symbol {
36 .webtreemap-symbol-bss.webtreemap-aggregate {
39 .webtreemap-symbol-data.webtreemap-aggregate {
42 .webtreemap-symbol-read-only_data.webtreemap-aggregate {
45 .webtreemap-symbol-code.webtreemap-aggregate {
48 .webtreemap-symbol-weak_symbol.webtreemap-aggregate {
53 border: solid
1px #444;
56 /* Optional: Different borders depending on level. */
58 border: solid
1px #444;
61 border: solid
1px #666;
64 border: solid
1px #888;
67 border: solid
1px #aaa;
70 border: solid
1px #ccc;
73 /* Optional: styling on node captions. */
75 font-family: sans-serif
;
81 /* Optional: styling on captions on mouse hover. */
82 /*.webtreemap-node:hover > .webtreemap-caption {
83 text-decoration: underline;