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 {
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 */
}