mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
Rewrite wiki page with react (#2258)
This commit is contained in:
89
frontend/src/css/wiki.css
Normal file
89
frontend/src/css/wiki.css
Normal file
@@ -0,0 +1,89 @@
|
||||
.wiki-side-nav {
|
||||
flex:auto;
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
overflow:hidden; /* for ff */
|
||||
border-right:1px solid #eee;
|
||||
background: #f5f7fa;
|
||||
}
|
||||
|
||||
.wiki-pages-heading {
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
text-align:center;
|
||||
padding:.5rem 0rem;
|
||||
border-bottom:1px solid #e8e8e8;
|
||||
line-height: 1.5;
|
||||
height:40px;
|
||||
}
|
||||
.wiki-pages-container {
|
||||
overflow: hidden;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.wiki-pages-container:hover {
|
||||
overflow: auto;
|
||||
}
|
||||
.wiki-pages-container .tree-view {
|
||||
padding-left:0;
|
||||
}
|
||||
|
||||
.wiki-md-viewer-rendered-content {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
.wiki-pages-container .tree-node-inner {
|
||||
line-height: 1.625;
|
||||
}
|
||||
.wiki-pages-container .folder-toggle-icon {
|
||||
color: #c0c0c0;
|
||||
line-height: 1.625;
|
||||
}
|
||||
.wiki-pages-container .tree-node-icon {
|
||||
color: #b0b0b0;
|
||||
}
|
||||
.wiki-main .cur-view-path {
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.wiki-main .cur-view-path::after {
|
||||
display:none;
|
||||
}
|
||||
.wiki-main .cur-view-main-con {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.wiki-page-ops {
|
||||
position:fixed;
|
||||
top:10px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.wiki-page-ops:before {
|
||||
content:'';
|
||||
border-left:1px solid #ddd;
|
||||
position:absolute;
|
||||
top:3px;
|
||||
left:-16px;
|
||||
bottom:3px;
|
||||
}
|
||||
}
|
||||
|
||||
.wiki-page-list-item {
|
||||
word-break:break-all;
|
||||
line-height:1.6;
|
||||
margin:3px 0;
|
||||
}
|
||||
|
||||
.wiki-page-link,
|
||||
.wiki-page-link:hover {
|
||||
font-size:1.15em;
|
||||
font-weight:normal;
|
||||
color:#444;
|
||||
margin-left:5px;
|
||||
}
|
||||
|
||||
#wiki-page-last-modified {
|
||||
margin-top:40px;
|
||||
font-size:12px;
|
||||
color: #666;
|
||||
}
|
Reference in New Issue
Block a user