Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/***
2
Timeline UI Base
3
***/
4
.timeline {
5
  margin: 0;
6
  padding: 0;
7
  list-style: none;
8
  position: relative;
9
}
10
 
11
/* The line */
12
.timeline:before {
13
  content: '';
14
  position: absolute;
15
  top: 0;
16
  bottom: 0;
17
  width: 10px;
18
  background: #ccc;
19
  left: 20%;
20
  margin-left: -10px;
21
}
22
 
23
.timeline > li {
24
  position: relative;
25
}
26
 
27
/*Remove timeline line for last entry*/
28
.timeline > li.timeline-noline:before {
29
  content: '';
30
  position: absolute;
31
  top: 0;
32
  bottom: 0;
33
  width: 10px;
34
  background: #fff;
35
  left: 20%;
36
  margin-left: -10px;
37
}
38
 
39
/* The date/time */
40
.timeline > li .timeline-time {
41
  display: block;
42
  width: 15%;
43
  text-align: right;
44
  position: absolute;
45
}
46
 
47
.timeline > li .timeline-time span {
48
  display: block;
49
  text-align: right;
50
}
51
 
52
.timeline > li .timeline-time span.date {
53
  font-size: 12px;
54
  color: #aaa;
55
  display: block;
56
  font-weight: 300;
57
}
58
 
59
.timeline > li .timeline-time span.time {
60
  font-weight: 300;
61
  font-size: 38px;
62
  line-height: 38px;
63
}
64
 
65
/* Right content */
66
.timeline > li .timeline-body {
67
  margin: 0 0 15px 25%;
68
  color: #fff;
69
  padding: 10px;
70
  font-weight: 300;
71
  position: relative;
72
  border-radius: 5px;
73
}
74
 
75
.timeline > li .timeline-body h2 {
76
  margin-top: 0px;
77
  padding: 0 0 5px 0;
78
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
79
  font-size: 24px;
80
}
81
 
82
.timeline > li .timeline-content {
83
  font-size: 14px;
84
}
85
 
86
.ie8 .timeline > li .timeline-body h2 {
87
  border-bottom: 1px solid #eee;
88
}
89
 
90
.timeline > li .timeline-body img.timeline-img {
91
  width: 75px;
92
  height: 75px;
93
  margin: 5px 10px 0 0px;
94
}
95
 
96
.timeline > li .timeline-body img.pull-right {
97
  margin-left: 10px;
98
}
99
 
100
.timeline > li .timeline-body a.nav-link {
101
  display: inline-block;
102
  margin-top: 10px;
103
  color: #fff;
104
  font-size: 14px;
105
  padding: 0px;
106
  text-align: left;
107
  text-decoration: none;
108
}
109
 
110
.timeline > li .timeline-body a.nav-link:hover {
111
  opacity: 0.5;
112
  filter: alpha(opacity=50);
113
}
114
 
115
.timeline > li .timeline-body .btn {
116
  margin-top: 10px;
117
}
118
 
119
/* The triangle */
120
.timeline > li .timeline-body:after {
121
  right: 100%;
122
  border: solid transparent;
123
  content: " ";
124
  height: 0;
125
  width: 0;
126
  position: absolute;
127
  pointer-events: none;
128
  border-right-color: #3594cb;
129
  border-width: 10px;
130
  top: 19px;
131
}
132
 
133
.timeline > li .timeline-content:after,
134
.timeline > li .timeline-content:before {
135
  display: table;
136
  line-height: 0;
137
  content: "";
138
}
139
 
140
.timeline > li .timeline-content:after {
141
  clear: both;
142
}
143
 
144
.timeline > li .timeline-footer:after,
145
.timeline > li .timeline-footer:before {
146
  content: "";
147
  display: table;
148
  line-height: 0;
149
}
150
 
151
.timeline > li .timeline-footer:after {
152
  clear: both;
153
}
154
 
155
/* The icons */
156
.timeline > li .timeline-icon {
157
  width: 40px;
158
  height: 40px;
159
  speak: none;
160
  font-style: normal;
161
  font-weight: normal;
162
  font-variant: normal;
163
  text-transform: none;
164
  font-size: 1.4em;
165
  line-height: 40px;
166
  -webkit-font-smoothing: antialiased;
167
  position: absolute;
168
  color: #fff;
169
  background: #aaa;
170
  border-radius: 50%;
171
  box-shadow: 0 0 0 8px #ccc;
172
  text-align: center;
173
  left: 20%;
174
  top: 0;
175
  margin: 5px 0 0 -25px;
176
  padding-bottom: 3px;
177
  padding-right: 1px;
178
  padding-left: 2px;
179
  -webkit-border-radius: 30px !important;
180
  -moz-border-radius: 30px !important;
181
  border-radius: 30px !important;
182
}
183
 
