-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyles.css
More file actions
54 lines (47 loc) · 766 Bytes
/
styles.css
File metadata and controls
54 lines (47 loc) · 766 Bytes
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
body {
margin: 0;
}
#map {
width: 100vw;
height: 90vh;
}
#controls {
height: 10vh;
box-sizing: border-box;
white-space: nowrap;
overflow-x: auto;
display: flex;
align-items: center;
}
#loader {
position: absolute;
left: 0;
right: 0;
margin: auto;
z-index: 2;
width: 50%;
transform: translateY(calc(45vh - 50%));
opacity: 0;
visibility: hidden;
transition: .2s;
}
#loader.is-active {
opacity: 1;
visibility: visible;
}
button {
background: white;
border-radius: .5em;
text-transform: uppercase;
padding: 1em 4em;
color: black;
box-shadow: 0 2px 5px rgba(0,0,0,.3);
border: none;
margin: 0 1em;
cursor: pointer;
outline: 0;
}
button:hover, button.is-active {
background: #82a467;
color: white;
}