1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-23 13:48:20 +00:00
seahub/frontend/src/css/shared-file-view.css

80 lines
1.3 KiB
CSS
Raw Normal View History

2019-01-04 10:30:03 +00:00
#wrapper {
height: 100%;
}
.shared-file-view-md {
height: 100%;
overflow-y: hidden;
}
.shared-file-view-md-header {
background: #f4f4f7;
height: 53px;
border-bottom: 1px solid #e8e8e8;
padding: 8px 16px 4px;
justify-content: space-between;
}
.shared-file-view-md-main {
height: calc(100% - 53px);
}
.shared-file-view-head {
width: 950px;
margin: 0 auto;
2019-01-05 02:52:30 +00:00
height: 60px;
display: flex;
align-items:center;
justify-content: space-between;
2019-01-04 10:30:03 +00:00
}
.shared-file-view-head a {
color: #fff;
}
.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-head .shared-file-op-btn {
padding: 7px;
}
.shared-file-view-body {
2019-01-05 02:52:30 +00:00
height: calc(100% - 60px);
2019-01-04 10:30:03 +00:00
padding: 30px 0 15px;
background: #f4f4f4;
border: 1px solid #ededed;
overflow: auto;
}
.shared-file-view-body .md-view {
min-height: 400px;
border: 1px solid #ccc;
margin: 0 auto;
box-shadow: 0 0 6px #ccc;
2019-01-07 04:38:33 +00:00
width: 950px;
2019-01-04 10:30:03 +00:00
background: #fff;
overflow: auto;
}
@media (max-width: 991.98px) {
.shared-file-view-head {
width: 100%;
padding: 10px 20px;
}
2019-01-07 04:38:33 +00:00
.shared-file-view-body .md-view {
width: 95%;
}
.shared-file-view-body .md-view .article {
padding: 40px;
}
2019-01-04 10:30:03 +00:00
}