-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsimpleTimeline.css
169 lines (145 loc) · 3.95 KB
/
simpleTimeline.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
.timeline-box {
position: relative;
}
.timeline-phase {
position: absolute;
}
.timeline-indicator-line {
position: absolute;
border-left: 1px dashed dimgray;
}
.timeline-phase-header {
position: absolute;
font-size: smaller;
white-space: nowrap;
color: dimgray;
}
.timeline-bar {
position: absolute;
text-align: center;
border-style: solid;
cursor: pointer;
border-radius: 7px;
}
#timeline-collapse {
cursor: pointer;
font-size: 20px;
line-height: 20px;
position: absolute;
padding: 0 1px;
top: 12px;
right: 12px;
background-color: rgba(235,235,235,.8);
border-radius: 2px;
z-index: 10001;
}
#timeline-collapse:before {
content: "\25b2";
}
#timeline-expand {
cursor: pointer;
font-size: 20px;
line-height: 20px;
position: absolute;
top: 2px;
right: 2px;
padding: 0 1px;
background-color: rgba(235,235,235,.8);
border-radius: 2px;
z-index: 10001;
}
#timeline-expand:before {
content: "\25bc";
}
/* -------------------------------------------------------------------------------------------- */
/* BEGIN POPUP STYLES
This portion was adapted from Leaflet v0.7 style sheet for popups, which is licensed as
follows (see https://github.com/Leaflet/Leaflet):
Copyright (c) 2010-2016, Vladimir Agafonkin
Copyright (c) 2010-2011, CloudMade
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.timeline-popup {
position: absolute;
text-align: center;
z-index: 99999;
}
.timeline-popup-content-wrapper {
padding: 1px;
text-align: left;
border-radius: 12px;
}
.timeline-popup-content {
margin: 19px 0 .75em 0;
padding: 0 1em 0 1em;
line-height: 1.4;
max-width: 420px;
max-height: 420px;
overflow: auto;
}
.timeline-popup-content p {
margin: .5em 0;
}
.timeline-popup-tip-container {
margin: 0 auto;
width: 40px;
height: 20px;
position: relative;
overflow: hidden;
}
.timeline-popup-tip {
width: 17px;
height: 17px;
padding: 1px;
margin: -10px auto 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
.timeline-popup-content-wrapper,
.timeline-popup-tip {
background: white;
box-shadow: 0 3px 14px rgba(0,0,0,0.8);
}
a.timeline-popup-close-button {
position: absolute;
top: 0;
right: 0;
padding: 4px 4px 0 0;
text-align: center;
width: 18px;
height: 14px;
font: 16px/14px Tahoma, Verdana, sans-serif;
color: #c3c3c3;
text-decoration: none;
font-weight: bold;
background: transparent;
}
a.timeline-popup-close-button:hover {
color: #999;
}
.timeline-popup-scrolled {
overflow: auto;
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
}
/* END POPUP STYLES */
/* -------------------------------------------------------------------------------------------- */