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

[file view] add 'discussion'

This commit is contained in:
llj
2016-05-24 17:53:29 +08:00
parent fe999b7559
commit f67865ea62
7 changed files with 304 additions and 60 deletions

View File

@@ -17,15 +17,9 @@
#shared-file-view-hd {
margin-top:4px;
}
#file-op {
padding:0;
border:0;
}
#file-op .avatar,
#file-op .name,
#file-op .time,
#file-op span {
#file-op .avatar {
vertical-align:middle;
border-radius:1000px;
}
#file-op .time {
color:#666;
@@ -34,9 +28,6 @@
#file-op .file-diff {
font-size:100%;
}
#file-op .contributors {
margin-left:8px;
}
#file-view {
padding:30px 0 15px;
background:#f4f4f4;
@@ -73,9 +64,6 @@
.file-path {
margin: 0 0 9px;
}
#file-op .avatar {
border-radius:1000px;
}
.history-file-path {
margin:.5em 0 0;
}

View File

@@ -886,7 +886,7 @@ textarea:-moz-placeholder {/* for FF */
}
/**** right side panel ****/
.right-side-panel {
background:#f8f8f8;
background: #fff;
width:400px;
position:fixed;
right:-400px;
@@ -901,8 +901,9 @@ textarea:-moz-placeholder {/* for FF */
transition: all 0.3s ease;
}
.right-side-panel-hd {
background:#f8f8f8;
padding:10px;
border-bottom: 1px solid #c9c9c9;
border-bottom:1px solid #c9c9c9;
}
.right-side-panel-footer {
position:absolute;
@@ -910,7 +911,6 @@ textarea:-moz-placeholder {/* for FF */
}
.right-side-panel-con {
overflow-y: auto;
background: #fff;
}
/**** messages ****/
.messages {
@@ -1979,7 +1979,6 @@ button.sf-dropdown-toggle:focus {
text-align:right;
margin-bottom:4px;
}
.file-op button,
#file-op button,
.repo-op .op-btn {
*margin-left:5px;/* for ie 7*/
@@ -2440,10 +2439,6 @@ button.sf-dropdown-toggle:focus {
}
/* file view online, file edit */
.file-op {
color:#444;
text-align:right;
}
#shared-link,
#shared-upload-link,
#shared-link-text,
@@ -2461,22 +2456,6 @@ button.sf-dropdown-toggle:focus {
#gen-upload-link-btn {
margin-top: 0.5em;
}
.file-op {
margin-top:0.8em;
}
.file-op a {
font-weight:normal;
margin-left:2px;
}
.file-op button {
color:#444;
}
.file-op [class^='icon-'],
.file-op [class^='sf-icon-'] {
font-size:1em;
margin-right:3px;
color:#666;
}
#text-diff-output {
padding:3px;
background:#dedede;
@@ -2484,13 +2463,7 @@ button.sf-dropdown-toggle:focus {
-moz-border-radius:3px;
margin-top:12px;
}
#file-op {
padding:8px 10px;
background:#fff;
text-align:right;
border:1px solid #ccc;
}
#file-op button,
#file-op .op-btn,
#file-op .sf-btn-link {
padding:2px 8px;
}