-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathleaflet_extras.css
75 lines (74 loc) · 1.75 KB
/
leaflet_extras.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
/**
* @file
* Leaflet CSS
*/
/* More robust zoomslider styles re different themes */
.leaflet-touch .leaflet-bar {
border-width: 3px;
border-color: #00000034;
}
.leaflet-control .leaflet-control-zoomslider-in::after {
content: "+";
}
.leaflet-control .leaflet-control-zoomslider-out::after {
content: "-";
}
.leaflet-control .leaflet-control-zoomslider-in,
.leaflet-control .leaflet-control-zoomslider-out {
font-size: 1.5rem;
font-family: monospace;
position: relative;
transform: none;
transition: none;
position: static;
}
.leaflet-control .leaflet-control-zoomslider-in::after,
.leaflet-control .leaflet-control-zoomslider-out::after {
display: block;
width: 100%;
border: none;
color: #555;
position: static;
transition: none;
}
.leaflet-control .leaflet-control-zoomslider-body {
box-sizing: content-box;
background-color: #555;
}
.leaflet-control .leaflet-control-zoomslider-knob {
margin: 0 !important;
left: -8px;
box-sizing: content-box;
}
.field-type-geofield.field-label-inline {
display: flex;
}
.field-type-geofield.field-label-inline .field-label,
.field-type-geofield.field-label-inline .field-items {
float: none;
}
.field-type-geofield.field-label-inline .field-items {
flex-grow: 1;
}
.field-type-geofield.field-label-inline .leaflet-container {
min-width: 280px;
}
/**
* Workaround for the one-pixel-gap in Chrome.
*
* @see https://github.com/backdrop-contrib/leaflet/issues/19
*/
.leaflet-container .leaflet-pane img.leaflet-tile {
mix-blend-mode: normal;
}
@supports (-webkit-appearance:none) and (not (-moz-appearance:none)) {
.leaflet-container .leaflet-pane img.leaflet-tile {
mix-blend-mode: plus-lighter;
}
}
/**
* Push admin bar above leaflet control containers.
*/
#admin-bar {
z-index: 1000;
}