all repos — onyx @ cd2f0ab2ecf8763f37ef3988ef01313a7529ace2

minimal map annotation and location data sharing tool

static/style.css (raw)

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
* {
  padding: 0;
  margin: 0;
}

button, input, textarea {
  -webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline-style: none;
  min-width: 25px;
}

body {
  align: center;
}

#mapControls {
  position: relative;
  width: 100vw;
  background: black;
  height: 2em;
  padding: 0;
  box-sizing: border-box;
  z-index: 3;
}

#subControls {
  backgorund: transparent;
  float: right;
  height: 2em;
  padding: 0;
  box-sizing: border-box;
}

#mapControls button {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

#map {
  display: block;
  position: relative;
  height: calc(100vh - 2.5em);
  width: 100vw;
  z-index: 1;
}

#modal-container {
  background: #222222;
  color: #c9c9c9;
  position: fixed;
  width: 1200px;
  max-width: 80vw;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  max-height: 80%;
  z-index: 4;
  text-align: left;
  display: none;
}

#modal-container h2 {
  text-align: center;
  font-size: 200%;
  font-wieght: normal;
  text-transform: uppercase;
  line-height: 2em;
}

#modal-content {
  margin: 2em;
    text-align: right;
}

#modal-content label{
  display: block;
  float: left;
  text-transform: uppercase;
  background: dimgray;
  color: black;
}

#modal-content input[type="text"], #modal-content textarea {
  display: block;
  width: 100%;
  font-size: 150%;
  color: #c9c9c9;
  background: transparent;
  border: none;
  border: solid 2px dimgray;
  margin-bottom: 1em;
  font-family: sans-serif;
  box-sizing: border-box;
  padding: 0.5em;
  background: rgba(0, 0, 0, 0.5);

}

#modal-content textarea {
  resize: none;
  height: 8em;
}

button.closeBtn {
  float: right;
  background: transparent;
  font-size: 200%;
  border: none;
  color: #c9c9c9;
  padding: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
}

button.closeBtn:hover {
  color: crimson;
}

button#modal-submitBtn {
  font-size: 150%;
  background: black;
  color: #c9c9c9;
  border: none;
  border-left: solid 2px dimgray;
  border-right: solid 2px dimgray;
  position: relative;
  margin-left: auto;
  padding: 0.25em;
  text-transform: uppercase;
}