1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 11:27:18 +00:00
Files
seahub/frontend/src/css/draft-review.css

124 lines
2.2 KiB
CSS
Raw Normal View History

2018-10-23 13:13:44 +08:00
.header .button-group {
display: flex;
}
2018-11-05 10:33:33 +08:00
.header .common-list-btn, .header .add-reviewer-btn {
2018-10-23 13:13:44 +08:00
margin-right: .25em;
}
.header .common-list-btn .common-list-btn-number {
margin-left: .5em;
}
.main .cur-view-container {
width: 100%;
height: 100%;
display: flex;
2018-10-25 10:39:16 +08:00
flex-flow: row nowrap;
justify-content: space-between;
2018-10-23 13:13:44 +08:00
box-sizing: border-box;
background-color: #fafaf9;
}
.main .cur-view-container .cur-view-content {
flex: auto;
2018-11-08 15:53:20 +08:00
height: 100%;
2018-10-23 13:13:44 +08:00
}
.main .cur-view-container .cur-view-content-commenton {
overflow: auto;
2018-10-25 10:39:16 +08:00
width: 70%;
height: 100%;
2018-10-23 13:13:44 +08:00
}
.main .cur-view-container .seafile-comment {
2018-10-25 10:39:16 +08:00
height: 100%;
position: relative;
width: calc(100% - 5px);
}
.main .cur-view-right-part {
height: 100%;
width: 35%;
position: relative;
}
.seafile-comment-resize {
width: 5px;
height: 100%;
background-color: transparent;
2018-10-23 13:13:44 +08:00
position: absolute;
2018-10-25 10:39:16 +08:00
left: 0;
top: 0;
cursor: col-resize;
z-index: 1;
}
2018-10-30 11:07:01 +08:00
.cur-file-info .file-info {
display: block;
padding-top: 10px;
}
.file-info .draft-link {
font-size: .6em;
color: #1e1e1e;
text-decoration: underline;
display: block;
2018-10-30 14:20:02 +08:00
font-weight: normal;
2018-10-30 11:07:01 +08:00
}
.seafile-toggle-diff {
display: flex;
margin-right: 10px;
}
2018-11-07 11:03:26 +08:00
.review-side-panel {
border-left: 1px solid #e6e6dd;
background-color: #fff;
height: 100%;
}
.review-side-panel-head {
border-bottom: 1px solid #e5e5e5;
line-height: 3em;
background-color: #fafaf9;
text-align: center;
font-weight: 700;
}
.review-side-panel-body {
padding: 1rem 2rem;
}
.review-side-panel-reviewers, .review-side-panel-author {
border-bottom: 1px solid #e6e6dd;
padding: 1em 0;
}
.reviewers-header, .author-header {
display: flex;
justify-content: space-between;
2018-11-08 15:53:20 +08:00
margin-bottom: 0.8125rem;
2018-11-07 11:03:26 +08:00
}
.reviewers-header i {
color: #c8c8c8;
}
.reviewers-header i:hover {
cursor: pointer;
color: #a4a4a4;
}
.review-side-panel-header {
font-weight: bold;
2018-11-08 15:53:20 +08:00
color: #666;
font-size: 0.8125rem;
2018-11-07 11:03:26 +08:00
}
.reviewer-avatar, .author-avatar {
margin-right: 10px;
}
.reviewer-name, .author-name {
height: 2rem;
line-height: 2rem;
}
2018-10-25 10:39:16 +08:00
@media (max-width: 992px) {
.main .cur-view-container .cur-view-content-commenton {
width: 20% !important;
}
.main .cur-view-right-part {
width: 80% !important;
}
}