From bb35838d477fe81e3f90f1a2b190a556391fab9e Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 26 Aug 2012 20:38:57 +0100 Subject: [PATCH] improved link icons --- css/_links.css | 30 +++++++++++++++--------------- images/email.png | Bin 0 -> 659 bytes images/external-link.png | Bin 0 -> 816 bytes images/icons-license.txt | 5 +++++ images/link_icon.gif | Bin 942 -> 0 bytes images/mail_icon.gif | Bin 918 -> 0 bytes images/unc.png | Bin 0 -> 553 bytes images/windows.gif | Bin 223 -> 0 bytes 8 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 images/email.png create mode 100644 images/external-link.png create mode 100644 images/icons-license.txt delete mode 100644 images/link_icon.gif delete mode 100644 images/mail_icon.gif create mode 100644 images/unc.png delete mode 100644 images/windows.gif diff --git a/css/_links.css b/css/_links.css index faa6e2e..c0c7e58 100644 --- a/css/_links.css +++ b/css/_links.css @@ -39,29 +39,19 @@ .dokuwiki a.interwiki { background-repeat: no-repeat; background-position: 0 center; - padding: 0 0 0 20px; + padding: 0 0 0 18px; } -[dir=rtl] .dokuwiki a.urlextern, -[dir=rtl] .dokuwiki a.windows, -[dir=rtl] .dokuwiki a.mail, -[dir=rtl] .dokuwiki a.interwiki, -[dir=rtl] .dokuwiki a.mediafile { - background-position: right center; - padding: 0 17px 0 0; -} - /* external link */ .dokuwiki a.urlextern { - background-image: url(images/link_icon.gif); - padding: 0 0 0 17px; + background-image: url(images/external-link.png); } /* windows share */ .dokuwiki a.windows { - background-image: url(images/windows.gif); + background-image: url(images/unc.png); } /* email link */ .dokuwiki a.mail { - background-image: url(images/mail_icon.gif); + background-image: url(images/email.png); } /* icons of the following are set by dokuwiki in lib/exe/css.php */ @@ -70,5 +60,15 @@ } /* interwiki link */ .dokuwiki a.interwiki { - padding: 0 0 0 17px; +} + +/* RTL corrections */ +[dir=rtl] .dokuwiki a.urlextern, +[dir=rtl] .dokuwiki a.windows, +[dir=rtl] .dokuwiki a.mail, +[dir=rtl] .dokuwiki a.interwiki, +[dir=rtl] .dokuwiki a.mediafile { + background-position: right center; + padding: 0 18px 0 0; + display: inline-block; /* needed for IE7 */ } diff --git a/images/email.png b/images/email.png new file mode 100644 index 0000000000000000000000000000000000000000..d1d4a5fd5db9f90c4f07dd98cb774cbc3a45db9f GIT binary patch literal 659 zcmV;E0&M+>P)^H@9v~HT|!78?($%p;k`G^+Zo`0g8*P}Z_mHExsfmo zyBixD4~R(qMivohtxc9?UxOeJ0EPjeQmMR&<9Hs1;rsb~{?IuGBKkw@c^=yB_HCM` zuNR9&9l$;V05iW6k#ED{@XOWJ)sxH1%PIh&UoIjd)ai6?yWQ^R*=+Wfnfn0tJpk~1 zAI6yW>FH^s)oNYzdcBMa2oaTH-RX2LPEJljt#yx?!OZZ=4$Mq>o^Ma5(`LWlKi}Hg zx--U*F^1weHiN<7;^^q8n& tfR6+KT5A%KVBJ;jaX&&t**&=b#t-t~39E=ctXKd5002ovPDHLkV1keTBp(0( literal 0 HcmV?d00001 diff --git a/images/external-link.png b/images/external-link.png new file mode 100644 index 0000000000000000000000000000000000000000..a4d5de17c3ba2a00e4cd79fe10dc165044682148 GIT binary patch literal 816 zcmV-01JC@4P)#AQpl~2mfv8r9r*eJKei?d*5G|HWljBbNv1uKHnb?&lmVl z(cgyShaW9X$&e9v-&W*47Tz*VkVUhr{b$ zuh&LIF2>l;bUIx~CX*L3nasES{r%|t{QTjWtwTdYn4X?~u(-JRnK9PCy}d1-erJrG z({=q;B9T~$#bS>lk%$cd%q4>$2v=-2+x@n-wtMaE?MuO6aA0I)WJ^`mxAAz~Afg`t zUNXiu6h(PXL>~qQ2HuwePN#F~`1qLO@%Yuw&d!@W&j(vtTHg44zNPBwY9ka1p}V^q zMD#_L+gpu3*=(w;tb`y4CjcVapPQSz*3r@NN)$yD z3I+NjxZUn90NC5xt5OsNj4`-eE{LLd0`U2KtE#Hb&CbrQ@9gXV0CZgk0OWGH^S!;j z!qL&upr&a60FTG>(eL-`<#e*yY+!kLd1ZBVwVLO7tI1?yrKT2(#eA_?d~LB<`gC1K zAP_(>80>0nY4-O6fDC{H5j}G{ou5j+!^1=Tw|)b+_zyO6Y90u(|3{^EKiY>ZB|; zOkZxCv&yVstySqp`?_r&VM~4{tofO<@n^y2pVhm6{ui9oveU17U)b~`X|s=J%{`X8 z_+)8!cX!*qpKH!EbshRO`{b|rr+=-w_-os>Upue;I&ts!&F7~tKmL2;#ot%2UOjpD z@5TFnAHM$k_VXXZC>RX^`i6kwPZmZ71~CR5khP#Z!NAeYpvxiSv0=f%W)9Y}2n~gW zt*x8_Gc*(zEIi1^En`zK;ZS1}lNe`NMFHdCR#5>7367NoM_PGgVm9o!aNq#LG}(YD zH$E&p+9j-|{lH}6qLwxxO`nPx4vguX!UB2@9F9&c?3_CCS_u~#8kqzYX2t0wJOHxf cG+a)s+Q8h%$jA^4HOux0sbe9%m4rY diff --git a/images/unc.png b/images/unc.png new file mode 100644 index 0000000000000000000000000000000000000000..a552d6e6fafea438226730804df7095021f640ac GIT binary patch literal 553 zcmV+^0@nSBP)wQW5ZYd;|pdAB@0#4yln(CJ-+Jm#&-inoO5VxZ8a+xrLN zU7~*=@Fex9LmpIcaS!2YkV`#r-Th4`r5^N7b?Z9~GsAq}H#5M0{Cl)otwY>yw_)4% zZ*>9y+qO^Q@%S?U3_xLKCyJui-EQ|302+;kYMSPqe!qWynScPG)9HLwRW+k13IIS# z$w3fs7=|B$Ab6NaBwm`P87>x!_fpDFK@hxERrO}C*KvFgTu0r^;@(^DC8#=6T+Q z=XswMMY)^L=VP^6?JSqeJtCqXba^Svd}BVJKOK+9k4K{sxvmRc*I5Wb#bR+$DwSRt zhVg=kE)EI+V7*=g01U$bGwYkp=Dy=NPqy1_g^0eT)9E)th*M3|-VxEC@4g?jS0kl7 rV&>b-d~KiiegEp`xvJq;g1>^F-JiUFew2zc00000NkvXXu0mjf@}%NH}BqA5{ceE!v=mf&p7ZL(IAgHHMBdLw