From bc3c0b577d11ee6949b75b04068c7ed46c18e2af Mon Sep 17 00:00:00 2001 From: llj Date: Tue, 9 Oct 2012 14:59:42 +0800 Subject: [PATCH] modified myhome right panel --- media/css/seahub.css | 32 +++++++++++++++++++++++++------ templates/myhome.html | 18 +++++++++++------ templates/snippets/my_groups.html | 10 ++++++---- 3 files changed, 44 insertions(+), 16 deletions(-) diff --git a/media/css/seahub.css b/media/css/seahub.css index 96cdeeaae7..5e82bf802b 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -197,6 +197,25 @@ ul.with-bg li { border-style: dashed dashed dashed solid; border-left-color: #bbb; } +.info-item { + border: 1px solid #C5D5DD; + border-radius: 4px; + margin-bottom: 12px; +} +.info-item h3, +.info-item p { + margin:0; +} +.info-item-top { + padding: 4px 10px; + background: #E6F1F6; + border-bottom: 1px solid #D8E6EC; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.info-item-bottom { + padding: 8px 10px; +} /* container */ #header, #main, #footer { width:950px; } @@ -567,20 +586,21 @@ ul.with-bg li { /*myhome*/ .home-profile .avatar { float:left; - margin:0 15px 0 11px; + margin:0 15px 0 9px; } .mygroup { - display:inline-block; - width:70px; + float:left; + width:66px; text-align:center; word-wrap:break-word; vertical-align:top; margin:0 0px 5px 0; } -.mygroup .tip { - font-size: 0.9em; - color: #333; +.mygroup a { + display:inline-block; + width:100%; } + #repo-create, #contact-add, #group-add, diff --git a/templates/myhome.html b/templates/myhome.html index 545fa1f3cd..ae268e9e4f 100644 --- a/templates/myhome.html +++ b/templates/myhome.html @@ -5,8 +5,9 @@ {% block nav_myhome_class %}class="cur"{% endblock %} {% block left_panel %} -

我的基本信息

-
+
+

我的基本信息

+
{% avatar myname 48 %} {% if nickname %}

{{ nickname }}

@@ -14,10 +15,12 @@

暂无昵称 编辑

{% endif %}
+
{% if grpmsg_list or grpmsg_reply_list or orgmsg_list %} -

提醒...

-