fix the drop down arrow in file browser

This commit is contained in:
Robin Appelman 2011-05-16 16:34:04 +02:00
parent 915073f8ea
commit e6b90a60af
2 changed files with 2 additions and 1 deletions

View File

@ -95,6 +95,7 @@ table td.delete { background-image:url('../img/delete.png'); }
#fileList tr input[type=checkbox] { display:none; }
#fileList tr input[type=checkbox]:checked { display:inline; }
#fileList tr:hover input[type=checkbox] { display:inline; }
a.dropArrow{ background-image:url('../img/drop-arrow.png'); width:16px; height:16px; display:block}
/* NAVIGATION BAR */
p.nav { margin:1em 0 0 2em; padding:0.8em; line-height:16px; font-weight:bold; }

View File

@ -4,6 +4,6 @@
<td class="filename"><a style="background-image:url(<?php if($file["type"] == "dir") echo mimetype_icon("dir"); else echo mimetype_icon($file["mime"]); ?>)" href="<?php if($file["type"] == "dir") echo link_to("files", "index.php?dir=".$file["directory"]."/".$file["name"]); else echo link_to("files", "download.php?file=".$file["directory"]."/".$file["name"]); ?>" title=""><?php echo htmlspecialchars($file["name"]); ?></a></td>
<td class="filesize"><?php echo human_file_size($file["size"]); ?></td>
<td class="date"><?php echo $file["date"]; ?></td>
<td class="fileaction"><a href="" title=""><img src="images/drop-arrow.png" alt="+" /></a></td>
<td class="fileaction"><a href="" title="+" class='dropArrow'/></td>
</tr>
<?php endforeach; ?>