-
Notifications
You must be signed in to change notification settings - Fork 8
/
styles.css
executable file
·152 lines (134 loc) · 3.15 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
141
142
143
144
145
146
147
148
149
150
151
152
body {
margin: 0;
}
.map {
position: relative;
overflow: hidden;
}
.layer {
position: absolute;
width: 100%;
height: 100%;
}
.layer svg {
width: 100%;
height: 100%;
}
.form-group {
margin: 30px 0;
height: 40px;
}
.controls {
position: absolute;
background: rgba(255,255,255,.9);
z-index: 1;
padding: 20px;
height: 100%;
overflow: scroll;
box-sizing: border-box;
}
.controls .type {
line-height: 1.1;
margin: 0 0 0 20px;
color: #808080;
}
.controls .toggle {
float: right;
padding: 2px 8px;
opacity: .5;
}
.controls .toggle:hover {
opacity: 1;
}
.layer-toggle {
list-style-type: none;
margin: 0;
padding: 0;
}
.layer-toggle input {
margin-right: 5px;
}
.zoom-container {
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
border-radius: 4px;
width: 26px;
position: absolute;
top: 10px;
right: 10px;
}
a.zoom {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
text-decoration: none;
color: black;
cursor: pointer;
}
a.zoom:hover {
background-color:#f4f4f4;
}
a.zoom:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
a.zoom:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.tile {
position: absolute;
width: 256px;
height: 256px;
}
.tile path {
fill: none;
stroke: #fff;
stroke-linejoin: round;
stroke-linecap: round;
}
.tile .water-layer, .tile .river, .tile .stream, .tile .canal { fill: none; stroke: #9DD9D2; stroke-width: 1.5px; }
.tile .water, .tile .ocean { fill: #9DD9D2; }
.tile .riverbank { fill: #9DD9D2; }
.tile .water-boundary, .tile .ocean-boundary, .tile .riverbank-boundary { fill: none; stroke: #93cbc4; stroke-width: 0.5px; }
.tile .transit-layer { stroke: #FB7B7A; stroke-width: 2px; }
.tile .major-road { stroke: #FB7B7A; stroke-width: 1px; }
.tile .minor-road { stroke: #999; stroke-width: 0.5px; }
.tile .highway { stroke: #FA4A48; stroke-width: 1.5px; }
.tile .buildings-layer { stroke: #987284; stroke-width: 0.15px; }
.tile .park, .tile .nature-reserve, .tile .wood, .tile .protected-land { fill: #88D18A; stroke: #88D18A; stroke-width: 0.5px; }
.tile .rail { stroke: #503D3F; stroke-width: 0.5px; }
.tile .pois-layer, .tile .places-layer { fill: #999; }
.z14 .tile .major-road, .z15 .tile .major-road { stroke-width: 2px; }
.z14 .tile .highway, .z15 .tile .highway { stroke-width: 3px; }
.z16 .tile .minor-road, .z17 .tile .minor-road { stroke-width: 1.5px; }
.z16 .tile .major-road, .z17 .tile .major-road { stroke-width: 3px; }
.z16 .tile .highway, .z17 .tile .highway { stroke-width: 4px; }
.info {
position: absolute;
bottom: 0px;
right: 0px;
background: #fff;
background: rgba(255, 255, 255, 0.8);
margin: 0;
padding: 0px 5px;
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
font-size: 11px;
}
.info a {
text-decoration: none;
color: #0078a8;
}
.info a:hover {
text-decoration: underline;
}
/* For non touch devices, move control out of the way at small window widths */
@media (max-width: 752px) {
/* 767px - 15px for scrollbar */
.mapzen-demo-iframed .zoom-container {
top: 50px;
}
}