Vector: Restore page-fade.png as fallback background-image for IE 6-9
authorErwin Dokter <erwin@darcoury.nl>
Fri, 7 Feb 2014 14:18:27 +0000 (14:18 +0000)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 7 Feb 2014 14:38:30 +0000 (15:38 +0100)
Also corrects linear-gradient stop for main background from 40% to 50%
to match page-fade.png previously used.

Bug: 60991
Bug: 60943
Change-Id: I5cab42ee67bc1bb7dff01a7e51a2f609c96e0b18

skins/vector/components/navigation.less
skins/vector/images/page-fade.png [new file with mode: 0644]

index e2942d7..f3a5a49 100644 (file)
        height: 5em;
        background-position: bottom left;
        background-repeat: repeat-x;
-       .vertical-gradient(@body-background-color, @menu-background-color, 40%, 100%);
+       /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+       background-image: url('images/page-fade.png');
+       .vertical-gradient(@body-background-color, @menu-background-color, 50%, 100%);
+       background-color: @body-background-color;
 }
 
 #mw-head-base {
diff --git a/skins/vector/images/page-fade.png b/skins/vector/images/page-fade.png
new file mode 100644 (file)
index 0000000..b4a6034
Binary files /dev/null and b/skins/vector/images/page-fade.png differ