-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
145 lines (124 loc) · 1.94 KB
/
style.css
File metadata and controls
145 lines (124 loc) · 1.94 KB
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
141
142
143
144
145
/*Main CSS for entire site*/
html body {
width:100%;
height:100%;
padding: 0;
margin: 0;
font-family: sans-serif, arial;
}
#header {
position:absolute;
overflow:auto;
top:0;
left:0;
right:0;
padding: 10px;
/*background-color: #efefef;*/
}
#title {
float:left;
padding-left:10px;
}
#title H1 {
margin-top:0;
margin-bottom:0;
}
/*Navigation Links*/
#nav {
float: right;
}
#nav ul {
margin:0;
}
#nav li {
display: inline-block;
padding: 0.75em;
margin-left: 10px;
background-color: rgba(0,0,0,1);
color: white;
text-align: center;
width: 110px;
border-radius: 4px;
}
#nav li:hover {
background-color: rgba(0,0,0,0.5);
cursor: pointer;
}
/*Main Map*/
#map {
position: absolute;
bottom: 0;
left: 0;
right: 0;
top:62px;
border-top: 1px solid rgba(190,190,190,1);
background-color: gray;
}
/*Legend Filter*/
#layer-filter {
position: absolute;
bottom: 25px;
left: 25px;
background-color: #fff;
border: 1px solid #999;
border-radius: 4px;
}
#layer-filter ul {
padding:0;
margin:0;
list-style-type: none;
}
#layer-filter li {
padding:10px;
border-bottom: 1px solid #999;
}
#layer-filter li:hover {
background-color: #999;
cursor:pointer;
}
#layer-filter li.selected {
background-color: #000;
color:#FFF;
}
/*Month Selector*/
#month-filter {
position: absolute;
bottom: 30px;
left: 30px;
background-color: #fff;
border: 1px solid #999;
border-radius: 4px;
padding-left:5px;
}
#month-filter ul {
padding:0;
margin:0;
list-style-type: none;
}
#month-filter li {
padding: 10px;
margin-left:-5px;
display:inline-block;
border-right: 1px solid #999;
}
#month-filter li:hover {
background-color: #999;
cursor:pointer;
}
#month-filter li.selected {
background-color: #000;
color:#FFF;
}
/*#footer {
position: absolute;
bottom: 0px;
left:0px;
right:0px;
width: 100%;
padding:20px;
background-color: #efefef;
}
*/
div.cartodb-legend.choropleth li.min {
margin: 0 15px 5px;
}