forked from tttp/ecimap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap.css
129 lines (105 loc) · 2.08 KB
/
map.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
89
90
91
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
#ecimap {
width : 960px;
height: 700px;
}
.title {
font-size: 80px;
font-family:"Open Sans", sans-serif;
fill:darkgreen;
text-shadow: white 2px 2px;
}
.country {
/*fill: #ddd;*/
stroke: white;
stroke-width:0;
}
.over {
opacity:0.8;
transition: opacity 500ms linear, stroke-width 500ms linear;
stroke-width:1px;
}
.country-label {
fill: #000;
fill-opacity: .5;
font-size: 10px;
font-weight: 300;
text-anchor: middle;
font-family: Arial, Helvetica, sans-serif;
}
.city-label {
fill: #000;
fill-opacity: .5;
font-size: 10px;
font-weight: 300;
text-anchor: middle;
font-family: Arial, Helvetica, sans-serif;
display:none;
pointer-events: none;
}
.city {
pointer-events: none;
fill-opacity: .7;
display:none;
}
.city.active {
display:block;
}
.city.capital {
pointer-events: none;
fill-opacity: .5;
display:block;
}
.city-label.active {
display:block;
}
.tooltip {
position: absolute;
width: 150px;
padding: 2px;
font: 12px sans-serif;
background: #eee;
border: 0px;
border-radius: 5px;
pointer-events: none;
border: 1px solid rgba(0,0,0,.2);
z-index: 10000;
transition: opacity 500ms linear;
-moz-transition: opacity 500ms linear;
-webkit-transition: opacity 500ms linear;
transition-delay: 500ms;
-moz-transition-delay: 500ms;
-webkit-transition-delay: 500ms;
-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
box-shadow: 0 5px 10px rgba(0,0,0,.2);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.tooltip h2 {
margin:0;
padding:2px 10px;
background:white;
border-radius: 5px;
text-align: center;
}
.tooltip ul {
padding:0;
margin:0;
}
.tooltip li {
padding:0 0 0 5px;
margin:0 0 0 5px;
}
.tooltip .body {
padding:2px 10px;
}
.map {
background:#EBF4FA;
}
.ocean {
fill:#F2F2F2 ;
}