]> source.dussan.org Git - nextcloud-server.git/commitdiff
some cleanup, small fixes
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Thu, 7 Jul 2011 00:05:12 +0000 (02:05 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Thu, 7 Jul 2011 00:05:12 +0000 (02:05 +0200)
core/css/styles.css
core/img/actions/arrow-down.png [deleted file]
core/img/actions/arrow-left.png [deleted file]
core/img/actions/arrow-right.png [deleted file]
core/img/actions/arrow-up.png [deleted file]
files/templates/part.list.php

index d4ad393b852764d04c99f1bd01833d49d0a500d2..8723fe0eaf28ce616f8da4627861accb9924a92b 100644 (file)
@@ -5,6 +5,7 @@ body { background:#fefefe url('../img/body_background.jpg') repeat-y left top; f
 #owncloud { float:left; margin:0 0 0 2em; }
 h1 { margin:1em 3em 1em 0; border-bottom:1px solid #666; text-transform:uppercase; font-weight:normal; font-style:italic; color:#666; }
 p.center { text-align:center; }
+a { color:#000; text-decoration:none; }
 
 form { margin:2em 2em 2em 3em; }
 form#quota { max-width:600px; }
diff --git a/core/img/actions/arrow-down.png b/core/img/actions/arrow-down.png
deleted file mode 100644 (file)
index 03f2014..0000000
Binary files a/core/img/actions/arrow-down.png and /dev/null differ
diff --git a/core/img/actions/arrow-left.png b/core/img/actions/arrow-left.png
deleted file mode 100644 (file)
index b56cfee..0000000
Binary files a/core/img/actions/arrow-left.png and /dev/null differ
diff --git a/core/img/actions/arrow-right.png b/core/img/actions/arrow-right.png
deleted file mode 100644 (file)
index 0acee70..0000000
Binary files a/core/img/actions/arrow-right.png and /dev/null differ
diff --git a/core/img/actions/arrow-up.png b/core/img/actions/arrow-up.png
deleted file mode 100644 (file)
index 5e42321..0000000
Binary files a/core/img/actions/arrow-up.png and /dev/null differ
index a5ba0ad481e8644adcc65c4953a5f8603b811477..c7028c3c88cedcfdc1045c9bc7e5c9cb01bae1f8 100644 (file)
@@ -1,6 +1,6 @@
                <?php foreach($_['files'] as $file):
                        $simple_file_size = simple_file_size($file['size']);
-                       $simple_size_color = 200-intval($simple_file_size*$simple_file_size); ?>
+                       $simple_size_color = 200-intval(pow($simple_file_size,3)); ?>
                        <tr data-file="<?php echo $file['name'];?>" data-type="<?php echo ($file['type'] == 'dir')?'dir':'file'?>" data-mime="<?php echo $file['mime']?>">
                                <td class="selection"><input type="checkbox" /></td>
                                <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 if($file['type'] == 'dir') echo "<strong>"; echo htmlspecialchars($file['name']); if($file['type'] == 'dir') echo "</strong>"; ?></a></td>