author | ymh <ymh.work@gmail.com> |
Tue, 12 Apr 2016 13:42:04 +0200 | |
changeset 151 | 95dfb40ff3d2 |
parent 95 | f7ab931581af |
child 188 | d2cb39155997 |
permissions | -rw-r--r-- |
#chart_div { width: 100%; height: 540px; background: #ddd; } text { pointer-events: none; } .grandparent text { font-weight: bold; } rect { /*fill: none;*/ stroke: #fff; } rect.parent, .grandparent rect { stroke-width: 2px; } .grandparent rect { fill: green; } .grandparent:hover rect { fill: lightgreen; } .children rect.parent, .grandparent rect { cursor: pointer; } .children rect.parent { /*fill: #bbb;*/ fill-opacity: .5; } .children:hover rect.child { /*fill: #bbb;*/ }