From 09d42ff13c70a46af6383cec9be3a6eed23d62d7 Mon Sep 17 00:00:00 2001 From: llj Date: Fri, 10 Aug 2012 14:32:03 +0800 Subject: [PATCH] modified msg-reply, msg --- base/templatetags/seahub_tags.py | 2 +- group/templates/group/group_reply_list.html | 11 +++++++---- media/css/seahub.css | 18 ++++++++++-------- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/base/templatetags/seahub_tags.py b/base/templatetags/seahub_tags.py index 96cdc260e2..dde5f3851f 100644 --- a/base/templatetags/seahub_tags.py +++ b/base/templatetags/seahub_tags.py @@ -129,7 +129,7 @@ at_pattern = re.compile(r'(\s|^)(@\w+)', flags=re.U) @register.filter(name='find_at') def find_at(text): - return at_pattern.sub(r'\1\2', text) + return at_pattern.sub(r'\1\2', text) find_at.is_safe=True @register.filter(name='short_email') diff --git a/group/templates/group/group_reply_list.html b/group/templates/group/group_reply_list.html index 326cedffb7..670034f828 100644 --- a/group/templates/group/group_reply_list.html +++ b/group/templates/group/group_reply_list.html @@ -1,10 +1,13 @@ -{% load seahub_tags %} +{% load seahub_tags avatar_tags %} diff --git a/media/css/seahub.css b/media/css/seahub.css index 037857e13e..c4b6874727 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -690,26 +690,28 @@ p { .msg-bd .op:hover { text-decoration:none; } -.msg-bd p a { - color: #666666; +.msg-bd a { font-weight: normal; } +.msg-bd .at { + color:#808; +} .reply-list { color:#444; width:90%; - padding:2px 0 2px 0; +} +.reply-list li { + margin:5px 0; +} +.reply-list .txt { + width: 93%; } .reply-list a { - color:#666; - font-weight:normal; font-size:12px; } .reply-form .text-input { width:82%; } -.at-in-msg { - color:#e83; -} /*file upload*/ .upload-file-panel {