From: Derk-Jan Hartman Date: Sun, 17 Oct 2010 15:27:10 +0000 (+0000) Subject: Don't set the padding of all sides of links with icons, only set the one that is... X-Git-Tag: 1.31.0-rc.0~34468 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=0c2bfdf6950614bdb3c1102b4be574900aa8747d;p=lhc%2Fweb%2Fwiklou.git Don't set the padding of all sides of links with icons, only set the one that is actually needed. Fixes bug 25548 --- diff --git a/skins/vector/screen.css b/skins/vector/screen.css index ccc3069e1c..a6cd9e7c7d 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -1026,37 +1026,37 @@ div#content a.external, div#content a[href ^="gopher://"] { /* @embed */ background: url(images/external-link-ltr-icon.png) center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a[href ^="https://"], .link-https { /* @embed */ background: url(images/lock-icon.png) center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a[href ^="mailto:"], .link-mailto { /* @embed */ background: url(images/mail-icon.png) center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a[href ^="news://"] { /* @embed */ background: url(images/news-icon.png) center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a[href ^="ftp://"], .link-ftp { /* @embed */ background: url(images/file-icon.png) center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a[href ^="irc://"], div#content a.extiw[href ^="irc://"], .link-irc { /* @embed */ background: url(images/talk-icon.png) center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"], div#content a.external[href $=".mid"], div#content a.external[href $=".MID"], @@ -1067,7 +1067,7 @@ div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"], .link-audio { /* @embed */ background: url("images/audio-icon.png?2") center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"], div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"], @@ -1076,7 +1076,7 @@ div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"], .link-video { /* @embed */ background: url("images/video-icon.png?2") center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"], div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"], @@ -1084,7 +1084,7 @@ div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"], .link-document { /* @embed */ background: url("images/document-icon.png?2") center right no-repeat; - padding: 0 13px 0 0; + padding-right: 13px; } /* Interwiki Styling (Disabled) */ div#content a.extiw,