From 2d43f6e307e407635483ba503c404d5a2d24522d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 29 Jul 2011 02:47:02 +0200 Subject: [PATCH] make foldernames also bold after renaming --- files/css/files.css | 1 + files/js/filelist.js | 2 +- files/templates/part.list.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/css/files.css b/files/css/files.css index 4afec03daa..4f217ff819 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -27,6 +27,7 @@ table th#headerSize, table td.filesize { width:5em; padding:0 1em; text-align:ri table th#headerDate, table td.date { width:10em; padding:0 .1em 0 1em; text-align:left; } table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; } table td.filename a.name { display:block; background-image:url('../img/file.png'); height:1.5em; vertical-align:middle; } +table tr[data-type="dir"] td.filename a.name {font-weight:bold; } table td.filename a.name input, table td.filename a.name form { width:100%; cursor:text } table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em 3em; background-position:1em .5em; background-repeat:no-repeat; } table td.filename .nametext, .modified { float:left; padding:.3em 0; } diff --git a/files/js/filelist.js b/files/js/filelist.js index 0695b48253..260ca00b97 100644 --- a/files/js/filelist.js +++ b/files/js/filelist.js @@ -38,7 +38,7 @@ FileList={ }, addDir:function(name,size,lastModified){ var html=''; - html+=''+name+''; + html+=''+name+''; if(size!='Pending'){ simpleSize=simpleFileSize(size); }else{ diff --git a/files/templates/part.list.php b/files/templates/part.list.php index a0ffb4b607..e4e178cba1 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -10,7 +10,7 @@ - +