From 53cc32cc69765e09542d9c4a69e59fa82c6566b9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 26 Oct 2007 23:31:15 +0200 Subject: Add the Universal Wiki Edit Button to the deafault template The "Universal Wiki Edit Button" is a movement to make Wikis easily recognizable to users regardless of the used engine or template. The aim is to create an icon which is as easy to recognize as the now well known RSS icon. The hope is to spread the Wiki idea and make more people aware of the use of Wikis outside the scope of Wikipedia. The logo is added through a background CSS defined in UWEB.css More info about the Universal Wiki Edit Button can be found at http://www.aboutus.org/uweb - you may also add your thoughts about it there. darcs-hash:20071026213115-7ad00-6101fbc3449b4426f795c60775c874eb0e53bb82.gz --- lib/tpl/default/UWEB.css | 17 +++++++++++++++++ lib/tpl/default/images/UWEB.png | Bin 0 -> 1138 bytes lib/tpl/default/images/UWEBshadow.png | Bin 0 -> 1123 bytes lib/tpl/default/style.ini | 2 ++ 4 files changed, 19 insertions(+) create mode 100644 lib/tpl/default/UWEB.css create mode 100644 lib/tpl/default/images/UWEB.png create mode 100644 lib/tpl/default/images/UWEBshadow.png (limited to 'lib/tpl') diff --git a/lib/tpl/default/UWEB.css b/lib/tpl/default/UWEB.css new file mode 100644 index 000000000..13bcc2da3 --- /dev/null +++ b/lib/tpl/default/UWEB.css @@ -0,0 +1,17 @@ +/** + * This stylesheet adds the Universal Wiki Edit Button log to the edit page button + * + * For more info about this Wiki community project visit http://www.aboutus.org/uweb + + +html>body div.dokuwiki form.btn_edit input.button { + padding: 0.125em 0.4em 0.125em 2em; + background: __background__ url(images/UWEB.png) no-repeat 0.2em 0.2em; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki form.btn_edit input.button { + padding: 0.125em 0.4em 0.125em 2em; + background: __background__ url(images/UWEBshadow.png) no-repeat left bottom; +} + diff --git a/lib/tpl/default/images/UWEB.png b/lib/tpl/default/images/UWEB.png new file mode 100644 index 000000000..ea03aec94 Binary files /dev/null and b/lib/tpl/default/images/UWEB.png differ diff --git a/lib/tpl/default/images/UWEBshadow.png b/lib/tpl/default/images/UWEBshadow.png new file mode 100644 index 000000000..212444f0e Binary files /dev/null and b/lib/tpl/default/images/UWEBshadow.png differ diff --git a/lib/tpl/default/style.ini b/lib/tpl/default/style.ini index 14ad5c6a1..ad4dac284 100644 --- a/lib/tpl/default/style.ini +++ b/lib/tpl/default/style.ini @@ -12,6 +12,8 @@ style.css = screen media.css = screen +UWEB.css = screen + rtl.css = rtl print.css = print -- cgit v1.2.3