2018-10-23 13:13:44 +08:00
|
|
|
.header .button-group {
|
|
|
|
display: flex;
|
2018-11-28 12:43:53 +08:00
|
|
|
align-items: center;
|
2018-10-23 13:13:44 +08:00
|
|
|
}
|
|
|
|
|
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 .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;
|
|
|
|
}
|
2018-11-19 16:18:11 +08:00
|
|
|
|
|
|
|
.file-info .view-file-link,
|
2018-10-30 11:07:01 +08:00
|
|
|
.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
|
|
|
}
|
2018-11-19 16:18:11 +08:00
|
|
|
|
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;
|
|
|
|
}
|
2018-11-27 10:41:27 +08:00
|
|
|
.review-side-panel-item {
|
2018-11-07 11:03:26 +08:00
|
|
|
border-bottom: 1px solid #e6e6dd;
|
|
|
|
padding: 1em 0;
|
|
|
|
}
|
2018-11-27 10:41:27 +08:00
|
|
|
.reviewer-info, .author-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-11-12 09:28:02 +08:00
|
|
|
}
|
2018-11-27 10:41:27 +08:00
|
|
|
.review-side-panel-header {
|
2018-11-07 11:03:26 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-11-27 10:41:27 +08:00
|
|
|
margin-bottom: 2px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #666;
|
|
|
|
font-size: 0.8125rem;
|
2018-11-07 11:03:26 +08:00
|
|
|
}
|
2018-11-27 10:41:27 +08:00
|
|
|
.review-side-panel-item i {
|
2018-11-07 11:03:26 +08:00
|
|
|
color: #c8c8c8;
|
2018-11-27 10:41:27 +08:00
|
|
|
margin: 5px 5px 0 0;
|
2018-11-07 11:03:26 +08:00
|
|
|
}
|
2018-11-27 10:41:27 +08:00
|
|
|
.review-side-panel-item i:hover {
|
2018-11-07 11:03:26 +08:00
|
|
|
cursor: pointer;
|
|
|
|
color: #a4a4a4;
|
|
|
|
}
|
2018-11-27 10:41:27 +08:00
|
|
|
.review-side-panel-avatar {
|
2018-11-07 11:03:26 +08:00
|
|
|
margin-right: 10px;
|
2018-11-27 10:41:27 +08:00
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
2018-11-07 11:03:26 +08:00
|
|
|
}
|
|
|
|
.reviewer-name, .author-name {
|
|
|
|
height: 2rem;
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
|
|
|
|
2018-11-23 10:19:36 +08:00
|
|
|
.markdown-viewer-render-content {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-comment-btn {
|
|
|
|
position: absolute;
|
2018-11-28 17:03:44 +08:00
|
|
|
top: -1000px;
|
|
|
|
right: 0;
|
2018-11-23 10:19:36 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
.review-comment-btn:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
2018-11-28 12:43:53 +08:00
|
|
|
.comments-number {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
background-color: #feac74;
|
|
|
|
position: absolute;
|
|
|
|
top: 10%;
|
|
|
|
right: 30%;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2018-11-26 14:01:28 +08:00
|
|
|
.review-side-panel-nav {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.review-side-panel-nav .nav-item {
|
2018-11-28 12:43:53 +08:00
|
|
|
width: 33.3%;
|
2018-11-26 14:01:28 +08:00
|
|
|
}
|
|
|
|
.review-side-panel-nav .nav-item a {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.review-side-panel-nav .nav-item i {
|
|
|
|
padding: 0 8px;
|
2018-11-28 12:43:53 +08:00
|
|
|
font-size: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
}
|
|
|
|
.review-side-panel .tab-content {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.review-side-panel .tab-content .comments {
|
|
|
|
height: 100%;
|
2018-11-26 14:01:28 +08:00
|
|
|
}
|
2018-11-23 10:19:36 +08:00
|
|
|
|
2018-10-25 10:39:16 +08:00
|
|
|
@media (max-width: 992px) {
|
|
|
|
.main .cur-view-right-part {
|
|
|
|
width: 80% !important;
|
|
|
|
}
|
|
|
|
}
|