Bug 1707211 - Move EditorContent.css into themes. r=mkmelin

Differential Revision: https://phabricator.services.mozilla.com/D125725

--HG--
rename : mail/components/compose/content/EditorContent.css => mail/themes/shared/mail/editorContent.css
extra : amend_source : 50fbef76ec252b54144e8787dbc432c459895f9f
This commit is contained in:
Henry Wilkes 2021-09-16 20:21:33 +03:00
Родитель def1eedb9f
Коммит cbd47afffb
7 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -624,7 +624,7 @@ function loadDialog(aItem) {
let link = editorElement.contentDocument.createElement("link");
link.rel = "stylesheet";
link.href = "chrome://messenger/content/messengercompose/EditorContent.css";
link.href = "chrome://messenger/skin/shared/editorContent.css";
editorElement.contentDocument.head.appendChild(link);
try {

Просмотреть файл

@ -664,7 +664,7 @@
let link = itemDescription.contentDocument.createElement("link");
link.rel = "stylesheet";
link.href = "chrome://messenger/content/messengercompose/EditorContent.css";
link.href = "chrome://messenger/skin/shared/editorContent.css";
itemDescription.contentDocument.head.appendChild(link);
}

Просмотреть файл

@ -38,8 +38,7 @@ const kDisplayModeTabIDS = [
"SourceModeButton",
"PreviewModeButton",
];
const kNormalStyleSheet =
"chrome://messenger/content/messengercompose/EditorContent.css";
const kNormalStyleSheet = "chrome://messenger/skin/shared/editorContent.css";
const kContentEditableStyleSheet = "resource://gre/res/contenteditable.css";
var kTextMimeType = "text/plain";

Просмотреть файл

@ -11,7 +11,6 @@ messenger.jar:
content/messenger/messengercompose/editor.js (content/editor.js)
content/messenger/messengercompose/editorUtilities.js (content/editorUtilities.js)
content/messenger/messengercompose/ComposerCommands.js (content/ComposerCommands.js)
content/messenger/messengercompose/EditorContent.css (content/EditorContent.css)
content/messenger/messengercompose/images/tag-anchor.gif (content/images/tag-anchor.gif)
content/messenger/messengercompose/EdDialogCommon.js (content/dialogs/EdDialogCommon.js)
content/messenger/messengercompose/EdLinkProps.xhtml (content/dialogs/EdLinkProps.xhtml)

Просмотреть файл

@ -328,6 +328,7 @@
skin/classic/messenger/shared/customizeToolbar.css (../shared/mail/customizeToolbar.css)
skin/classic/messenger/shared/editContactPanel.css (../shared/mail/editContactPanel.css)
skin/classic/messenger/shared/EditorDialog.css (../shared/mail/EditorDialog.css)
skin/classic/messenger/shared/editorContent.css (../shared/mail/editorContent.css)
skin/classic/messenger/shared/EdInsertChars.css (../shared/mail/EdInsertChars.css)
skin/classic/messenger/shared/feedSubscribe.css (../shared/mail/feedSubscribe.css)
skin/classic/messenger/shared/fieldMapImport.css (../shared/mail/fieldMapImport.css)

Просмотреть файл

@ -53,7 +53,7 @@ blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[typ
}
/* Styles for the dark mode */
/* Disabled in bug 1639249. See also EditorContent.css.
/* Disabled in bug 1639249. See also editorContent.css.
@media (prefers-color-scheme: dark) {
html {
scrollbar-color: rgba(249, 249, 250, .4) rgba(20, 20, 25, .3);