summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-29 17:40:32 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-29 17:40:32 +0200
commit65b4a8ac5e784fbc0ba9a45784c910890730da4f (patch)
tree9767cb8e6617336ea36f878248fa0b99f66c4ab1 /toolkit
parent535e9399e6a57eafa478c26055339778f2b0c661 (diff)
downloadUXP-65b4a8ac5e784fbc0ba9a45784c910890730da4f.tar
UXP-65b4a8ac5e784fbc0ba9a45784c910890730da4f.tar.gz
UXP-65b4a8ac5e784fbc0ba9a45784c910890730da4f.tar.lz
UXP-65b4a8ac5e784fbc0ba9a45784c910890730da4f.tar.xz
UXP-65b4a8ac5e784fbc0ba9a45784c910890730da4f.zip
Restore Pale Moon's standalone image viewing style.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/themes/shared/jar.inc.mn2
-rw-r--r--toolkit/themes/shared/media/TopLevelImageDocument.css7
2 files changed, 8 insertions, 1 deletions
diff --git a/toolkit/themes/shared/jar.inc.mn b/toolkit/themes/shared/jar.inc.mn
index 675353409..e361e744f 100644
--- a/toolkit/themes/shared/jar.inc.mn
+++ b/toolkit/themes/shared/jar.inc.mn
@@ -59,7 +59,7 @@ toolkit.jar:
skin/classic/global/reader/RM-Content-Width-Plus-44x16.svg (../../shared/reader/RM-Content-Width-Plus-44x16.svg)
skin/classic/global/reader/RM-Line-Height-Minus-38x14.svg (../../shared/reader/RM-Line-Height-Minus-38x14.svg)
skin/classic/global/reader/RM-Line-Height-Plus-38x24.svg (../../shared/reader/RM-Line-Height-Plus-38x24.svg)
- skin/classic/global/media/TopLevelImageDocument.css (../../shared/media/TopLevelImageDocument.css)
+* skin/classic/global/media/TopLevelImageDocument.css (../../shared/media/TopLevelImageDocument.css)
skin/classic/global/media/TopLevelVideoDocument.css (../../shared/media/TopLevelVideoDocument.css)
skin/classic/global/media/imagedoc-lightnoise.png (../../shared/media/imagedoc-lightnoise.png)
skin/classic/global/media/imagedoc-darknoise.png (../../shared/media/imagedoc-darknoise.png)
diff --git a/toolkit/themes/shared/media/TopLevelImageDocument.css b/toolkit/themes/shared/media/TopLevelImageDocument.css
index 524217516..de970512c 100644
--- a/toolkit/themes/shared/media/TopLevelImageDocument.css
+++ b/toolkit/themes/shared/media/TopLevelImageDocument.css
@@ -5,6 +5,12 @@
@media not print {
/* N.B.: Remember to update ImageDocument.css in the tree or reftests may fail! */
+%ifdef MC_PALEMOON
+ body {
+ color: #eee;
+ background: #2E3B41;
+ }
+%else
body {
color: #eee;
background-image: url("chrome://global/skin/media/imagedoc-darknoise.png");
@@ -14,4 +20,5 @@
background: hsl(0,0%,90%) url("chrome://global/skin/media/imagedoc-lightnoise.png");
color: #222;
}
+%endif
}