summaryrefslogtreecommitdiffstats
path: root/apps/gallery/lib/tiles.php
diff options
context:
space:
mode:
authorStephan Bergemann <st.bergemann@htw-berlin.de>2012-06-12 14:38:12 +0200
committerStephan Bergemann <st.bergemann@htw-berlin.de>2012-06-14 01:29:17 +0200
commit9f59cc5eb0069f28fc17eebc2adb3a62a13f95bd (patch)
treeebee060f3c376cae56be21259ede368ee823cc4f /apps/gallery/lib/tiles.php
parente99a95a756b15028b11871c3c7350066f2751964 (diff)
downloadnextcloud-server-9f59cc5eb0069f28fc17eebc2adb3a62a13f95bd.tar.gz
nextcloud-server-9f59cc5eb0069f28fc17eebc2adb3a62a13f95bd.zip
improved look of directories not containing images directly
Diffstat (limited to 'apps/gallery/lib/tiles.php')
-rw-r--r--apps/gallery/lib/tiles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php
index 48b54f0cf0e..817939759d0 100644
--- a/apps/gallery/lib/tiles.php
+++ b/apps/gallery/lib/tiles.php
@@ -63,7 +63,7 @@ class TilesLine {
$img_w = $this->tiles_array[$i]->getWidth();
$extra = '';
if ($img_w != IMAGE_WIDTH) $extra = ' style="width:'.$img_w.'px"';
- $r .= '<div class="gallery_div" '.$extra.' onmouseover="'.$this->tiles_array[$i]->getOnHoverAction().'" onmouseout="'.$this->tiles_array[$i]->getOnOutAction().'" onclick="'.$this->tiles_array[$i]->getOnClickAction().'">'.$this->tiles_array[$i]->get().'</div>';
+ $r .= '<div class="gallery_div" '.$extra.' onmouseover="'.$this->tiles_array[$i]->getOnHoverAction().'" onmouseout="'.$this->tiles_array[$i]->getOnOutAction().'" onclick="'.$this->tiles_array[$i]->getOnClickAction().'" style="background-color:#ddd">'.$this->tiles_array[$i]->get().'</div>';
}
$r .= '</div>';
@@ -148,7 +148,7 @@ class TileStack extends TileBase {
$r = '<div class="title gallery_div">'.$this->stack_name.'</div>';
if(count($this->tiles_array) == 0) {
// aint no pictures in this folder...
- $r.='<div class="miniature_border gallery_div" style="border:2px solid; margin-right: 2px;"></div>';
+ $r.='<div class="miniature_border gallery_div"></div>';
} else {
for ($i = 0; $i < count($this->tiles_array); $i++) {
$top = rand(-5, 5);