author | nowmad@nowmads-macbook-pro.local |
Fri, 15 Jan 2016 15:49:42 +0100 | |
changeset 84 | 36f84e8f1ad5 |
parent 68 | 69977e2aa39e |
child 95 | f7ab931581af |
permissions | -rw-r--r-- |
84 | 1 |
#chart_div { |
68
69977e2aa39e
improve general design of components
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
2 |
width: 560px; |
69977e2aa39e
improve general design of components
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
3 |
height: 540px; |
84 | 4 |
background: #ddd; |
68
69977e2aa39e
improve general design of components
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
5 |
} |
84 | 6 |
|
7 |
text { |
|
8 |
pointer-events: none; |
|
9 |
} |
|
10 |
||
11 |
.grandparent text { |
|
12 |
font-weight: bold; |
|
13 |
} |
|
14 |
||
15 |
rect { |
|
16 |
/*fill: none;*/ |
|
17 |
stroke: #fff; |
|
18 |
} |
|
19 |
||
20 |
rect.parent, |
|
21 |
.grandparent rect { |
|
22 |
stroke-width: 2px; |
|
23 |
} |
|
24 |
||
25 |
.grandparent rect { |
|
26 |
fill: green; |
|
27 |
} |
|
28 |
||
29 |
.grandparent:hover rect { |
|
30 |
fill: lightgreen; |
|
31 |
} |
|
32 |
||
33 |
.children rect.parent, |
|
34 |
.grandparent rect { |
|
35 |
cursor: pointer; |
|
36 |
} |
|
37 |
||
38 |
.children rect.parent { |
|
39 |
/*fill: #bbb;*/ |
|
40 |
fill-opacity: .5; |
|
41 |
} |
|
42 |
||
43 |
.children:hover rect.child { |
|
44 |
/*fill: #bbb;*/ |
|
45 |
} |