2019-02-20 03:54:25 +00:00
|
|
|
|
|
|
|
.view-mode-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row !important;
|
2019-02-21 09:37:04 +00:00
|
|
|
overflow: hidden !important;
|
|
|
|
min-height: 0;
|
2019-02-20 03:54:25 +00:00
|
|
|
}
|
|
|
|
|
2019-02-21 09:37:04 +00:00
|
|
|
.dir-content-nav {
|
2019-02-20 03:54:25 +00:00
|
|
|
flex: 0 0 25%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2019-02-21 09:37:04 +00:00
|
|
|
background-color: #fff;
|
2019-02-20 03:54:25 +00:00
|
|
|
border-right: 1px solid #eee;
|
2019-02-21 09:37:04 +00:00
|
|
|
margin-left: -0.75rem;
|
2019-02-20 03:54:25 +00:00
|
|
|
}
|
|
|
|
|
2019-02-21 09:37:04 +00:00
|
|
|
.dir-content-nav:hover {
|
2019-02-20 03:54:25 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2019-02-21 09:37:04 +00:00
|
|
|
.dir-content-main {
|
|
|
|
flex: 1 0 75% !important;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-02-21 10:42:47 +00:00
|
|
|
margin-right: -1.75rem;
|
2019-02-21 09:37:04 +00:00
|
|
|
padding:0 0.75rem;
|
|
|
|
overflow: auto;
|
2019-02-20 06:43:55 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 03:54:25 +00:00
|
|
|
/*tree view */
|
|
|
|
.tree-view {
|
|
|
|
padding: 0 12px 0 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner {
|
|
|
|
position: relative;
|
|
|
|
height: 26px;
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: 1.625;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner-hover {
|
|
|
|
background-color: rgb(255,239,178);
|
2019-02-20 06:43:55 +00:00
|
|
|
border-radius: 0.25rem;
|
2019-02-20 03:54:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .tree-node-text {
|
|
|
|
padding-left: 2.8rem;
|
|
|
|
width: calc(100% - 2.8rem);
|
|
|
|
font-size: 15px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .left-icon {
|
|
|
|
position: absolute;
|
|
|
|
display:flex;
|
|
|
|
align-items:center;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folder-toggle-icon {
|
|
|
|
position: absolute;
|
2019-02-20 09:08:00 +00:00
|
|
|
left: 0;
|
2019-02-20 03:54:25 +00:00
|
|
|
color: #c0c0c0;
|
|
|
|
line-height: 1.625;
|
|
|
|
width: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1rem;
|
|
|
|
text-align: center;
|
|
|
|
color: #b0b0b0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .right-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2019-02-20 06:43:55 +00:00
|
|
|
right: 0.5rem;
|
2019-02-20 03:54:25 +00:00
|
|
|
bottom: 0;
|
|
|
|
width: 1.5rem;
|
|
|
|
color: #888;
|
|
|
|
z-index: 2;
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .right-icon i {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
line-height: 1.625rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-hight-light {
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: #feac74 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-hight-light i {
|
|
|
|
color:#fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
min-width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.parent-path {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.parent-path .form-text {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: 0.25rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
}
|
|
|
|
|
2019-02-20 06:43:55 +00:00
|
|
|
/* todo optimized */
|
|
|
|
.cur-view-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cur-view-content .wiki-page-container{
|
|
|
|
margin: -0.625rem -1rem -1.25rem;
|
|
|
|
padding: 0.625rem 1rem 1.25rem;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cur-view-content .wiki-page-content {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2019-02-21 09:37:04 +00:00
|
|
|
.dir-content-main .wiki-page-content .article {
|
2019-02-20 06:43:55 +00:00
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
2019-02-21 09:37:04 +00:00
|
|
|
.dir-content-main .wiki-page-content .ml-2 {
|
2019-02-20 03:54:25 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2019-02-21 09:37:04 +00:00
|
|
|
.dir-content-main .wiki-page-content .ml-2:hover {
|
2019-02-20 03:54:25 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
color:#eb8205;
|
|
|
|
}
|
|
|
|
|
2019-02-20 06:43:55 +00:00
|
|
|
.wiki-page-content a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wiki-side-nav .wiki-page-content a {
|
|
|
|
color: #212529;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2019-02-20 03:54:25 +00:00
|
|
|
#wiki-page-last-modified {
|
|
|
|
padding: 40px 10px;
|
|
|
|
font-size:12px;
|
|
|
|
color: #666;
|
|
|
|
}
|
2019-02-20 06:43:55 +00:00
|
|
|
|
|
|
|
.wiki-md-viewer-rendered-content.article h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.index-edit {
|
|
|
|
position: absolute;
|
|
|
|
right: 0.25rem;
|
|
|
|
top: 0.25rem;
|
|
|
|
}
|