2019-03-14 02:15:25 +00:00
|
|
|
.seafile-md-viewer {
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: row;
|
2019-03-14 10:14:11 +00:00
|
|
|
position: relative;
|
|
|
|
float: none;
|
2019-03-14 02:15:25 +00:00
|
|
|
}
|
|
|
|
.sf-md-viewer-topbar-first {
|
|
|
|
padding: 4px 10px;
|
|
|
|
background-color: #fff;
|
|
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
box-shadow: 0 3px 2px -2px rgba(200,200,200,.15);
|
|
|
|
flex-shrink:0;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-container {
|
|
|
|
width: 70%;
|
|
|
|
background-color: #fafaf9;
|
2019-03-14 10:14:11 +00:00
|
|
|
overflow: hidden;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-container:hover {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-slate {
|
|
|
|
flex: auto;
|
|
|
|
position: relative;
|
|
|
|
margin: 20px 40px;
|
2019-03-14 02:15:25 +00:00
|
|
|
}
|
|
|
|
.seafile-md-viewer-main {
|
|
|
|
flex:auto;
|
|
|
|
overflow:auto;
|
|
|
|
background:#fafaf9;
|
|
|
|
width: 70%;
|
|
|
|
}
|
2019-03-14 10:14:11 +00:00
|
|
|
.seafile-editor-outline .active {
|
2019-03-14 02:15:25 +00:00
|
|
|
color: #eb8205;
|
|
|
|
border-left: 1px solid #eb8205;
|
|
|
|
}
|
2019-03-14 10:14:11 +00:00
|
|
|
.seafile-editor-outline .outline-h2, .seafile-editor-outline .outline-h3 {
|
2019-03-14 02:15:25 +00:00
|
|
|
height: 30px;
|
|
|
|
margin-left: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2019-03-14 10:14:11 +00:00
|
|
|
.seafile-editor-outline .outline-h2 {
|
2019-03-14 02:15:25 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
}
|
2019-03-14 10:14:11 +00:00
|
|
|
.seafile-editor-outline .outline-h3 {
|
2019-03-14 02:15:25 +00:00
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
/* side-panel */
|
|
|
|
.seafile-md-viewer-side-panel {
|
|
|
|
height: 100%;
|
|
|
|
overflow:hidden;
|
|
|
|
user-select: none;
|
2019-03-14 10:14:11 +00:00
|
|
|
width: 30%;
|
2019-03-14 02:15:25 +00:00
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel .seafile-editor-outline {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel:hover {
|
2019-03-14 10:14:11 +00:00
|
|
|
overflow: auto;
|
2019-03-14 02:15:25 +00:00
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel-heading {
|
|
|
|
padding:7px 0;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
color: #a0a0a0;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel-content {
|
|
|
|
padding:8px 0;
|
|
|
|
font-size: 0.875rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.seafile-md-viewer-side-panel {
|
|
|
|
border-left: 1px solid #e6e6dd;
|
|
|
|
background-color: #fff;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel .tab-content {
|
|
|
|
height: calc(100% - 39px);
|
2019-03-14 10:14:11 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel .tab-content .outline {
|
|
|
|
padding: 20px;
|
2019-03-14 02:15:25 +00:00
|
|
|
}
|
|
|
|
.seafile-md-viewer-side-panel .md-side-panel-nav {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.md-side-panel-nav .nav-item {
|
|
|
|
width: 33.3%;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
.md-side-panel-nav .nav-item .nav-link {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.md-side-panel-nav .nav-item i {
|
|
|
|
padding: 0 8px;
|
|
|
|
font-size: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
}
|
|
|
|
.comments-number {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
background-color: #fd9644;
|
|
|
|
position: absolute;
|
|
|
|
top: 10%;
|
|
|
|
right: 30%;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.seafile-viewer-comment-btn {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 5000px;
|
|
|
|
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
|
|
border-radius: 3px;
|
|
|
|
background-color: #fff;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
.seafile-viewer-comment-btn:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
2019-03-14 10:14:11 +00:00
|
|
|
|
2019-03-14 02:15:25 +00:00
|
|
|
@media (max-width:991.8px) {
|
|
|
|
.seafile-md-viewer-side-panel {
|
|
|
|
display:none;
|
|
|
|
}
|
2019-03-14 10:14:11 +00:00
|
|
|
.seafile-editor-outline {
|
2019-03-14 02:15:25 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.seafile-md-viewer-slate {
|
|
|
|
width: calc(100% - 80px);
|
|
|
|
margin: 20px 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width:992px) {
|
|
|
|
.seafile-md-viewer-side-panel {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
}
|