forked from species/transfor-map
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Leaflet.EditInOSM.css
54 lines (52 loc) · 1.42 KB
/
Leaflet.EditInOSM.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
.leaflet-control-edit-in-osm-simple,
.leaflet-control-edit-in-osm {
background: none repeat scroll 0 0 #F8F8F9;
border: 1px solid #888888;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}
.leaflet-control-edit-in-osm .leaflet-control-edit-in-osm-toggle {
background-position: 50% 50%;
background-repeat: no-repeat;
height: 36px;
width: 36px;
display: block;
}
.leaflet-control-edit-in-osm .leaflet-control-edit-in-osm-toggle {
background-image: url("assets/edit-in-osm.png");
}
.leaflet-control-edit-in-osm .osm-editor + .osm-editor {
border-left: 1px solid black;
}
.leaflet-control-edit-in-osm-simple a.osm-editor,
.leaflet-control-edit-in-osm a.osm-editor {
display: none;
height: 36px;
min-width: 36px;
text-align: center;
line-height: 36px;
color: #333;
padding: 0 5px;
text-decoration: none;
font-family: sans-serif;
}
.leaflet-control-edit-in-osm-simple a.osm-editor,
.leaflet-control-edit-in-osm:hover a.osm-editor {
display: inline-block;
}
a.osm-editor:hover {
box-shadow: 0 0 2px 0 black inset;
}
.leaflet-control-edit-in-osm:hover .leaflet-control-edit-in-osm-toggle {
display: none;
}
.leaflet-control-edit-hidden {
display: block;
opacity: 0.5;
}
.leaflet-control-edit-hidden:hover a.osm-editor {
display:none;
}
.leaflet-control-edit-hidden:hover .leaflet-control-edit-in-osm-toggle {
display: block;
}