-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathL.Control.BetterScale.css
59 lines (59 loc) · 1.23 KB
/
L.Control.BetterScale.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
.leaflet-control-better-scale {
height: 15px;
}
.leaflet-control-better-scale-upper-first-piece {
top: 0%;
left: 0%;
width: 25%;
}
.leaflet-control-better-scale-upper-second-piece {
top: 0%;
left: 50%;
width: 25%;
}
.leaflet-control-better-scale-lower-first-piece {
top: 50%;
left: 25%;
width: 25%;
}
.leaflet-control-better-scale-lower-second-piece {
top: 50%;
left: 75%;
width: 30%;
}
.leaflet-control-better-scale-ruler-block {
overflow: hidden;
position: absolute;
height: 50%;
background-color: #444444;
}
.leaflet-control-better-scale-ruler {
overflow: hidden;
position: relative;
width: 100%;
height: 7px;
background-color: White;
border: 1px solid #444444;
}
.leaflet-control-better-scale-label-div {
position: relative;
width: 100%;
}
.leaflet-control-better-scale-label {
position: absolute;
width: 10%;
text-align: center;
color: #fff;
font: sans-serif;
font-weight: bold;
font-size: 12px;
height: 5px;
top: -1px;
text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}
.leaflet-control-better-scale-first-number {
left: 45%;
}
.leaflet-control-better-scale-second-number {
left: 95%;
}