From 3afdde54b5789ffe63294d415da4a3b170e9356c Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 15 Mar 2010 20:35:02 +0000 Subject: Further updates to files single entity view. git-svn-id: http://code.elgg.org/elgg/trunk@5410 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/views/default/file/css.php | 99 +++++++++++++++------------------- mod/file/views/default/object/file.php | 19 ++----- 2 files changed, 46 insertions(+), 72 deletions(-) (limited to 'mod') 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 @@
-
$desc)); ?>
-
+
$desc)); ?>
-
$tags)); - - ?>
+

$tags)); ?>

-
- -
+

-
".elgg_view('file/specialcontent/' . $mime, $vars)."
"; -- cgit v1.2.3