-
Notifications
You must be signed in to change notification settings - Fork 0
/
firerisk-d3viz.css
127 lines (108 loc) · 1.73 KB
/
firerisk-d3viz.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
body {
font: 10px sans-serif;
}
svg {
display: block;
}
.chart-title {
font-size: 22px;
}
.caption {
font-size: 15px;
}
#reset-zoom {
top: 20px;
left: 20px;
}
.view {
fill: white;
}
.counties {
fill: #eee;
stroke: #000;
stroke-width: 0.2px;
}
.county-path:hover {
stroke: #111;
stroke-width:0.5px;
/* opacity: 0.55; */
}
.zipcodes {
fill: #f9f9e3;
stroke: #333;
stroke-width: 0.1px;
/* opacity: 0.70; */
}
.zipcode-path:hover {
stroke: #111;
stroke-width: 0.1px;
fill: #a8ddb5;
/* opacity: 1; */
}
#map-container {
float: left;
}
#details-container {
float: left;
}
#zipcode-details {
margin-bottom: 10px;
}
#variable-container {
margin-bottom: 10px;
}
#weather-container {
margin-bottom: 10px;
}
.tick line{
opacity: 0.2;
stroke-dasharray: 5,5;
}
details {
border: 1px solid #aaa;
border-radius: 4px;
padding: .5em .5em 0;
}
summary {
font-weight: bold;
margin: -.5em -.5em 0;
padding: .5em;
}
details[open] {
padding: .5em;
}
details[open] summary {
border-bottom: 1px solid #aaa;
margin-bottom: .5em;
}
/*
* https://rawgit.com/Caged/d3-tip/master/examples/example-styles.css
* */
.d3-tip, .d3-tip-zips, .d3-tip-county {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 5px;
pointer-events: none;
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after, .d3-tip-zips:after, .d3-tip-county:after {
box-sizing: border-box;
display: inline;
font-size: 10px;
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
position: absolute;
pointer-events: none;
}
.tip-li {
display: block;
font-size: 9px;
font-weight: lighter;
}
.hidden {
display: none;
}