1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 07:44:50 +00:00
Files
seahub/frontend/src/css/shared-file-view.css

91 lines
1.5 KiB
CSS
Raw Normal View History

2019-01-04 18:30:03 +08:00
#wrapper {
height: 100%;
}
.shared-file-view-md {
height: 100%;
overflow-y: hidden;
}
.shared-file-view-md-header {
background: #f5f5f5;
2019-01-04 18:30:03 +08:00
height: 53px;
border-bottom: 1px solid #eee;
2019-01-04 18:30:03 +08:00
padding: 8px 16px 4px;
justify-content: space-between;
}
.shared-file-view-md-main {
height: calc(100% - 53px);
}
.shared-file-view-head {
width: 100%;
2019-01-05 10:52:30 +08:00
height: 60px;
padding: 0 1rem;
background: #fff;
margin: 0 auto;
2019-01-05 10:52:30 +08:00
display: flex;
align-items: center;
2019-01-05 10:52:30 +08:00
justify-content: space-between;
2019-01-04 18:30:03 +08:00
}
.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 {
2019-01-05 10:52:30 +08:00
height: calc(100% - 60px);
2019-01-04 18:30:03 +08:00
padding: 30px 0 15px;
background: #f5f5f5;
2019-01-04 18:30:03 +08:00
border: 1px solid #ededed;
overflow: auto;
}
2023-12-07 15:14:34 +08:00
.shared-file-view-body.md-view {
padding: 0;
display: flex;
min-height: 0;
}
2023-12-07 15:14:34 +08:00
.shared-file-view-body .sf-slate-viewer-outline {
top: 145px !important;
}
2019-01-04 18:30:03 +08:00
.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: #EFEFEF;
border-radius: 3px;
}
2019-01-04 18:30:03 +08:00
@media (max-width: 991.98px) {
.shared-file-view-head {
width: 100%;
padding: 10px 20px;
}
}