Commit | Line | Data |
---|---|---|
6474f09c RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | ||
5 | /* Because this sheet is loaded synchronously while the user is waiting for the | |
6 | compose window to appear, it must not @import a ton of other things, and | |
7 | especially must not trigger network access. */ | |
8 | ||
9 | /* ===== messageQuotes.css ================================================= | |
10 | == Shared styles such as block quote colors and signature style | |
11 | == between the message body during | |
12 | == message display and the mail editor instance for mail compose. | |
13 | ======================================================================= */ | |
14 | ||
15 | /* workaround for MS Outlook mails where the line-height is set to 0 */ | |
16 | body { | |
17 | line-height: initial !important; | |
18 | } | |
19 | ||
20 | /* ::::: signature ::::: */ | |
21 | ||
22 | @media not print { | |
23 | div.moz-text-flowed > div.moz-txt-sig, | |
24 | div.moz-text-plain > pre > div.moz-txt-sig, | |
25 | pre.moz-signature { | |
26 | opacity: 0.6; | |
27 | } | |
28 | } | |
29 | ||
30 | /* ::::: Turn on borders and padding for quotes. ::::: */ | |
31 | blockquote[type=cite] { | |
32 | padding: 0.4ex 1ex; | |
33 | margin: 1ex; | |
34 | border-width: 0px 0px 0px 2px; | |
35 | border-style: none none none solid; | |
36 | border-radius: 2px; | |
37 | } | |
38 | ||
39 | /* ::::: Colorize block quote borders. We only go 5 levels deep. ::::: */ | |
40 | blockquote[type=cite] { | |
41 | border-color: rgb(114,159,207); /* Sky Blue 1 */ | |
42 | } | |
43 | ||
44 | blockquote[type=cite] blockquote[type=cite] { | |
45 | border-color: rgb(173,127,168); /* Plum 1 */ | |
46 | } | |
47 | ||
48 | blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { | |
49 | border-color: rgb(138,226,52); /* Chameleon 1 */ | |
50 | } | |
51 | ||
52 | blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { | |
53 | border-color: rgb(252,175,62); /* Orange 1 */ | |
54 | } | |
55 | ||
56 | blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { | |
57 | border-color: rgb(233,185,110); /* Chocolate 1 */ | |
58 | } | |
59 |