-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
77 lines (66 loc) · 1.08 KB
/
styles.css
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
71
72
73
74
75
76
77
.x.axis path {
display: none;
}
/*
g.x.axis {
margin: 10px;
} SiFUu wieso funkt das nicht???
*/
.axis path {
fill: none;
stroke: #000;
stroke-width: 2px;
}
.axis line {
fill: none;
stroke: #000;
stroke-width: 2px;
shape-rendering: crispEdges;
}
text {
font: 14px sans-serif;
font-family: Arial;
font-weight: bold;
padding: 5px;
}
rect {
fill: #422255;
}
rect:hover{
fill: orange;
}
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
}
.d3-tip:after{
box-sizing: border-box;
display: inline;
font-size: 14px;
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
content: "\25BC";
position: absolute;
text-align: center;
}
.d3-tip.n:after {
margin: -1px 0 0 0;
top: 100%;
left: 0;
}
/*
SiFu: WIESO funktioniert das? Wieso brauche ich dieses Styling für die northwards-tips?
Code und Plugin siehe hier:
http://bl.ocks.org/Caged/6476579
außerdem: momentan code ich den text hard, vor allem die Text-tags. Geht das auch anders?;
*/
.line{
fill: none;
stroke: #E33;
stroke-width: 3px;
}