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

Index viewer ui (#3845)

* wiki-page-style

* update
This commit is contained in:
Michael An
2019-07-15 14:39:52 +08:00
committed by Daniel Pan
parent f0d9ac813f
commit 5f2382ff0d
2 changed files with 35 additions and 13 deletions

View File

@@ -1,8 +1,9 @@
.wiki-nav-content {
margin-bottom: 5px;
margin-top: 18px;
}
.wiki-nav-content a, .wiki-nav-content span {
color: #333;
color: #4d5156;
font-size: 14px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
@@ -17,10 +18,10 @@
color: #eb8205;
}
.switch-btn {
width: 1rem;
position: absolute;
left: 0;
top: 0;
top: 4px;
color: #c0c0c0;
cursor: pointer;
font-size: 12px;
}

View File

@@ -4,18 +4,18 @@
flex-direction:column;
overflow:hidden; /* for ff */
border-right:1px solid #eee;
background: #f5f7fa;
}
.wiki-pages-heading {
position: relative;
font-size: 1rem;
font-weight: normal;
text-align:center;
padding:.5rem 0rem;
border-bottom:1px solid #e8e8e8;
padding: 0.5rem 0 0.5rem 2rem;
border-bottom: 1px solid #e8e8e8;
line-height: 1.5;
height:40px;
height: 38px;
background-color: #f9f9f9;
margin-bottom: 0;
}
.heading-icon {
position: absolute;
@@ -67,17 +67,38 @@ img[src=""] {
flex-direction: column;
}
.cur-view-content .wiki-page-container{
.cur-view-content .wiki-page-container {
margin: -0.625rem -1rem -1.25rem;
padding: 0.625rem 1rem 1.25rem;
display: flex;
flex: 1;
overflow: auto;
padding-left: 30px;
}
.cur-view-content .wiki-page-container .outline-h2,
.cur-view-content .wiki-page-container .outline-h3 {
height: 24px;
font-size: 12px;
color: #4d5156;
}
.cur-view-content .wiki-page-container .outline-h2.active,
.cur-view-content .wiki-page-container .outline-h3.active {
color: #eb8205;
}
.cur-view-content .wiki-page-container .seafile-markdown-outline {
overflow-y: hidden;
margin-right: 10px;
}
.cur-view-content .wiki-page-container .seafile-markdown-outline:hover {
overflow-y: auto;
}
.cur-view-content .wiki-page-content {
width: calc(100% - 160px);
padding-right: 40px;
width: calc(100% - 200px);
padding-right: 30px;
}
.cur-view-content .markdown-outline {