diff --git a/media/css/seahub.css b/media/css/seahub.css index e29f4cc11b..ec7690d41f 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -2629,6 +2629,16 @@ button.sf-dropdown-toggle:focus { } /* file view online, file edit */ +.file-view-hd { + font-size:1.4em; + margin-bottom:0px; +} +.file-view-op { + margin-top:10px; +} +.file-view-meta-info { + margin:0; +} #shared-link, #shared-upload-link, #shared-link-text, @@ -2664,7 +2674,7 @@ button.sf-dropdown-toggle:focus { #file-view-tip { height:130px; padding:30px 10px 10px; - width:930px; + width:950px; background:#fff; text-align:center; } @@ -2674,24 +2684,28 @@ button.sf-dropdown-toggle:focus { font-family: Consolas,"Liberation Mono",Courier,monospace;/*override .ace_editor*/ min-height: 200px; } -#img-prev { +#img-prev, +#img-next { position:absolute; + top:48%; + text-decoration:none; + color:#888; + width:50px; + height:50px; + background:#fff; + border-radius:100%; + line-height:50px; +} +#img-prev { left:15px; } #img-next { - position:absolute; right:15px; } -#img-prev, -#img-next { - top:48%; - text-decoration:none; - color: #333; - width: 50px; - height: 50px; - background: #fff; - border-radius: 100%; - line-height: 50px; + +#img-prev:hover, +#img-next:hover { + color:#333; } #image-view { padding:1px; @@ -3465,7 +3479,7 @@ button.sf-dropdown-toggle:focus { } .shared-file-op-btn { padding:7px; - margin-top:11px; + margin-top:9px; } /*random password */ #share-popup .passwd-wrapper, diff --git a/seahub/templates/shared_file_view.html b/seahub/templates/shared_file_view.html index ceb0df1937..8ef2fdde11 100644 --- a/seahub/templates/shared_file_view.html +++ b/seahub/templates/shared_file_view.html @@ -13,7 +13,7 @@ {% endif %}
-