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

147 lines
3.4 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-10-23 13:13:44 +08:00
padding: 0 1em;
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-11-28 12:43:53 +08:00
padding-top: 30px;
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 {
2018-11-23 10:19:36 +08:00
overflow-y: hidden;
2018-10-23 13:13:44 +08:00
padding: 15px 10px;
}
.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;
}
.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 {
2018-11-28 12:43:53 +08:00
margin: 10px 0 0 42px;
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-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;
padding: 10px;
border-top: 1px solid #e5e5e5;
2018-11-28 12:43:53 +08:00
min-height: 170px;
2018-10-25 10:39:16 +08:00
position: absolute;
bottom: 0;
padding-top: 0;
width: 100%;
}
.seafile-comment-footer .user-header {
margin-top: 10px;
2018-10-31 10:10:20 +08:00
position: absolute;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-footer .seafile-add-comment {
2018-10-31 10:10:20 +08:00
margin: 10px 10px 5px 40px;
2018-10-25 10:39:16 +08:00
height: 100%;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-footer .seafile-add-comment .add-comment-input {
box-sizing: border-box;
background-color: #fff;
border: 1px solid #e6e6dd;
padding: 5px;
2018-11-28 12:43:53 +08:00
height: calc(100% - 100px);
min-height: 70px;
2018-10-25 10:39:16 +08:00
width: 100%;
2018-11-12 09:28:02 +08:00
resize: none;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-footer .seafile-add-comment .submit-comment {
height: 28px;
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;
}
2018-10-23 13:13:44 +08:00
}