mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
* fix light mode ui * revert sdoc, markdown ui * update seafile-ui.css, fix icon bg color --------- Co-authored-by: zhouwenxuan <aries@Mac.local>
91 lines
1.6 KiB
CSS
91 lines
1.6 KiB
CSS
#wrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
.shared-file-view-md {
|
|
height: 100%;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.shared-file-view-md-header {
|
|
background: #f5f5f5;
|
|
height: 53px;
|
|
border-bottom: 1px solid var(--bs-border-color);
|
|
padding: 8px 16px 4px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.shared-file-view-md-main {
|
|
height: calc(100% - 53px);
|
|
}
|
|
|
|
.shared-file-view-head {
|
|
width: 100%;
|
|
height: 60px;
|
|
padding: 0 1rem;
|
|
background: var(--bs-body-bg);
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.shared-file-view-head h2 {
|
|
color: #222;
|
|
font-size: 1.4em;
|
|
margin-bottom: 0px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.shared-file-view-head .share-by {
|
|
margin: 0;
|
|
}
|
|
|
|
.shared-file-view-body {
|
|
height: calc(100% - 60px);
|
|
padding: 30px 0 15px;
|
|
background: var(--bs-body-tertiary-bg);
|
|
border: 1px solid var(--bs-border-color);
|
|
overflow: auto;
|
|
}
|
|
|
|
.shared-file-view-body.md-view {
|
|
padding: 0;
|
|
display: flex;
|
|
min-height: 0;
|
|
}
|
|
|
|
.shared-file-view-body .sf-slate-viewer-outline {
|
|
top: 145px !important;
|
|
}
|
|
|
|
.shared-file-view-head .file-toolbar-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0 4px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.shared-file-view-head .file-toolbar-btn .sdocfont {
|
|
color: #666;
|
|
}
|
|
|
|
.shared-file-view-head .file-toolbar-btn .seafile-multicolor-icon {
|
|
fill: #666;
|
|
}
|
|
|
|
.shared-file-view-head .file-toolbar-btn:hover {
|
|
background-color: var(--bs-hover-bg);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.shared-file-view-head {
|
|
width: 100%;
|
|
padding: 10px 20px;
|
|
}
|
|
}
|