forked from Mikkopoika/mapcolorizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapcolorizer.css
89 lines (79 loc) · 1.75 KB
/
mapcolorizer.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
76
77
78
79
80
81
82
83
84
85
86
87
88
/* CSS for the mapcolorizer.js */
/* area name on map */
.mapcolorizer .areaname {
color: #000;
font-size: 11px;
text-shadow: 0px 1px 2px #fff;
left: -10px;
pointer-events: none;
}
/* area name on hover */
.mapcolorizer .areanamehover {
color: #000;
font-size: 18px;
text-shadow: 0px 2px 1px #fff;
top: -40px;
left: -40px;
pointer-events: none;
}
.mapcolorizer .areanamehover span {
background: rgba(255, 255, 255, 0.7);
padding: 0 4px;
box-shadow: 1px 1px 3px #555;
white-space: nowrap;
}
/* legend box, showing colors */
.mapcolorizer .info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: rgba(255, 255, 255, 0.8);
border-radius: 5px;
box-shadow: 0 1px 7px rgba(0, 0, 0, 0.65098);
cursor: pointer;
}
.mapcolorizer .info:hover {
background: #eee;
}
.mapcolorizer .info h4 {
margin: 0 0 5px;
color: #777;
}
.mapcolorizer .legend {
text-align: left;
line-height: 18px;
color: #555;
}
.mapcolorizer .legend i {
width: 18px;
height: 18px;
float: left;
margin-right: 8px;
opacity: 0.7;
}
/* zoom to fit control */
.mapcolorizer .info.zoomfit {
-webkit-user-select: none;
}
/* fullscreen control */
.mapcolorizer .info.full >span {
-webkit-user-select: none;
font-size: large;
display: block;
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
}
/* loading data state */
.mapcolorizer.wait {
opacity: 0.7;
}
.mapcolorizer.fullscreen {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
border: 0 !important;
z-index: 20000;
}