1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

init shared file view (#2748)

This commit is contained in:
C_Q
2019-01-04 18:30:03 +08:00
committed by Daniel Pan
parent 91c9ac8e80
commit d3c72eeedc
10 changed files with 367 additions and 29 deletions

View File

@@ -0,0 +1,77 @@
#wrapper {
height: 100%;
}
.shared-file-view-md {
height: 100%;
overflow-y: hidden;
}
.shared-file-view-md-header {
background: #f4f4f7;
height: 53px;
border-bottom: 1px solid #e8e8e8;
padding: 8px 16px 4px;
justify-content: space-between;
}
.shared-file-view-md-main {
height: calc(100% - 53px);
}
.shared-file-view-head {
width: 950px;
margin: 0 auto;
height: 50px;
}
.shared-file-view-head a {
color: #fff;
}
.shared-file-view-head h2 {
margin-top: 9px;
color: #222;
font-size: 1.4em;
margin-bottom: 0px;
font-weight: 400;
}
.shared-file-view-head .share-by {
margin: 0;
}
.shared-file-view-head .shared-file-op-btn {
padding: 7px;
margin-top: 9px;
}
.shared-file-view-body {
height: calc(100% - 50px);
padding: 30px 0 15px;
background: #f4f4f4;
border: 1px solid #ededed;
margin-top: 12px;
overflow: auto;
}
.shared-file-view-body .md-view {
min-height: 400px;
border: 1px solid #ccc;
margin: 0 auto;
box-shadow: 0 0 6px #ccc;
width: 756px;
background: #fff;
overflow: auto;
}
@media (max-width: 991.98px) {
.shared-file-view-head {
width: 100%;
padding: 10px 20px;
height: 60px;
}
.shared-file-view-body {
height: calc(100% - 60px);
}
}