diff --git a/media/css/seahub.css b/media/css/seahub.css index 95d1599ef9..8b86514938 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -168,6 +168,10 @@ p { .op { font-size:13px; } +.op-target { + color:#c39; + word-wrap:break-word; +} .no-deco, .no-deco:hover { text-decoration:none; @@ -204,6 +208,25 @@ ul.with-bg li { border-style: dashed dashed dashed solid; border-left-color: #bbb; } +.outer-caret, +.inner-caret { + height:0; + width:1px; + border:14px solid; + border-color:#CBCBCB transparent; + border-bottom-width:0; + z-index:100; + margin:0 auto; +} +.inner-caret { + border-top-color:#fff; + position:relative; + top:-15px; + left:-14px; +} +.placeholder { + color: #aaa; +} .avatar { border-radius:3px; } @@ -839,9 +862,6 @@ ul.with-bg li { display:block; padding:0 12px; } -.op-target { - color:#c39; -} #mv-form { width:500px; padding:10px 20px; @@ -1007,17 +1027,6 @@ ul.with-bg li { width:260px; height:80px; } - -#recommend-msg, -#recommend-groups { - width:450px; -} -#recommend-groups { - margin-bottom:5px; -} -#recommend-msg { - height:55px; -} /* group, org */ .group-list { margin-top:20px; @@ -1335,7 +1344,8 @@ ul.with-bg li { } /* File comment */ #file-comment, -#to-group { +#to-group, +#recommend-to-group-form { width:400px; position:fixed; right:10px; @@ -1371,29 +1381,13 @@ ul.with-bg li { word-wrap:break-word; } #comment-caret, -#to-group-caret { +#to-group-caret, +#recommend-to-group-caret { width:28px; position:fixed; right:27px; bottom:26px; } -#comment-outer-caret, -#comment-inner-caret { - height:0; - width:1px; - border:14px solid; - border-color:#CBCBCB transparent; - border-bottom-width:0; - z-index:100; - margin:0 auto; -} -#comment-inner-caret { - border-top-color:#fff; - position:relative; - top:-15px; - left:-14px; -} -.placeholder { color: #aaa; } /*to-group*/ #to-group { min-width:100px; @@ -1407,7 +1401,24 @@ ul.with-bg li { #to-group a:hover { text-decoration:none; } - +/*recommend to group*/ +#recommend-to-group-form { + padding-bottom:10px; +} +#recommend-to-group-form .groups { + margin-bottom:6px; +} +#recommend-to-group-form .group-checkbox, +#recommend-to-group-form .group-name { + vertical-align:middle; +} +#recommend-to-group-form .group-name { + margin:0 10px 0 3px; +} +#recommend-to-group-form textarea { + width:100%; + height:5em; +} /* text file diff */ div.diff-desc { margin: 10px 0; } div.diff-desc p { margin: 10px 0; } diff --git a/templates/repo.html b/templates/repo.html index 0a6f83b865..406d4a85cd 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -54,6 +54,7 @@ {{ current_commit.props.ctime|translate_commit_time }}
+ {% endif %} @@ -203,12 +204,10 @@ + {% with attach_type='dir' %} {% include "snippets/group_recommend_form.html" %} {% endwith %} - - - {% endblock %} {% block extra_script %} diff --git a/templates/repo_view_file.html b/templates/repo_view_file.html index 652166167a..3a9db6fb59 100644 --- a/templates/repo_view_file.html +++ b/templates/repo_view_file.html @@ -185,8 +185,8 @@