From 6474f09ca3365ea117d6648ed31bed3b99449e84 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 23 Jul 2017 16:51:49 +0200 Subject: [PATCH] add missing messebnger stylesheets --- EarlyBlue/messenger/messageQuotes.css | 59 +++++++++++++++++++++++++++ LCARStrek/messenger/messageQuotes.css | 59 +++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 EarlyBlue/messenger/messageQuotes.css create mode 100644 LCARStrek/messenger/messageQuotes.css diff --git a/EarlyBlue/messenger/messageQuotes.css b/EarlyBlue/messenger/messageQuotes.css new file mode 100644 index 00000000..2cbf8f5b --- /dev/null +++ b/EarlyBlue/messenger/messageQuotes.css @@ -0,0 +1,59 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* Because this sheet is loaded synchronously while the user is waiting for the + compose window to appear, it must not @import a ton of other things, and + especially must not trigger network access. */ + +/* ===== messageQuotes.css ================================================= + == Shared styles such as block quote colors and signature style + == between the message body during + == message display and the mail editor instance for mail compose. + ======================================================================= */ + +/* workaround for MS Outlook mails where the line-height is set to 0 */ +body { + line-height: initial !important; +} + +/* ::::: signature ::::: */ + +@media not print { + div.moz-text-flowed > div.moz-txt-sig, + div.moz-text-plain > pre > div.moz-txt-sig, + pre.moz-signature { + opacity: 0.6; + } +} + +/* ::::: Turn on borders and padding for quotes. ::::: */ +blockquote[type=cite] { + padding: 0.4ex 1ex; + margin: 1ex; + border-width: 0px 0px 0px 2px; + border-style: none none none solid; + border-radius: 2px; +} + +/* ::::: Colorize block quote borders. We only go 5 levels deep. ::::: */ +blockquote[type=cite] { + border-color: rgb(114,159,207); /* Sky Blue 1 */ +} + +blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(173,127,168); /* Plum 1 */ +} + +blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(138,226,52); /* Chameleon 1 */ +} + +blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(252,175,62); /* Orange 1 */ +} + +blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(233,185,110); /* Chocolate 1 */ +} + diff --git a/LCARStrek/messenger/messageQuotes.css b/LCARStrek/messenger/messageQuotes.css new file mode 100644 index 00000000..2cbf8f5b --- /dev/null +++ b/LCARStrek/messenger/messageQuotes.css @@ -0,0 +1,59 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* Because this sheet is loaded synchronously while the user is waiting for the + compose window to appear, it must not @import a ton of other things, and + especially must not trigger network access. */ + +/* ===== messageQuotes.css ================================================= + == Shared styles such as block quote colors and signature style + == between the message body during + == message display and the mail editor instance for mail compose. + ======================================================================= */ + +/* workaround for MS Outlook mails where the line-height is set to 0 */ +body { + line-height: initial !important; +} + +/* ::::: signature ::::: */ + +@media not print { + div.moz-text-flowed > div.moz-txt-sig, + div.moz-text-plain > pre > div.moz-txt-sig, + pre.moz-signature { + opacity: 0.6; + } +} + +/* ::::: Turn on borders and padding for quotes. ::::: */ +blockquote[type=cite] { + padding: 0.4ex 1ex; + margin: 1ex; + border-width: 0px 0px 0px 2px; + border-style: none none none solid; + border-radius: 2px; +} + +/* ::::: Colorize block quote borders. We only go 5 levels deep. ::::: */ +blockquote[type=cite] { + border-color: rgb(114,159,207); /* Sky Blue 1 */ +} + +blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(173,127,168); /* Plum 1 */ +} + +blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(138,226,52); /* Chameleon 1 */ +} + +blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(252,175,62); /* Orange 1 */ +} + +blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { + border-color: rgb(233,185,110); /* Chocolate 1 */ +} + -- 2.35.3