forked from leforthomas/cesium-drawhelper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DrawHelper.css
102 lines (95 loc) · 1.84 KB
/
DrawHelper.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
/*
initial twipsy code taken from bootstrap
*/
.twipsy {
display: block;
position: absolute;
visibility: visible;
max-width: 200px;
min-width: 100px;
padding: 5px;
font-size: 11px;
z-index: 1000;
opacity: 0.8;
-khtml-opacity: 0.8;
-moz-opacity: 0.8;
filter: alpha(opacity=80);
}
.twipsy.left .twipsy-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #000000;
}
.twipsy.right .twipsy-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-right: 5px solid #000000;
}
.twipsy-inner {
padding: 3px 8px;
background-color: #000000;
color: white;
text-align: center;
max-width: 200px;
text-decoration: none;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.twipsy-arrow {
position: absolute;
width: 0;
height: 0;
}
/*
css rules for the draw helper components
*/
.toolbar {
margin: 0px;
padding: 0px;
background: white;
}
.toolbar > .button {
margin: 5px;
padding: 5px;
border: 1px solid #eee;
cursor: pointer;
}
.toolbar > .button:hover {
background: #eee;
}
/*
css rules for the infowindow
*/
.infoWindow {
position: absolute;
min-width: 100px;
max-width: 300px;
}
.infoWindow #frame {
padding: 10px;
border: 1px solid black;
background: white;
}
.infoWindow #close {
float: right;
margin: 5px 2px;
font-size: small;
color: gray;
cursor: pointer;
}
.infoWindow #arrow {
position: absolute;
bottom: -8px;
left: 50%;
margin-left: -10px;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
border-top: 10px solid white;
}