forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap.css
More file actions
77 lines (76 loc) · 1.44 KB
/
map.css
File metadata and controls
77 lines (76 loc) · 1.44 KB
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
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.mapboxgl-popup {
max-width: none;
}
.mapboxgl-popup-tip {
width: 0;
height: 0;
border: 10px solid transparent;
z-index: 1;
}
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
-webkit-align-self: center;
align-self: center;
border-bottom: none;
border-top-color: #fff;
}
.mapboxgl-popup-content {
padding: 0;
background: #fff;
color: rgba(0, 0, 0, 0.65);
position: relative;
border-radius: 3px;
box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
pointer-events: auto;
}
.identify {
display: block;
border-radius: 4px;
background: rgb(255, 255, 255);
color: rgba(0, 0, 0, 0.65);
}
.mapboxgl-popup-content ul {
list-style: none;
margin: 0;
padding: 0;
padding-top: 4px;
overflow: auto;
font-size: 14px;
max-height: 200px;
background: transparent;
border-collapse: separate;
}
.mapboxgl-popup-content ul li {
display: table-row;
text-align: -webkit-match-parent;
border-collapse: separate;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
.mapboxgl-popup-content ul li > div {
max-width: 170px;
/* overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; */
padding: 4px 16px;
box-sizing: border-box;
text-align: center;
font-weight: 800;
}
.mapboxgl-popup-close-button {
display: none;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
background-color: rgba(245, 245, 245, 0);
}