summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/modern/messenger/messageQuotes.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/themes/modern/messenger/messageQuotes.css
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/themes/modern/messenger/messageQuotes.css')
-rw-r--r--comm/suite/themes/modern/messenger/messageQuotes.css58
1 files changed, 58 insertions, 0 deletions
diff --git a/comm/suite/themes/modern/messenger/messageQuotes.css b/comm/suite/themes/modern/messenger/messageQuotes.css
new file mode 100644
index 0000000000..6c4b636f3c
--- /dev/null
+++ b/comm/suite/themes/modern/messenger/messageQuotes.css
@@ -0,0 +1,58 @@
+/* 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(131, 165, 201); /* 65% */}
+
+blockquote[type=cite] blockquote[type=cite] {
+ border-color: rgb(149, 178, 208); /* 70% */
+}
+
+blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] {
+ border-color: rgb(166, 190, 216); /* 75% */
+}
+
+blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] {
+
+ border-color: rgb(184, 203, 224); /* 80% */
+}
+
+blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] {
+ border-color: rgb(202, 216, 232); /* 85% */
+}