1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 07:22:34 +00:00
Files
seahub/frontend/src/css/review-comments.css

142 lines
3.4 KiB
CSS
Raw Normal View History

2018-10-23 13:13:44 +08:00
.seafile-comment {
border-left: 1px solid #e6e6dd;
background-color: #fff;
display: flex;
flex-direction: column;
flex: 0 0 auto;
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;
line-height: 3em;
padding: 0 1em;
display: flex;
flex-direction: row;
2018-10-25 10:39:16 +08:00
position: absolute;
z-index: 1;
width: 100%;
2018-10-23 13:13:44 +08:00
background-color: #fafaf9;
}
.seafile-comment-title .seafile-comment-title-text {
width: 100%;
text-align: center;
font-weight: 700;
}
.seafile-comment-title .seafile-comment-title-close {
color: #b9b9b9;
}
.seafile-comment-title .seafile-comment-title-close:hover {
color: #888;
}
.seafile-comment-list {
2018-10-25 10:39:16 +08:00
padding-top: 50px;
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 {
overflow-y: auto;
padding: 15px 10px;
overflow-y: hidden;
}
.seafile-comment-item .seafile-comment-info {
display: flex;
}
.seafile-comment-item .seafile-comment-info .reviewer-info {
padding-left: 10px;
}
.seafile-comment-item .seafile-comment-info .review-time {
font-size: .6em;
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%;
}
.seafile-comment-item .seafile-comment-info.seafile-comment-dropdown .seafile-comment-dropdown-btn {
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-left: 42px;
}
.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;
display: flex;
justify-content: flex-start;
2018-10-25 10:39:16 +08:00
position: relative;
min-height: 140px;
position: absolute;
bottom: 0;
padding-top: 0;
width: 100%;
}
.seafile-comment-footer .user-header {
margin-top: 10px;
2018-10-23 13:13:44 +08:00
}
.seafile-comment-footer .seafile-add-comment {
2018-10-25 10:39:16 +08:00
margin: 10px 10px 5px 10px;
height: 100%;
width: 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-10-25 10:39:16 +08:00
height: calc(100% - 38px);
2018-10-23 13:13:44 +08:00
min-height: 90px;
2018-10-25 10:39:16 +08:00
width: 100%;
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
}