1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 19:00:12 +00:00

Merge pull request #1976 from haiwen/file-view

[file view] current/history/shared file view: bugfix & improvement
This commit is contained in:
llj
2018-01-10 10:11:19 +08:00
committed by GitHub
10 changed files with 34 additions and 148 deletions

View File

@@ -1,5 +1,4 @@
#main {
min-height:0;
padding:0;
}
#view-hd,
@@ -12,6 +11,7 @@
#view-hd,
#shared-file-view-hd {
margin-top:4px;
flex-shrink:0;
}
#file-op .avatar {
vertical-align:middle;
@@ -29,10 +29,6 @@
background:#f4f4f4;
border:1px solid #ededed;
margin-top:12px;
height:10000px;
}
body {
overflow:hidden;
}
@media (max-width:950px) {
#file-view {

View File

@@ -1064,44 +1064,6 @@ textarea:-moz-placeholder {/* for FF */
.checkbox-label {
display:block;
}
/**** right side panel ****/
.right-side-panel {
background: #fff;
width:400px;
position:fixed;
right:-400px;
top:0;
bottom:0;
z-index:21;
overflow:hidden;
border-left:1px solid #c9c9c9;
box-shadow:0 0 4px #ccc;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
transition: all 0.3s ease;
}
@media (max-width:400px) {
.right-side-panel {
width:100%;
}
}
.right-side-panel-hd {
background:#f8f8f8;
padding:10px;
border-bottom:1px solid #c9c9c9;
}
.right-side-panel-title {
text-align:center;
margin:0;
}
.right-side-panel-con {
overflow-y:auto;
}
.right-side-panel-footer {
position:absolute;
bottom:0;
width:100%;
}
/**** details-side-panel ****/
.details-panel {