aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 10:56:02 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 10:56:02 +0000
commit64c857f17989ab38fb8551cd779275966bd2effe (patch)
treea9a11a8a7d938f9c9ed740ae0c2ef78f7043f56d
parent791aec157502b31236395adc7ab5aa632a234f97 (diff)
downloadelgg-64c857f17989ab38fb8551cd779275966bd2effe.tar.gz
elgg-64c857f17989ab38fb8551cd779275966bd2effe.tar.bz2
updated file gallery
git-svn-id: https://code.elgg.org/elgg/trunk@1308 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/css.php23
-rw-r--r--views/default/search/gallery.php2
2 files changed, 15 insertions, 10 deletions
diff --git a/views/default/css.php b/views/default/css.php
index a596d1935..66561ff28 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -1100,11 +1100,22 @@ background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_priv
line-height:1.2em;
}
+table.search_gallery {
+ border-spacing: 5px;
+ margin:0 0 20px 0;
+}
+.search_gallery td {
+ padding: 5px;
+}
+
.search_gallery_item {
border:1px dotted silver;
background-color: white;
- width: 210px;
- height: 200px;
+ width: 179px;
+ height: 179px;
+}
+.search_gallery_item:hover {
+ border:1px dotted black;
}
.search_gallery_item .search_listing {
@@ -1130,13 +1141,7 @@ background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_priv
margin-bottom: 10px;
}
-.search_gallery_item td {
- border:1px dotted silver;
- background-color: white;
- width: 210px;
- height: 200px;
- margin: 5px;
-}
+
.search_gallery_item .search_listing {
diff --git a/views/default/search/gallery.php b/views/default/search/gallery.php
index 245971e95..9f3a34014 100644
--- a/views/default/search/gallery.php
+++ b/views/default/search/gallery.php
@@ -31,7 +31,7 @@
echo elgg_view_entity($entity);
echo "</td>";
$col++;
- if ($col > 2) {
+ if ($col > 3) {
echo "</tr>";
$col = 0;
}