aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-15 20:35:02 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-15 20:35:02 +0000
commit3afdde54b5789ffe63294d415da4a3b170e9356c (patch)
tree24f8143df2d5e366b741b5d6db813feea8d60082 /mod/file/views
parent451b29b0f5fef1f41b209c51b57d6362c13696a1 (diff)
downloadelgg-3afdde54b5789ffe63294d415da4a3b170e9356c.tar.gz
elgg-3afdde54b5789ffe63294d415da4a3b170e9356c.tar.bz2
Further updates to files single entity view.
git-svn-id: http://code.elgg.org/elgg/trunk@5410 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/views')
-rw-r--r--mod/file/views/default/file/css.php99
-rw-r--r--mod/file/views/default/object/file.php19
2 files changed, 46 insertions, 72 deletions
diff --git a/mod/file/views/default/file/css.php b/mod/file/views/default/file/css.php
index d6f94b61d..58b5684df 100644
--- a/mod/file/views/default/file/css.php
+++ b/mod/file/views/default/file/css.php
@@ -16,6 +16,48 @@
background-color: white;
}
+/* files - single entity view */
+.filerepo_title_owner_wrapper .filerepo_title,
+.filerepo_title_owner_wrapper .filerepo_owner,
+.filerepo_file .filerepo_maincontent {
+ margin-left: 70px !important;
+}
+.filerepo_owner_details {
+ margin:0;
+ padding:0;
+ line-height: 1.2em;
+}
+.filerepo_owner_details small {
+ color:#666666;
+}
+.filerepo_owner .usericon {
+ margin: 3px 5px 5px 0;
+ float: left;
+}
+.filerepo_file .filerepo_icon {
+ width: 70px;
+ position: absolute;
+ margin:5px 0 10px 0;
+}
+.filerepo_file .filerepo_title {
+ margin:0;
+ padding:7px 4px 10px 0;
+ line-height: 1.2em;
+}
+.filerepo_file .filerepo_description {
+ margin:10px 0 0 0;
+}
+.filerepo_file .filerepo_description p {
+ padding:0 0 5px 0;
+ margin:0;
+}
+.filerepo_file .filerepo_specialcontent img {
+ padding:10px;
+ margin-bottom:10px;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ background: #333333;
+}
/* files - gallery view */
@@ -29,7 +71,7 @@
width:165px;
}
.entity_gallery_item .filerepo_gallery_item:hover {
- background-color: #333333;
+ background-color: #999999;
}
.filerepo_download,
.filerepo_controls {
@@ -69,44 +111,6 @@
}
-/*
-p.filerepo_owner {
- margin:0;
- padding:0;
-}
-.filerepo_owner_details {
- margin:0;
- padding:0;
- line-height: 1.2em;
-}
-.filerepo_owner_details small {
- color:#666666;
-}
-.filerepo_owner .usericon {
- margin: 3px 5px 5px 0;
- float: left;
-}
-
-.filerepo_download a {
- font: 12px/100% Arial, Helvetica, sans-serif;
- font-weight: bold;
- color: white;
- background:#4690d6;
- border:none;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- width: auto;
- height: 25px;
- padding: 3px 6px 3px 6px;
- margin:10px 0 10px 0;
- cursor: pointer;
-}
-.filerepo_download a:hover {
- background: black;
- color:white;
- text-decoration: none;
-}
-*/
/* FILE REPRO WIDGET VIEW */
/*
@@ -146,13 +150,6 @@ p.filerepo_owner {
.filerepo_widget_content {
margin-left: 70px;
}
-.filerepo_title {
- margin:0;
- padding:6px 5px 0 0;
- line-height: 1.2em;
- color:#666666;
- font-weight: bold;
-}
.collapsable_box #filerepo_widget_layout {
margin:0 10px 0 10px;
@@ -178,16 +175,6 @@ p.filerepo_owner {
}
*/
-/* zaudio player */
-/*
-.filerepo_maincontent .filerepo_specialcontent {
- margin:0 0 20px 0;
-}
-.filerepo_tags {
- padding:0 0 10px 10px;
- margin:0;
-}
-*/
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index da555772d..f92c2bfc5 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -115,36 +115,23 @@
<div class="filerepo_maincontent">
- <div class="filerepo_description"><?php echo elgg_view('output/longtext', array('value' => $desc)); ?></div>
- <div class="filerepo_tags">
+ <div class="filerepo_description"><?php echo elgg_view('output/longtext', array('value' => $desc)); ?></div>
<?php
if (!empty($tags)) {
-
?>
- <div class="object_tag_string"><?php
-
- echo elgg_view('output/tags',array('value' => $tags));
-
- ?></div>
+ <p class="tags"><?php echo elgg_view('output/tags',array('value' => $tags)); ?></p>
<?php
}
$categories = elgg_view('categories/view',$vars);
if (!empty($categories)) {
?>
- <div class="filerepo_categories">
- <?php
-
- echo $categories;
-
- ?>
- </div>
+ <p class="categories"><?php echo $categories; ?></p>
<?php
}
?>
- </div>
<?php
if (elgg_view_exists('file/specialcontent/' . $mime)) {
echo "<div class='filerepo_specialcontent'>".elgg_view('file/specialcontent/' . $mime, $vars)."</div>";