184
.timeline > li .timeline-icon > i {
185
  font-size: 18px;
186
}
187
 
188
/* Red */
189
.timeline li.timeline-red .timeline-body:after {
190
  border-right-color: #e02222;
191
}
192
 
193
.timeline li.timeline-red .timeline-body {
194
  background: #e02222;
195
}
196
 
197
.timeline li.timeline-red .timeline-time span.time {
198
  color: #e02222;
199
}
200
 
201
/* Yellow */
202
.timeline li.timeline-yellow .timeline-body:after {
203
  border-right-color: #ffb848;
204
}
205
 
206
.timeline li.timeline-yellow .timeline-body {
207
  background: #ffb848;
208
}
209
 
210
.timeline li.timeline-yellow .timeline-time span.time {
211
  color: #ffb848;
212
}
213
 
214
/* Green */
215
.timeline li.timeline-green .timeline-body:after {
216
  border-right-color: #35aa47;
217
}
218
 
219
.timeline li.timeline-green .timeline-body {
220
  background: #35aa47;
221
}
222
 
223
.timeline li.timeline-green .timeline-time span.time {
224
  color: #35aa47;
225
}
226
 
227
/* Blue */
228
.timeline li.timeline-blue .timeline-body:after {
229
  border-right-color: #4b8df8;
230
}
231
 
232
.timeline li.timeline-blue .timeline-body {
233
  background: #4b8df8;
234
}
235
 
236
.timeline li.timeline-blue .timeline-time span.time {
237
  color: #4b8df8;
238
}
239
 
240
/* Purple */
241
.timeline li.timeline-purple .timeline-body:after {
242
  border-right-color: #852b99;
243
}
244
 
245
.timeline li.timeline-purple .timeline-body {
246
  background: #852b99;
247
}
248
 
249
.timeline li.timeline-purple .timeline-time span.time {
250
  color: #852b99;
251
}
252
 
253
/* Grey */
254
.timeline li.timeline-grey .timeline-body:after {
255
  border-right-color: #555555;
256
}
257
 
258
.timeline li.timeline-grey .timeline-body {
259
  background: #555555;
260
}
261
 
262
.timeline li.timeline-grey .timeline-time span.time {
263
  color: #555555;
264
}
265
 
266
@media (max-width: 767px) {
267
  timeline > li .timeline-time span.time {
268
    font-size: 18px;
269
  }
270
 
271
  .timeline:before {
272
    display: none;
273
  }
274
 
275
  .timeline > li .timeline-time {
276
    width: 100%;
277
    position: relative;
278
    padding: 0 0 20px 0;
279
  }
280
 
281
  .timeline > li .timeline-time span {
282
    text-align: left;
283
  }
284
 
285
  .timeline > li .timeline-body {
286
    margin: 0 0 30px 0;
287
    padding: 1em;
288
  }
289
 
290
  .timeline > li .timeline-body:after {
291
    right: auto;
292
    left: 20px;
293
    top: -20px;
294
  }
295
 
296
  .timeline > li .timeline-icon {
297
    position: relative;
298
    float: right;
299
    left: auto;
300
    margin: -55px 5px 0 0px;
301
  }
302
 
303
  /*colors*/
304
  .timeline li.timeline-red .timeline-body:after {
305
    border-right-color: transparent;
306
    border-bottom-color: #e02222;
307
  }
308
 
309
  .timeline li.timeline-blue .timeline-body:after {
310
    border-right-color: transparent;
311
    border-bottom-color: #4b8df8;
312
  }
313
 
314
  .timeline li.timeline-green .timeline-body:after {
315
    border-right-color: transparent;
316
    border-bottom-color: #35aa47;
317
  }
318
 
319
  .timeline li.timeline-yellow .timeline-body:after {
320
    border-right-color: transparent;
321
    border-bottom-color: #ffb848;
322
  }
323
 
324
  .timeline li.timeline-purple .timeline-body:after {
325
    border-right-color: transparent;
326
    border-bottom-color: #852b99;
327
  }
328
 
329
  .timeline li.timeline-grey .timeline-body:after {
330
    border-right-color: transparent;
331
    border-bottom-color: #555555;
332
  }
333
}