-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
113 lines (99 loc) · 1.89 KB
/
main.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
html {
font-family: 'Roboto', sans-serif;
}
body {
font-size: 16px;
line-height: 20px;
margin: 0;
background-color: #000000;
color: white;
}
html, body, #app, .fullHeight, .map {
height: 100%;
}
.mapContainer {
height: 100%;
position: relative;
}
.mapContainer.drawerClosed {
margin-right: 0;
}
.mapContainer.drawerOpen {
/* transition is copied from drawer, so it follows its animation */
transition: margin 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
margin-right: 256px;
}
.mainMenuButton {
position: absolute;
top: 10px;
right: 10px;
z-index: 500;
}
.menu-inset {
margin: 0px 16px;
}
.basemap-selector {
margin: 0px 8px;
}
.basemap-selector-item {
width: 33%;
float: left;
cursor: pointer;
}
.basemap-selector-item-inner:hover {
background-color: #88bcd4;
}
.basemap-selector-current {
background-color: #00bcd4;
}
.basemap-selector-item-inner {
transition: background-color 500ms;
padding: 8px;
}
.basemap-selector-item img {
display: block;
width: 100%;
}
.leaflet-container {
background: none;
}
.leaflet-tile {
image-rendering: pixelated;
image-rendering: crisp-edges;
}
.control-box {
margin: 10px;
padding: .5em .5em;
background-color: rgba(255,255,255, .95);
}
.coords-display {
position: absolute;
left: 36px;
padding: .5em 1em;
color: black;
}
.claim-name {
text-shadow: black 0px 0px 5px;
pointer-events: none !important;
/* http://howtocenterincss.com/#contentType=text&container.width=200px&container.height=200px&horizontal=center&vertical=middle&browser.IE=none
setting fixed width/height is done by leaflet
*/
display:flex;
text-align: center;
justify-content:center;
align-items:center;
}
.center-outer {
display: table;
position: absolute;
height: 100%;
width: 100%;
}
.center-middle {
display: table-cell;
vertical-align: middle;
}
.center-inner {
margin-left: auto;
margin-right: auto;
}