1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00
Files
seahub/frontend/src/css/review-comments.css

167 lines
3.8 KiB
CSS
Raw Normal View History

2018-10-23 13:13:44 +08:00
.seafile-comment {
background-color: #fff;
display: flex;
flex-direction: column;
flex: 0 0 auto;
2018-11-28 12:43:53 +08:00
height: 100%;
2018-10-25 10:39:16 +08:00
}
.seafile-comment-resizing {
user-select: none;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-title {
border-bottom: 1px solid #e5e5e5;
2018-11-28 12:43:53 +08:00
line-height: 2em;
2018-12-06 13:58:32 +08:00
padding: 2px 1em;
2018-10-23 13:13:44 +08:00
display: flex;
2018-10-25 10:39:16 +08:00
position: absolute;
z-index: 1;
width: 100%;
2018-11-28 12:43:53 +08:00
background-color: #fff;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-title .seafile-comment-title-text {
width: 100%;
}
.seafile-comment-title .seafile-comment-title-toggle {
display: flex;
}
2018-10-23 13:13:44 +08:00
.seafile-comment-list {
2018-12-06 13:58:32 +08:00
padding-top: 35px;
2018-10-25 10:39:16 +08:00
box-sizing: border-box;
height: 100%;
2018-10-23 13:13:44 +08:00
overflow-y: auto;
}
.seafile-comment .loading-icon {
margin-top: 20px;
}
.seafile-comment-list .comment-vacant {
2018-10-25 10:39:16 +08:00
padding: 15px;
2018-10-23 13:13:44 +08:00
text-align: center;
}
.seafile-comment-item {
2019-03-05 10:02:28 +08:00
padding: 15px 10px;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-item-resolved {
background-color: #e6ffed;
}
2018-10-23 13:13:44 +08:00
.seafile-comment-item .seafile-comment-info {
display: flex;
}
.seafile-comment-item .seafile-comment-info .reviewer-info {
padding-left: 10px;
2018-11-28 12:43:53 +08:00
height: 2rem;
display: block;
max-width: 75%;
2018-11-28 12:43:53 +08:00
}
.seafile-comment-item .seafile-comment-info .reviewer-name {
font-size: 1rem;
height: 1rem;
line-height: 1rem;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-item .seafile-comment-info .review-time {
2018-11-28 12:43:53 +08:00
margin-top: 2px;
font-size: .6rem;
2018-10-23 13:13:44 +08:00
color: #777;
}
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown {
margin-left: auto;
}
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown button,
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown button:hover,
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown button:focus
{
border: none;
box-shadow: none;
background-color: #fff;
height: 100%;
}
2018-11-12 09:28:02 +08:00
.seafile-comment-dropdown button:hover i {
color: #555;
}
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown .seafile-comment-dropdown-btn {
2018-10-23 13:13:44 +08:00
color: #999;
}
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown:hover .seafile-comment-dropdown-btn {
color: #555;
}
.seafile-comment-item .seafile-comment-content {
margin: 10px 0 0 40px;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-item .seafile-comment-content ol,
.seafile-comment-item .seafile-comment-content ul,
.seafile-comment-item .seafile-comment-content li {
margin-left: 10px;
}
.seafile-comment-item .seafile-comment-content table,
.seafile-comment-item .seafile-comment-content th,
.seafile-comment-item .seafile-comment-content td {
border: 1px solid #333;
}
2018-12-08 12:13:02 +08:00
.seafile-comment-item blockquote {
2018-12-06 17:56:31 +08:00
word-wrap: break-word;
overflow: hidden;
2019-01-22 13:54:08 +08:00
padding-left: 1rem;
2018-12-08 12:13:02 +08:00
cursor: pointer;
2018-12-06 17:56:31 +08:00
}
2018-10-25 10:39:16 +08:00
.seafile-comment-row-resize {
height: 5px;
width: 100%;
background-color: transparent;
position: absolute;
left: 0;
top: 0;
cursor: row-resize;
z-index: 1;
}
2018-10-23 13:13:44 +08:00
.seafile-comment-footer {
background-color: #fafaf9;
border-top: 1px solid #e5e5e5;
min-height: 120px;
2018-10-25 10:39:16 +08:00
position: absolute;
bottom: 0;
padding-top: 0;
width: 100%;
}
2018-10-23 13:13:44 +08:00
.seafile-comment-footer .seafile-add-comment {
2019-01-22 13:54:08 +08:00
margin: 10px 20px 5px 15px;
2018-10-25 10:39:16 +08:00
height: 100%;
2018-10-23 13:13:44 +08:00
}
.seafile-add-comment .add-comment-input,
.seafile-edit-comment .edit-comment-input {
2018-10-23 13:13:44 +08:00
box-sizing: border-box;
background-color: #fff;
border: 1px solid #e6e6dd;
padding: 5px;
height: calc(100% - 50px);
2018-11-28 12:43:53 +08:00
min-height: 70px;
2018-10-25 10:39:16 +08:00
width: 100%;
2018-11-12 09:28:02 +08:00
resize: none;
border-radius: 5px;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-footer .seafile-add-comment .comment-btn,
.seafile-edit-comment .comment-btn {
2018-10-23 13:13:44 +08:00
height: 28px;
2019-06-25 15:23:14 +08:00
width: 60px;
2018-10-25 10:39:16 +08:00
}
.seafile-edit-comment {
margin-top: 10px;
}
2018-10-25 10:39:16 +08:00
@media (max-width: 992px) {
.seafile-comment-footer {
min-height: 80px;
}
.seafile-comment-footer .seafile-add-comment .add-comment-input {
min-height: 30px;
}
2019-01-23 11:24:14 +08:00
.seafile-comment-list .comment-vacant {
padding: 10px;
}
.seafile-comment {
font-size: 12px;
}
.seafile-comment-footer .seafile-add-comment .comment-btn {
2019-01-23 11:24:14 +08:00
height: 24px;
}
.seafile-comment-footer {
min-height: 120px;
}
2018-10-23 13:13:44 +08:00
}