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

File history improve (#2707)

This commit is contained in:
杨顺强
2018-12-25 10:39:57 +08:00
committed by Daniel Pan
parent fbc9f2a9de
commit e1524f01a5
10 changed files with 218 additions and 279 deletions

View File

@@ -1,38 +1,54 @@
.history-main {
.history-header .title {
font-size: 1.5rem;
line-height: 1rem;
}
.history-header .title .go-back {
margin-right: 0.75rem;
color: #c0c0c0;
}
.history-header .title .go-back:hover {
color:#ff9933;
text-decoration: none;
}
.content-viewer {
background-color: #fafaf9;
border-radius: 10px;
overflow: auto;
}
.history, .markdown-viewer-render-content {
.markdown-viewer-render-content {
background-color: #fff;
word-break: break-word;
margin: 20px 40px;
border: 1px solid #e6e6dd;
}
.history-heading {
font-size: 25px;
}
.panel-heading {
.panel-header {
position: relative;
padding: .5rem 0rem;
padding: .5rem 0;
width: 100%;
border-bottom: 1px solid #e8e8e8;
font-size: 1rem;
font-weight: normal;
font-weight: 400;
line-height: 1.5;
height: 36px;
text-align: center;
}
.history .history-body {
flex: 1;
.history-body {
display: flex;
flex: 1;
overflow: hidden;
min-height: 0;
}
.history-list-container {
flex: 1;
flex-direction: column;
min-height: 0;
overflow: auto;
}
@@ -93,14 +109,3 @@
text-decoration: none;
color: #6e7687;
}
.history-viewer-contanier {
flex: 1;
overflow: auto;
}
.markdown-viewer-render-content {
margin: 20px 40px;
border: 1px solid #e6e6dd;
}