-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
140 lines (111 loc) · 1.86 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
p5 {
font-weight: bold;
font-size: 16px;
margin-left: 10;
}
p1{
margin-left: 10;
}
p2{
margin-left: 10;
}
p3{
margin-left: 10;
}
p4{
margin-left: 10;
}
p6{
margin-left: 10;
}
p7{
margin-left: 10;
}
h2 {
margin-left: 10;
}
.title {
font-weight: bold;
font-size: 16px;
}
.brush rect.extent {
fill: steelblue;
fill-opacity: .125;
}
.brush .resize path {
fill: #eee;
stroke: #666;
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 12px;
font-weight: 400;
background-color: #fff;
margin-top: 10px;
}
.bar {
fill: red;
}
#crime-type-chart .x.axis text {
text-anchor: end;
}
#crime-type-chart svg {
overflow: visible;
}
#date-chart .x.axis text {
text-anchor: end;
}
#date-chart svg {
overflow: visible;
}
#neighborhood-chart .x.axis text {
text-anchor: end;
}
#neighborhood-chart svg {
overflow: visible;
}
.bar {
fill-opacity: 0.6;
transition: fill-opacity 250ms linear;
}
.brush-handle {
fill: #eee;
stroke: #666;
}
path {
stroke: white;
stroke-width: 0.25px;
fill: grey;
}
/* On mouse hover, lighten state color */
path:hover {
fill-opacity: .7;
}
.reset {
padding-left: 1em;
font-size: smaller;
color: #ccc;
}
/* Style for Custom Tooltip */
div.tooltip {
position: absolute;
text-align: center;
width: 70px;
height: 40px;
padding: 2px;
font: 12px sans-serif;
background: white;
border: 0px;
border-radius: 10px;
pointer-events: none;
}
/* following code block inspiration: http://bl.ocks.org/stevenae/8362841*/
.q8-9 { fill:#b2182b; }
.q7-9 { fill:#d6604d; }
.q6-9 { fill:#f4a582; }
.q5-9 { fill:#fddbc7; }
.q4-9 { fill:#f7f7f7; }
.q3-9 { fill:#d1e5f0; }
.q2-9 { fill:#92c5de; }
.q1-9 { fill:#4393c3; }
.q0-9 { fill:#2166ac; }