diff options
author | Anika Henke <anika@selfthinker.org> | 2012-03-25 14:41:39 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-03-25 14:41:39 +0100 |
commit | 42ff673048d169bcbec5e4bb17619d66e6f6f61d (patch) | |
tree | 8419183bc7c34b2b5ed91271c6dd2a038c8396d3 /lib/tpl/dokuwiki/images | |
parent | 5e984c56d67aafecf27d7fddd922484a0318c9db (diff) | |
download | rpg-42ff673048d169bcbec5e4bb17619d66e6f6f61d.tar.gz rpg-42ff673048d169bcbec5e4bb17619d66e6f6f61d.tar.bz2 |
fixed performance issues with gradient in Firefox (which also added gradient support for IE9) (FS#2447)
* removed all occurrences of '-moz-linear-gradient'
* added SVG as fallback for Firefox, IE9 and other browsers to page background and buttons
Diffstat (limited to 'lib/tpl/dokuwiki/images')
-rw-r--r-- | lib/tpl/dokuwiki/images/page-background.svg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tpl/dokuwiki/images/page-background.svg b/lib/tpl/dokuwiki/images/page-background.svg new file mode 100644 index 000000000..086341ddf --- /dev/null +++ b/lib/tpl/dokuwiki/images/page-background.svg @@ -0,0 +1,8 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> + <linearGradient id="g" x1="0%" y1="0%" x2="0%" y2="100%"> + <stop offset="0" stop-color="#dddddd" /> + <stop offset="0.1" stop-color="#eeeeee" /> + <stop offset="0.4" stop-color="#fbfaf9" /> + </linearGradient> + <rect x="0" y="0" width="100%" height="100%" fill="url(#g)" /> +</svg>
\ No newline at end of file |