From: Harvie Date: Sat, 10 Jul 2010 05:43:49 +0000 (+0200) Subject: fixed css icons - now using text-indent X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=2721a24cd9fd8ed6cf6aaa2365f2dbc28571c907;p=mirrors%2FJukeBox.git fixed css icons - now using text-indent --- diff --git a/index.php b/index.php index 1e7a509..aaa05bc 100755 --- a/index.php +++ b/index.php @@ -440,7 +440,8 @@ if($GLOBALS['useflash']) echo('/F'); ?> -^ [DIR] .. () +^ [DIR] .. +() '.$i.'P/'. 'R'); if($GLOBALS['useflash']) echo('/F'); - echo('[DIR] '.unxss(str_replace('_', ' ', $item))."\n"); + echo('[DIR] '.unxss(str_replace('_', ' ', +$item))."\n"); } } rewinddir($dd); } if($sort > 1) { diff --git a/jbx/themes/default/jukebox.css b/jbx/themes/default/jukebox.css index 04ad221..b36f12a 100755 --- a/jbx/themes/default/jukebox.css +++ b/jbx/themes/default/jukebox.css @@ -39,6 +39,7 @@ table { td { border: 0px solid blue; margin: 0px; + padding-left: 3px; } .odd * { @@ -96,14 +97,20 @@ tr:hover * a { /* Icon Classes */ -*.icon { text-decoration: none; width: 16px; height: 16px; display: inline; font-size: 0; padding: 12px 16px 4px 0; margin:0; background-repeat:no-repeat; } -*.icon, *.icon * a:hover { text-decoration: none; } +*.icon { + display:inline-block; width:16px; height:16px; + margin:0; padding:0; overflow:hidden; + text-decoration: none; text-indent: 99999px; + background-repeat:no-repeat; +} + +.btntd { min-width:75px; } *.iplay { background-image: url(icons/playlist.png); } *.irplay { background-image: url(icons/recursive.png); } *.ifplay { background-image: url(icons/play.png); } *.ifstop { background-image: url(icons/stop.png); } -*.ifolder { background-image: url(icons/folder.png); } +*.ifolder { background-image: url(icons/folder.png); margin-right: 3px; } *.ilogout { background-image: url(icons/logout.png); } *.isearch { background-image: url(icons/search.png); } *.ihome { background-image: url(icons/home.png); }