improved link icons

This commit is contained in:
Anika Henke 2012-08-26 20:38:57 +01:00
parent edbd6415b7
commit bb35838d47
8 changed files with 20 additions and 15 deletions

View file

@ -39,29 +39,19 @@
.dokuwiki a.interwiki { .dokuwiki a.interwiki {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0 center; 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 */ /* external link */
.dokuwiki a.urlextern { .dokuwiki a.urlextern {
background-image: url(images/link_icon.gif); background-image: url(images/external-link.png);
padding: 0 0 0 17px;
} }
/* windows share */ /* windows share */
.dokuwiki a.windows { .dokuwiki a.windows {
background-image: url(images/windows.gif); background-image: url(images/unc.png);
} }
/* email link */ /* email link */
.dokuwiki a.mail { .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 */ /* icons of the following are set by dokuwiki in lib/exe/css.php */
@ -70,5 +60,15 @@
} }
/* interwiki link */ /* interwiki link */
.dokuwiki a.interwiki { .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 */
} }

BIN
images/email.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

BIN
images/external-link.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

5
images/icons-license.txt Normal file
View file

@ -0,0 +1,5 @@
Icons for: email.png, external-link.png and unc.png
Icon set: Dusseldorf
Designer: pc.de
License: Creative Commons Attribution License [http://creativecommons.org/licenses/by/3.0/]
URL: http://pc.de/icons/#Dusseldorf

Binary file not shown.

Before

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

BIN
images/unc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B