-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
70 lines (51 loc) · 1.02 KB
/
index.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* D3 js */
@import "fx-mixins";
.node {
cursor: pointer;
}
.node:hover {
stroke: #FFFFFF;
stroke-width: 1.5px;
}
.node--leaf {
fill: white;
opacity: 0.2;
}
.label {
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
text-anchor: middle;
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff;
}
.quantity {
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
text-anchor: middle;
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff;
}
.label,
.node--root{
pointer-events: none;
}
div.tooltip {
position: absolute;
text-align: center;
padding: 5px;
font: 12px sans-serif;
background: white;
border: 0px;
pointer-events: none;
-webkit-box-shadow: 0px 4px 3px 0px rgba(50, 50, 50, 0.27);
-moz-box-shadow: 0px 4px 3px 0px rgba(50, 50, 50, 0.27);
box-shadow: 0px 4px 3px 0px rgba(50, 50, 50, 0.27);
}
// Bar 1
#bar1 {
height:150px;
width: 300px;
display: block;
}
#mask1{
position: absolute;
}
#bar1 .bar {
fill: red;
}