-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
executable file
·167 lines (141 loc) · 3.32 KB
/
index.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
* {
margin: 0;
padding: 0; }
*, *:before, *:after {
box-sizing: border-box; }
body {
height: 100vh;
overflow: hidden; }
#map {
width: 100vw;
height: 100%; }
#mapLayers {
position: fixed;
top: 1vh;
left: 1vw;
z-index: 10000;
}
.mapLayer {
border: 1px solid rgba(80,80,80,1);
border-radius: 6px;
display: inline-block;
width: calc(20px + 2.5vw);
height: calc(20px + 2.5vw);
background-color: blue;
cursor: pointer;
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
#menu {
position: fixed;
top: 1vh;
right: 1vw;
z-index: 10000; }
#sources {
padding: 4px;
background-color: rgba(255,255,255, 0.8);
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
font: 10px 'Lucida Console', 'Monaco', monospace;
position: fixed;
left: 1vw;
bottom: 1vh;
z-index: 10000; }
#sources a {
text-decoration: none; }
#speciesInput {
padding: 2px 2px 0 2px;
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
font: 10px 'Lucida Console', 'Monaco', monospace; }
/*this is the little cicle that has the number of lakes in the area*/
.marker-cluster {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
justify-content: center;
align-items: center;
padding-top: 1px;
color: white;
border-radius: 50%;
width: 25px;
max-width: 25px;
height: 25px;
max-height: 25px;
box-shadow: 5px -1px 7px 1px rgba(0,0,0,0.4);
background-image: linear-gradient(rgb(70,152,208), rgb(25,117,200));
border: 1px solid rgb(56,130,182);
font: bold 10px 'Lucida Console', 'Monaco', monospace;
text-shadow: -1px 0 rgb(56,130,182), 0 1px rgb(56,130,182), 1px 0 rgb(56,130,182), 0 -1px rgb(56,130,182); }
/*popup content*/
#popupContent {
max-width: 600px;
z-index: 1000;
}
#popupCounty {
margin: 8px 0;
}
#popupAfterLoad {
display: none;
}
.popupTitle {
font-size: 14px;
font-weight: bold;
text-align: center; }
.popupDetail {
font-size: 10px;
text-align: right; }
.popupInfo {
text-align: left; }
.popupHR {
margin: 13px auto;
width: 80%;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
}
.popupFlex {
display: flex;
justify-content: space-around;
font: 10px 'Lucida Console', 'Monaco', monospace;
}
#popupLink {
text-decoration: none;
}
/*popup loader*/
#popupLoader {
text-align: center;
margin: 20px; }
#popupLoader div {
display: inline-block;
width: 3px;
margin: 2px;
height: 20px;
background-image: linear-gradient(rgb(70,152,208), rgb(25,117,200)); }
#popupLoader div:nth-child(1){ animation: load 1s ease-in-out infinite; }
#popupLoader div:nth-child(2){ animation: load 1s ease-in-out 150ms infinite; }
#popupLoader div:nth-child(3){ animation: load 1s ease-in-out 300ms infinite; }
#popupLoader div:nth-child(4){ animation: load 1s ease-in-out 450ms infinite; }
#popupLoader div:nth-child(5){ animation: load 1s ease-in-out 600ms infinite; }
@keyframes load{
0%, 100%{
-webkit-transform: scaleY(1);
-ms-transform: scaleY(1);
-o-transform: scaleY(1);
transform: scaleY(1); }
50%{
-webkit-transform: scaleY(1.8);
-ms-transform: scaleY(1.8);
-o-transform: scaleY(1.8);
transform: scaleY(1.8); }
}
@media (max-width: 700px) {
#popupLake,
#popupContent > div:nth-child(2),
#popupDetails,
#popupAfterLoad > hr {
display: none;
}
.leaflet-popup-content {
margin: 4px 8px;
}
}