forked from osTicket/osTicket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththread.css
510 lines (498 loc) · 10.2 KB
/
thread.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
/*!
* Bootstrap v3.0.0
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
.thread-body article,
.thread-body aside,
.thread-body details,
.thread-body figcaption,
.thread-body figure,
.thread-body footer,
.thread-body header,
.thread-body hgroup,
.thread-body main,
.thread-body nav,
.thread-body section,
.thread-body summary {
display: block;
}
.thread-body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px !important;
line-height: 1.428571429;
color: #333333;
background-color: #ffffff;
margin: 0;
padding: 0.5em;
}
.thread-body a:focus {
outline: thin dotted;
}
.thread-body a:active,
.thread-body a:hover {
outline: 0;
}
.thread-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.thread-body abbr[title] {
border-bottom: 1px dotted;
}
.thread-body b,
.thread-body strong {
font-weight: bold;
}
.thread-body dfn {
font-style: italic;
}
.thread-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.thread-body mark {
background: #ff0;
color: #000;
}
.thread-body code,
.thread-body kbd,
.thread-body pre,
.thread-body samp {
font-family: monospace, serif;
font-size: 1em;
}
.thread-body pre {
white-space: pre-wrap;
}
.thread-body q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
.thread-body small {
font-size: 80%;
}
.thread-body sub,
.thread-body sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
.thread-body sup {
top: -0.5em;
}
.thread-body sub {
bottom: -0.25em;
}
.thread-body img {
border: 0;
}
.thread-body svg:not(:root) {
overflow: hidden;
}
.thread-body table {
border-collapse: collapse;
border-spacing: 0;
}
.thread-body *,
.thread-body *:before,
.thread-body *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.thread-body a {
color: #428bca;
text-decoration: none;
}
.thread-body a:hover,
.thread-body a:focus {
color: #2a6496;
text-decoration: underline;
}
.thread-body a:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.thread-body img {
vertical-align: middle;
}
.thread-body hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
.thread-body .sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
}
.thread-body p {
margin: 0 0 10px;
}
.thread-body .lead {
margin-bottom: 20px;
font-size: 16.099999999999998px;
font-weight: 200;
line-height: 1.4;
}
@media (min-width: 768px) {
.thread-body .lead {
font-size: 21px;
}
}
.thread-body small {
font-size: 85%;
}
.thread-body cite {
font-style: normal;
}
.thread-body h1,
.thread-body h2,
.thread-body h3,
.thread-body h4,
.thread-body h5,
.thread-body h6,
.thread-body .h1,
.thread-body .h2,
.thread-body .h3,
.thread-body .h4,
.thread-body .h5,
.thread-body .h6 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.1;
color: black;
}
.thread-body h1 small,
.thread-body h2 small,
.thread-body h3 small,
.thread-body h4 small,
.thread-body h5 small,
.thread-body h6 small,
.thread-body .h1 small,
.thread-body .h2 small,
.thread-body .h3 small,
.thread-body .h4 small,
.thread-body .h5 small,
.thread-body .h6 small {
font-weight: normal;
line-height: 1;
color: #999999;
}
.thread-body h1,
.thread-body h2,
.thread-body h3 {
margin-top: 20px;
margin-bottom: 10px;
}
.thread-body h4,
.thread-body h5,
.thread-body h6 {
margin-top: 10px;
margin-bottom: 10px;
}
.thread-body h1,
.thread-body .h1 {
font-size: 36px;
}
.thread-body h2,
.thread-body .h2 {
font-size: 30px;
}
.thread-body h3,
.thread-body .h3 {
font-size: 24px;
}
.thread-body h4,
.thread-body .h4 {
font-size: 18px;
}
.thread-body h5,
.thread-body .h5 {
font-size: 14px;
}
.thread-body h6,
.thread-body .h6 {
font-size: 12px;
}
.thread-body h1 small,
.thread-body .h1 small {
font-size: 24px;
}
.thread-body h2 small,
.thread-body .h2 small {
font-size: 18px;
}
.thread-body h3 small,
.thread-body .h3 small,
.thread-body h4 small,
.thread-body .h4 small {
font-size: 14px;
}
.thread-body .page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
border-bottom: 1px solid #eeeeee;
}
.thread-body ul,
.thread-body ol {
margin-top: 0;
margin-bottom: 10px;
}
.thread-body ul ul,
.thread-body ol ul,
.thread-body ul ol,
.thread-body ol ol {
margin-bottom: 0;
}
.thread-body .list-unstyled {
padding-left: 0;
list-style: none;
}
.thread-body .list-inline {
padding-left: 0;
list-style: none;
}
.thread-body .list-inline > li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
.thread-body blockquote {
padding: 10px 20px;
margin: 0 0 20px;
border-left: 5px solid #eeeeee;
color: #777;
}
.thread-body blockquote p {
font-weight: 300;
line-height: 1.25;
}
.thread-body blockquote p:last-child {
margin-bottom: 0;
}
.thread-body blockquote small {
display: block;
line-height: 1.428571429;
color: #999999;
}
.thread-body blockquote small:before {
content: '\2014 \00A0';
}
.thread-body blockquote.pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid #eeeeee;
border-left: 0;
}
.thread-body blockquote.pull-right p,
.thread-body blockquote.pull-right small {
text-align: right;
}
.thread-body blockquote.pull-right small:before {
content: '';
}
.thread-body blockquote.pull-right small:after {
content: '\00A0 \2014';
}
.thread-body q:before,
.thread-body q:after,
.thread-body blockquote:before,
.thread-body blockquote:after {
content: "";
}
.thread-body address {
display: block;
margin-bottom: 20px;
font-style: normal;
line-height: 1.428571429;
}
.thread-body th {
text-align: left;
}
.thread-body table {
max-width: 100%;
background-color: transparent;
width: auto;
margin-bottom: 20px;
}
.thread-body table thead > tr > td,
.thread-body table thead > tr > th,
.thread-body table tr > th {
background-color: #f0f0f0 !important;
font-weight: bold;
}
.thread-body table thead > tr > th,
.thread-body table tbody > tr > th,
.thread-body table tfoot > tr > th,
.thread-body table thead > tr > td,
.thread-body table tbody > tr > td,
.thread-body table tfoot > tr > td {
padding: 8px;
line-height: 1.428571429;
vertical-align: top;
border-top: 1px solid #dddddd;
}
.thread-body table thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #dddddd;
}
.thread-body table caption + thead tr:first-child th,
.thread-body table colgroup + thead tr:first-child th,
.thread-body table thead:first-child tr:first-child th,
.thread-body table caption + thead tr:first-child td,
.thread-body table colgroup + thead tr:first-child td,
.thread-body table thead:first-child tr:first-child td {
border-top: 0;
}
.thread-body table tbody + tbody {
border-top: 2px solid #dddddd;
}
.thread-body table table {
background-color: #ffffff;
}
.thread-body table thead > tr > th,
.thread-body table tbody > tr > th,
.thread-body table tfoot > tr > th,
.thread-body table thead > tr > td,
.thread-body table tbody > tr > td,
.thread-body table tfoot > tr > td {
padding: 5px;
}
.thread-body table col[class*="col-"] {
float: none;
display: table-column;
}
.thread-body table td[class*="col-"],
.thread-body table th[class*="col-"] {
float: none;
display: table-cell;
}
/* Redactor consistency styles */
.thread-body div,
.thread-body p,
.thread-body ul,
.thread-body ol,
.thread-body table,
.thread-body dl,
.thread-body blockquote,
.thread-body pre {
font-size: 14px;
line-height: 1.4rem;
}
/* Adjust plain/text messages posted as <pre> in the thread body to show in
* a more normal font. Other <pre> elements in the ticket thread body should
* be shown with the ususal monospace font
*/
.thread-body > div > pre:first-child {
font-family: sans-serif;
}
/* Avoid extra padding at the bottom of the thread body element */
.thread-body :last-child,
.thread-body > div {
margin-bottom: 0 !important;
}
.thread-body p,
.thread-body ul,
.thread-body ol,
.thread-body table,
.thread-body dl,
.thread-body pre {
margin: 0;
margin-bottom: 10px;
border: none;
background: none !important;
box-shadow: none !important;
text-indent: 0 !important;
}
.thread-body iframe,
.thread-body object,
.thread-body hr {
margin-bottom: 15px !important;
}
.thread-body iframe {
display: block;
margin: 0;
padding: 0;
}
/* Styles or override ridiculous Microsoft Outlook list styles */
.thread-body ul,
.thread-body ol {
padding-left: 2em !important;
}
.thread-body ul ul,
.thread-body ol ol,
.thread-body ul ol,
.thread-body ol ul {
margin: 2px !important;
padding: 0 !important;
padding-left: 2em !important;
border: none;
}
/* Styles to keep the thread-entry sizing sane */
.thread-body img:not(.optional),
.thread-body div.non-local-image {
width: auto;
height: auto;
max-width: 100%;
}
table.thread-entry {
table-layout: fixed;
}
table.thread-entry th div span {
vertical-align: middle;
}
table.thread-entry th div :not(.title) {
font-weight: 600;
}
table.thread-entry th div .title {
font-weight: 400;
}
table.thread-entry th .textra {
margin-right: 1em;
display: inline-block;
}
/* Inline image hovering with download link */
.image-hover {
display: inline-block;
position: relative;
max-width: 100%; /* Ensure image hovered is resized */
}
.image-hover .caption {
background-color: rgba(0,0,0,0.5);
min-width: 20em;
color: white;
padding: 1em;
display: none;
width: 100%;
position: absolute;
bottom: 0;
left: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.image-hover .caption .filename {
display: inline-block;
max-width: 60%;
overflow: hidden;
}
/* Additional style for the mighty Microsoft Office emails "standard" style */
p.MsoNormal, li.MsoNormal, div.MsoNormal,
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;}