diff --git a/media/css/seahub.css b/media/css/seahub.css index 80b0723fa0..7efda9e8de 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -197,6 +197,24 @@ ul.with-bg li { border-style: dashed dashed dashed solid; border-left-color: #bbb; } +.info-item { + border: 1px solid #eee; + border-radius: 2px; + margin-bottom: 12px; +} +.info-item h3, +.info-item p { + margin:0; +} +.info-item-top { + padding: 4px 10px; + border-bottom: 1px solid #eee; + border-top-left-radius: 1px; + border-top-right-radius: 1px; +} +.info-item-bottom { + padding: 8px 10px; +} /* container */ #header, #main, #footer { width:950px; } @@ -218,9 +236,8 @@ ul.with-bg li { } #left-panel { float:right; - width:220px; - border-left:1px solid #E8E8E8; - padding-left:20px; + width:230px; + padding-left:10px; } #right-panel { float:left; @@ -567,20 +584,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:69px; 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, @@ -614,6 +632,36 @@ ul.with-bg li { width:262px; margin-bottom:10px; } +#repos-tabs { + font-size:1em; + padding:0; + border:0; + min-height:150px; + margin-bottom:75px; +} +#repos-tabs .ui-tabs-nav { + padding:0; +} +#repos-tabs .ui-tabs-nav li { + border:0; + background:none; +} +#repos-tabs .ui-tabs-nav li a { + color:#8A948F; + font-weight:normal; + padding:.3em 0; + margin-right:0.6em; +} +#repos-tabs .ui-tabs-nav .ui-state-active a { + color:#DD4B39; + border-bottom:2px solid #DD4B39; +} +#repos-tabs .ui-tabs-nav li a:hover { + color:#DD4B39; +} +#repos-tabs .ui-tabs-panel { + padding:0; +} .event-item { margin:10px 0 15px; } diff --git a/organizations/templates/organizations/personal.html b/organizations/templates/organizations/personal.html index 9fe6d40920..06fbef773b 100644 --- a/organizations/templates/organizations/personal.html +++ b/organizations/templates/organizations/personal.html @@ -14,12 +14,9 @@ {% endblock %} {% block right_panel %} - + {% include "snippets/my_owned_repos.html" %} - -{% include "snippets/shared_in_repos.html" %} - {% url 'org_repo_share' org.url_prefix as repo_share_url %} {% with post_url=repo_share_url tips='必须是团体内部成员或群组。' %} {% include "snippets/repo_share_form.html" %} diff --git a/templates/myhome.html b/templates/myhome.html index 4a50f4f29b..1ed5180914 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 %} -

提醒...

-