Newer
Older
/*
Do not touch classes with 'leaflet' in them!
They're Leaflet's own classes
*/
Taneli Riihimäki
committed
overflow: hidden;
}
.hidden {
display: none;
}
/* UserMap */
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
position: absolute;
margin-top: 50px;
height: 95vh;
width: 100vw;
}
/* Header */
div.header {
position: absolute;
top: 0;
height: 50px;
width: 100%;
background: white;
z-index: 1000;
}
div.header button {
transition-property: background-color;
transition-duration: 0.5s;
transition-timing-function: ease;
background-color: #279fd9;
color: white;
font-weight: bold;
border: 0px;
padding: 0.5em;
margin: 0em 1em;
width: 10%;
height: 100%;
font-size: 18px;
float: right;
}
div.header button:hover {
background-color: darkblue;
cursor: pointer;
}
/* Login&RegisterForm */
div.fade-main {
Taneli Riihimäki
committed
position: fixed;
height: 100vh;
width: 100vw;
margin: auto;
text-align: center;
background-color: rgba(0, 0, 0, 0.85);
}
div.sticky {
position: fixed;
top: 0px;
right: 0px;
height: 100px;
width: 100px;
margin-right: 150px;
}
.close {
position: fixed;
color: #f1f1f1;
Taneli Riihimäki
committed
height: 85px;
font-size: 100px;
font-weight: bold;
transition: transform 0.4s ease-in-out;
line-height: 70%;
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
Taneli Riihimäki
committed
transform: rotate(90deg);
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
}
div.login {
height: 60vh;
width: 40vw;
margin: auto;
margin-top: 5%;
padding-top: 25px;
}
div.login h1 {
color: rgb(0, 200, 255);
margin-bottom: 0.5em;
font-size: 3em;
}
div.login h2 {
color: rgb(255, 0, 0);
margin-top: 2em;
font-size: 1.5em;
}
div.login input {
background: none;
border: none;
outline: none;
width: 60%;
padding: 12px 20px;
margin-bottom: 1em;
display: inline-block;
box-sizing: border-box;
font-size: 180%;
color: white;
border-bottom: 3px solid rgb(0, 200, 255);
}
div.login button {
transition-property: background-color;
transition-duration: 0.5s;
transition-timing-function: ease;
background-color: #279fd9;
color: white;
font-weight: bold;
border: 0px;
padding: 0.5em;
margin: 0em 2em;
width: 20%;
font-size: 20px;
}
div.login button:hover {
background-color: darkblue;
cursor: pointer;
}
/* Editing text button in the toolbar */
.leaflet-draw-toolbar .leaflet-draw-draw-textbox {
background-image: url('icons/button-textbox.png');
background-size: 30px 30px;
}
/* by default leaflet doesn't allow selecting content in tooltips; overriding */
.leaflet-tooltip {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
pointer-events: auto;
cursor: auto;
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
pointer-events: auto;
}
/* Editing editable tooltips */
.editable {
cursor: text; /* the cursor icon doesn't change by default when hovering on top of the text; overriding */
min-width: 120px;
min-height: 18px;
}
/* placeholder text for tooltip */