From 26788e119aa2acc6c9f50556be702d66698c46a3 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 27 Jun 2008 15:34:29 +0000 Subject: Tweaks to generic comment CSS git-svn-id: https://code.elgg.org/elgg/trunk@1186 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/annotation/generic_comment.php | 31 +++++++++++++++++----------- views/default/comments/forms/edit.php | 6 +++++- views/default/css.php | 23 ++++++++++++++++++++- 3 files changed, 46 insertions(+), 14 deletions(-) (limited to 'views') diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php index a18bd9eb3..80c22df49 100644 --- a/views/default/annotation/generic_comment.php +++ b/views/default/annotation/generic_comment.php @@ -12,23 +12,30 @@ * */ + $owner = get_user($vars['annotation']->owner_guid); + ?> -
+
-
- get_entity($vars['annotation']->owner_guid), 'size' => 'tiny')); - ?> -
-

- owner_guid)->username . " on " . friendly_time($vars['annotation']->time_created); ?> -

+
+ $owner, + 'size' => 'small')); + ?> +
+

$vars['annotation']->value)); ?>

+

+ name; ?> time_created); ?> +

+ $vars['url'] . "action/comments/delete&annotation_id=" . $vars['annotation']->id, + 'href' => $vars['url'] . "action/comments/delete?annotation_id=" . $vars['annotation']->id, 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), )); @@ -50,5 +57,5 @@ - -
\ No newline at end of file +
+
\ No newline at end of file diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php index f28a53b36..dcdb380ca 100644 --- a/views/default/comments/forms/edit.php +++ b/views/default/comments/forms/edit.php @@ -22,7 +22,11 @@

diff --git a/views/default/css.php b/views/default/css.php index 1ec8092dd..7e0c902aa 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -493,7 +493,28 @@ a.toggle_customise_edit_panel:hover { padding:3px 10px 3px 10px; margin:20px 20px 0px 20px; } - + +/* *************************************** + COMMENTS +*************************************** */ + +.generic_comment { + margin-bottom: 50px; + padding-bottom: 10px; +} +.generic_comment_icon { + position: absolute; +} +.generic_comment_details { + margin-left: 60px; + border: 0px; + border-bottom: 1px; + border-style: solid; +} +.generic_comment_owner { + font-size: 80%; + margin: 0px; +} /* *************************************** ELGG TOOLBAR -- cgit v1.2.3